Class: MiniMongo::Configuration
- Inherits:
-
Object
- Object
- MiniMongo::Configuration
- Defined in:
- lib/mini_mongo/configuration.rb
Instance Attribute Summary collapse
-
#database_url ⇒ Object
Returns the value of attribute database_url.
-
#db_host ⇒ Object
Returns the value of attribute db_host.
-
#db_name ⇒ Object
Returns the value of attribute db_name.
-
#db_password ⇒ Object
Returns the value of attribute db_password.
-
#db_port ⇒ Object
Returns the value of attribute db_port.
-
#db_user ⇒ Object
Returns the value of attribute db_user.
-
#slave_ok ⇒ Object
Returns the value of attribute slave_ok.
Instance Attribute Details
#database_url ⇒ Object
Returns the value of attribute database_url.
21 22 23 |
# File 'lib/mini_mongo/configuration.rb', line 21 def database_url @database_url end |
#db_host ⇒ Object
Returns the value of attribute db_host.
20 21 22 |
# File 'lib/mini_mongo/configuration.rb', line 20 def db_host @db_host end |
#db_name ⇒ Object
Returns the value of attribute db_name.
20 21 22 |
# File 'lib/mini_mongo/configuration.rb', line 20 def db_name @db_name end |
#db_password ⇒ Object
Returns the value of attribute db_password.
20 21 22 |
# File 'lib/mini_mongo/configuration.rb', line 20 def db_password @db_password end |
#db_port ⇒ Object
Returns the value of attribute db_port.
20 21 22 |
# File 'lib/mini_mongo/configuration.rb', line 20 def db_port @db_port end |
#db_user ⇒ Object
Returns the value of attribute db_user.
20 21 22 |
# File 'lib/mini_mongo/configuration.rb', line 20 def db_user @db_user end |
#slave_ok ⇒ Object
Returns the value of attribute slave_ok.
20 21 22 |
# File 'lib/mini_mongo/configuration.rb', line 20 def slave_ok @slave_ok end |