Class: EtFakeAcasServer::JsonServer

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/et_fake_acas_server/json_server.rb

Instance Method Summary collapse

Constructor Details

#initializeJsonServer

Returns a new instance of JsonServer.



12
13
14
15
# File 'lib/et_fake_acas_server/json_server.rb', line 12

def initialize(*)
  super
  self.subscription_key = ENV.fetch('ACAS_JSON_SUBSCRIPTION_KEY', 'fakesubscriptionkeyfortesting')
end