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.
186 187 188 189 |
# File 'lib/adhearsion/initializer/configuration.rb', line 186 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.
185 186 187 |
# File 'lib/adhearsion/initializer/configuration.rb', line 185 def @connection_options end |
#orm ⇒ Object
Returns the value of attribute orm.
185 186 187 |
# File 'lib/adhearsion/initializer/configuration.rb', line 185 def orm @orm end |