Sha256: 2a6950861ed3d7ba9d98baf09d666be0227a3abce99b8839c03c2f7399be5dac
Contents?: true
Size: 502 Bytes
Versions: 8
Compression:
Stored size: 502 Bytes
Contents
require 'singleton' module Euston module EventStore module Persistence module Mongodb class Config include ::Singleton def host @host ||= 'localhost' end def port @port ||= 27017 end def options @options ||= { :safe => { :fsync => true }} end attr_writer :host, :port, :options attr_accessor :database, :logger end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems