Class: Swee::Config::DbConfig
- Inherits:
-
BaseConfig
- Object
- BaseConfig
- Swee::Config::DbConfig
- Defined in:
- lib/swee/config.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
-
#database ⇒ Object
Returns the value of attribute database.
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#host ⇒ Object
Returns the value of attribute host.
-
#password ⇒ Object
Returns the value of attribute password.
-
#pool ⇒ Object
Returns the value of attribute pool.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Methods inherited from BaseConfig
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
90 91 92 |
# File 'lib/swee/config.rb', line 90 def adapter @adapter end |
#database ⇒ Object
Returns the value of attribute database.
91 92 93 |
# File 'lib/swee/config.rb', line 91 def database @database end |
#encoding ⇒ Object
Returns the value of attribute encoding.
95 96 97 |
# File 'lib/swee/config.rb', line 95 def encoding @encoding end |
#host ⇒ Object
Returns the value of attribute host.
92 93 94 |
# File 'lib/swee/config.rb', line 92 def host @host end |
#password ⇒ Object
Returns the value of attribute password.
94 95 96 |
# File 'lib/swee/config.rb', line 94 def password @password end |
#pool ⇒ Object
Returns the value of attribute pool.
96 97 98 |
# File 'lib/swee/config.rb', line 96 def pool @pool end |
#username ⇒ Object
Returns the value of attribute username.
93 94 95 |
# File 'lib/swee/config.rb', line 93 def username @username end |
Instance Method Details
#default_config!(options) ⇒ Object
98 99 100 |
# File 'lib/swee/config.rb', line 98 def default_config! end |