Class: Ethikdo::Configuration
- Inherits:
-
Object
- Object
- Ethikdo::Configuration
- Defined in:
- lib/ethikdo/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#environment ⇒ Object
Returns the value of attribute environment.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/ethikdo/configuration.rb', line 6 def initialize @api_key = nil @environment = :production end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/ethikdo/configuration.rb', line 3 def api_key @api_key end |
#environment ⇒ Object
Returns the value of attribute environment.
4 5 6 |
# File 'lib/ethikdo/configuration.rb', line 4 def environment @environment end |