Class: Dinosaurus::Configuration
- Inherits:
-
Object
- Object
- Dinosaurus::Configuration
- Defined in:
- lib/dinosaurus/configuration.rb
Constant Summary collapse
- DEFAULT_LOG_LEVEL =
'info'
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#log_level ⇒ Object
Returns the value of attribute log_level.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_key ⇒ Object
Returns the value of attribute api_key.
14 15 16 |
# File 'lib/dinosaurus/configuration.rb', line 14 def api_key @api_key end |
#log_level ⇒ Object
Returns the value of attribute log_level.
14 15 16 |
# File 'lib/dinosaurus/configuration.rb', line 14 def log_level @log_level end |