Class: Get::Config
- Inherits:
-
Object
- Object
- Get::Config
- Defined in:
- lib/get/configuration.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
-
#environment ⇒ Object
Returns the value of attribute environment.
Instance Method Summary collapse
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
23 24 25 |
# File 'lib/get/configuration.rb', line 23 def adapter @adapter end |
#environment ⇒ Object
Returns the value of attribute environment.
23 24 25 |
# File 'lib/get/configuration.rb', line 23 def environment @environment end |
Instance Method Details
#development_mode=(mode) ⇒ Object
30 31 32 |
# File 'lib/get/configuration.rb', line 30 def development_mode=(mode) Horza.configure { |config| config.development_mode = mode } end |