Module: Notificon::MongoStore::ClassMethods

Defined in:
lib/notificon/mongo_store.rb

Instance Method Summary collapse

Instance Method Details

#collection_nameObject



42
43
44
# File 'lib/notificon/mongo_store.rb', line 42

def collection_name
  @_collection_name
end

#indexesObject



48
49
50
# File 'lib/notificon/mongo_store.rb', line 48

def indexes
  @_indexes || []
end

#set_collection_name(name) ⇒ Object



39
40
41
# File 'lib/notificon/mongo_store.rb', line 39

def set_collection_name(name)
  @_collection_name = name
end

#set_indexes(indexes) ⇒ Object



45
46
47
# File 'lib/notificon/mongo_store.rb', line 45

def set_indexes(indexes)
  @_indexes = indexes
end