Class: Euston::EventStore::Persistence::Mongodb::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/euston-eventstore/persistence/mongodb/mongo_config.rb

Instance Attribute Summary collapse

Instance Attribute Details

#databaseObject

Returns the value of attribute database.



15
16
17
# File 'lib/euston-eventstore/persistence/mongodb/mongo_config.rb', line 15

def database
  @database
end

#loggerObject

Returns the value of attribute logger.



15
16
17
# File 'lib/euston-eventstore/persistence/mongodb/mongo_config.rb', line 15

def logger
  @logger
end

#uriObject



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