Class: Euston::EventStore::Persistence::Mongodb::Config
- Inherits:
-
Object
- Object
- Euston::EventStore::Persistence::Mongodb::Config
- Includes:
- Singleton
- Defined in:
- lib/euston-eventstore/persistence/mongodb/mongo_config.rb
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#logger ⇒ Object
Returns the value of attribute logger.
- #uri ⇒ Object
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
15 16 17 |
# File 'lib/euston-eventstore/persistence/mongodb/mongo_config.rb', line 15 def database @database end |
#logger ⇒ Object
Returns the value of attribute logger.
15 16 17 |
# File 'lib/euston-eventstore/persistence/mongodb/mongo_config.rb', line 15 def logger @logger end |
#uri ⇒ Object
10 11 12 |
# File 'lib/euston-eventstore/persistence/mongodb/mongo_config.rb', line 10 def uri @uri ||= 'mongodb://0.0.0.0:27017/?safe=true;fsync=true;w=1;' end |