Module: Yogo::Collection::Base::CollectionRepository::InstanceMethods

Included in:
Yogo::Collection::Base
Defined in:
lib/yogo/collection/base/collection_repository.rb

Instance Method Summary collapse

Instance Method Details

#collection_repositoryObject



14
15
16
# File 'lib/yogo/collection/base/collection_repository.rb', line 14

def collection_repository
  ::DataMapper.repository(collection_repository_name)
end

#collection_repository_nameObject



10
11
12
# File 'lib/yogo/collection/base/collection_repository.rb', line 10

def collection_repository_name
  self.class.default_collection_repository_name
end