Class: Divert::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#controllerObject

Returns the value of attribute controller.



4
5
6
# File 'lib/divert/configuration.rb', line 4

def controller
  @controller
end

#save_to_dbObject

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