Periods#show controller method and initial implementation
Add mocha for stubbing
Period model
Periods#show implementation with handling for missing model
Extract period query methods into a class
PeriodsController#create happy path
UniquenessValidator for Period#week
Periods#create implementation for handling unprocessable_entity
Change rake tests tasks to use spec directory
Return record errors within json body for record invalid error
PeriodSerializer for serializing the period
Specify ruby version for rbenv and rvm users
Namespaced the api so that it plays nice with the proxyPath from the client
Default rendering format to json within the routes
Period#week must be present
Happy path for PeriodsController#update
Added additional assertions for PeriodsController#create to ensure that the period is created
Raise 404 for PeriodsController#update if the period id is not found
Raise 422 for PeriodsController#update if the period is not valid
Merge pull request #1 from brilliantfantastic/periods-controller

Periods controller