Class: MongoLight::Configuration
- Inherits:
-
Object
- Object
- MongoLight::Configuration
- Defined in:
- lib/mongo_light/configuration.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
-
#database ⇒ Object
Returns the value of attribute database.
-
#skip_replica_concern ⇒ Object
Returns the value of attribute skip_replica_concern.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/mongo_light/configuration.rb', line 5 def initialize @skip_replica_concern = false end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
3 4 5 |
# File 'lib/mongo_light/configuration.rb', line 3 def connection @connection end |
#database ⇒ Object
Returns the value of attribute database.
3 4 5 |
# File 'lib/mongo_light/configuration.rb', line 3 def database @database end |
#skip_replica_concern ⇒ Object
Returns the value of attribute skip_replica_concern.
3 4 5 |
# File 'lib/mongo_light/configuration.rb', line 3 def skip_replica_concern @skip_replica_concern end |