Class: Divert::Configuration
- Inherits:
-
Object
- Object
- Divert::Configuration
- Defined in:
- lib/divert/configuration.rb
Instance Attribute Summary collapse
-
#controller ⇒ Object
Returns the value of attribute controller.
-
#save_to_db ⇒ Object
Returns the value of attribute save_to_db.
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 |
# File 'lib/divert/configuration.rb', line 6 def initialize @save_to_db = true end |
Instance Attribute Details
#controller ⇒ Object
Returns the value of attribute controller.
4 5 6 |
# File 'lib/divert/configuration.rb', line 4 def controller @controller end |
#save_to_db ⇒ Object
Returns the value of attribute save_to_db.
3 4 5 |
# File 'lib/divert/configuration.rb', line 3 def save_to_db @save_to_db end |