Class: Appfuel::Dynamodb::Repository

Inherits:
Repository::Base show all
Defined in:
lib/appfuel/storage/dynamodb/repository.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Repository::Base

#apply_query_conditions, #build, #build_criteria, #build_default_entity, #build_domains, cache, create_mapper, #create_settings, #criteria?, #execute_query_method, #exists?, #find_entity_builder, #generate_uuid, inherited, #mapper, #query, #query_setup, #timestamp, #url_token

Methods included from Application::AppContainer

#app_container, #feature_name, included, #qualify_container_key

Class Method Details

.container_class_typeObject



5
6
7
# File 'lib/appfuel/storage/dynamodb/repository.rb', line 5

def container_class_type
  "#{super}.dynamodb"
end

Instance Method Details

#storage_class(domain_name) ⇒ Object



10
11
12
# File 'lib/appfuel/storage/dynamodb/repository.rb', line 10

def storage_class(domain_name)
  mapper.storage_class('dynamodb', domain_name)
end

#to_entity(domain_name, storage) ⇒ Object



14
15
16
# File 'lib/appfuel/storage/dynamodb/repository.rb', line 14

def to_entity(domain_name, storage)
  super(domain_name, 'dynamodb', storage)
end

#to_storage(domain, opts = {}) ⇒ Object



19
20
21
# File 'lib/appfuel/storage/dynamodb/repository.rb', line 19

def to_storage(domain, opts = {})
  super(domain, 'dynamodb', opts)
end