GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pharos-ei/code-eval: Generate a report using Ruby

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.server
.server
 
 
README.md
README.md
 
 
server
server
 
 

Repository files navigation

Code Evaluation

This goal of this project is to generate a report in CSV (Comma Seperated Value) format.

The end report will look like

Timestamp,Location,Price
2016-01-02T10:00:00-0700,Unit A,23.00
2016-01-02T10:00:00-0700,Unit B,21.00
2016-01-02T11:00:00-0700,Unit A,24.10
2016-01-02T11:00:00-0700,Unit B,13.04

The report should be writen out to ./report.csv and ordered by Timestamp, Location. The final application should be able to generate the report with a single command.

Process

The prices are available at http://localhost:4000/prices?location_id=LOCATION_ID

Before collecting the prices you will need the list of locations. These are obtained at http://localhost:4000/locations

Both services return their data as JSON. The service is a bit unreliable, so be prepared for an intermittent error.

Tools

Use only the Ruby standard library using Ruby 2.1+.

Getting started

  • create your own git branch. submit all commits to this branch, not master.
  • start the server ./server
  • start coding
  • commit as needed

About

Generate a report using Ruby

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.