Class: IsItDoneYet::WebApp

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/is_it_done_yet/web_app.rb

Constant Summary collapse

UNKNOWN_NODE =
{ errors: ['Unknown Node'] }.to_json
ALREADY_EXISTS =
{ errors: ['Node already exists'] }.to_json
UNKNOWN_BUILD =
{ errors: ['Unknown Build'] }.to_json
NO_BUILD_STATE =
{ errors: ['You forgot build state'] }.to_json
TTL_SECONDS =
24 * 60 * 60