Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Locations service for DarwinEd
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
db
models
spec
tmp
.gitignore
.rspec
.travis.yml
.yardopts
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
environments.rb
service.rb

README.md

Darwined Core Locations

Build Status Dependency Status

Description

This is a web service for storing locations. It exposes a REST interface (with all the CRUD actions) using JSON as its message format.

It's built using Sinatra and ActiveRecord and uses RSpec for its tests.

A location has a name, a code

  • name of the location, like Location A.
  • code of the location, like THE, should be unique across different locations

A JSON representation of a building should be:

{
    "id": 23,
    "name": "Location A",
    "code": "L-A",
    "created_at": "2013-07-11T00:03:11-04:00",
    "updated_at": "2013-07-11T00:03:11-04:00",
}

About

Something went wrong with that request. Please try again.