Class: Dinosaurus::Configuration

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

Constant Summary collapse

DEFAULT_LOG_LEVEL =
'info'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.


16
17
18
# File 'lib/dinosaurus/configuration.rb', line 16

def initialize
  self.log_level = DEFAULT_LOG_LEVEL
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key


14
15
16
# File 'lib/dinosaurus/configuration.rb', line 14

def api_key
  @api_key
end

#log_levelObject

Returns the value of attribute log_level


14
15
16
# File 'lib/dinosaurus/configuration.rb', line 14

def log_level
  @log_level
end