Class: Unitylock::Server::Main

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/unitylock/server/router.rb

Constant Summary collapse

JSON_FILE =
'unitylock.json'

Instance Method Summary collapse

Instance Method Details

#serviceObject



10
11
12
# File 'lib/unitylock/server/router.rb', line 10

def service
  Service.new(Model.new(JSON_FILE))
end