Module: DummyTestPattern::MongoMapper::Document::ClassMethods

Defined in:
lib/dummy_test_pattern/mongo_mapper.rb

Instance Method Summary collapse

Instance Method Details

#all(hash = {}) ⇒ Object



16
17
18
# File 'lib/dummy_test_pattern/mongo_mapper.rb', line 16

def all(hash={})
  []
end

#key(name, type, hash = {}) ⇒ Object



12
13
14
# File 'lib/dummy_test_pattern/mongo_mapper.rb', line 12

def key(name, type, hash={})
  attr_accessor name
end

#set_collection_name(name) ⇒ Object



20
21
# File 'lib/dummy_test_pattern/mongo_mapper.rb', line 20

def set_collection_name(name)
end