Class: EtFakeAcasServer::JsonServer
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- EtFakeAcasServer::JsonServer
- Defined in:
- lib/et_fake_acas_server/json_server.rb
Instance Method Summary collapse
-
#initialize ⇒ JsonServer
constructor
A new instance of JsonServer.
Constructor Details
#initialize ⇒ JsonServer
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 |