Module: LondonCab::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/london_cab/config.rb

Constant Summary collapse

ATTRIBUTES =
[
  :endpoint,
  :user_agent,
  :token,
  :logger
].freeze

Instance Method Summary collapse

Instance Method Details

#resetObject



14
15
16
17
18
19
# File 'lib/london_cab/config.rb', line 14

def reset
  self.endpoint   = 'http://65.182.108.16:3467/api/CorporateAPI'
  self.user_agent = "LondonCab/#{LondonCab::VERSION}"
  self.token      = nil
  self.logger     = nil
end