Module: Notificon::MongoStore::ClassMethods
- Defined in:
- lib/notificon/mongo_store.rb
Instance Method Summary collapse
- #collection_name ⇒ Object
- #indexes ⇒ Object
- #set_collection_name(name) ⇒ Object
- #set_indexes(indexes) ⇒ Object
Instance Method Details
#collection_name ⇒ Object
42 43 44 |
# File 'lib/notificon/mongo_store.rb', line 42 def collection_name @_collection_name end |
#indexes ⇒ Object
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 |