Class: Nomics::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/nomics/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
# File 'lib/nomics/configuration.rb', line 5

def initialize
  @api_key = ENV['NOMICS_API_KEY']
  @wait_time_in_between_calls = nil
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



3
4
5
# File 'lib/nomics/configuration.rb', line 3

def api_key
  @api_key
end

#wait_time_in_between_callsObject

Returns the value of attribute wait_time_in_between_calls.



3
4
5
# File 'lib/nomics/configuration.rb', line 3

def wait_time_in_between_calls
  @wait_time_in_between_calls
end