Class: Adhearsion::Configuration::DatabaseConfiguration
- Inherits:
-
AbstractConfiguration
- Object
- AbstractConfiguration
- Adhearsion::Configuration::DatabaseConfiguration
- Defined in:
- lib/adhearsion/initializer/configuration.rb
Instance Attribute Summary collapse
-
#connection_options ⇒ Object
Returns the value of attribute connection_options.
-
#orm ⇒ Object
Returns the value of attribute orm.
Instance Method Summary collapse
-
#initialize(options) ⇒ DatabaseConfiguration
constructor
A new instance of DatabaseConfiguration.
Methods included from ConfigurationEntryPoint
Constructor Details
#initialize(options) ⇒ DatabaseConfiguration
Returns a new instance of DatabaseConfiguration.
210 211 212 213 |
# File 'lib/adhearsion/initializer/configuration.rb', line 210 def initialize() @orm = .delete(:orm) || :active_record # TODO: ORM is a misnomer @connection_options = end |
Instance Attribute Details
#connection_options ⇒ Object
Returns the value of attribute connection_options.
209 210 211 |
# File 'lib/adhearsion/initializer/configuration.rb', line 209 def @connection_options end |
#orm ⇒ Object
Returns the value of attribute orm.
209 210 211 |
# File 'lib/adhearsion/initializer/configuration.rb', line 209 def orm @orm end |