Class: Swee::Config::DbConfig

Inherits:
BaseConfig show all
Defined in:
lib/swee/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseConfig

#[], #absolutely_app_path

Instance Attribute Details

#adapterObject

Returns the value of attribute adapter.



90
91
92
# File 'lib/swee/config.rb', line 90

def adapter
  @adapter
end

#databaseObject

Returns the value of attribute database.



91
92
93
# File 'lib/swee/config.rb', line 91

def database
  @database
end

#encodingObject

Returns the value of attribute encoding.



95
96
97
# File 'lib/swee/config.rb', line 95

def encoding
  @encoding
end

#hostObject

Returns the value of attribute host.



92
93
94
# File 'lib/swee/config.rb', line 92

def host
  @host
end

#passwordObject

Returns the value of attribute password.



94
95
96
# File 'lib/swee/config.rb', line 94

def password
  @password
end

#poolObject

Returns the value of attribute pool.



96
97
98
# File 'lib/swee/config.rb', line 96

def pool
  @pool
end

#usernameObject

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! options

end