Sha256: d7cc4208f476a13ba7b0b08461435719daf2293deb514def2f85e82e76825c47

Contents?: true

Size: 500 Bytes

Versions: 24

Compression:

Stored size: 500 Bytes

Contents

module Appfuel
  module Dynamodb
    class Repository < Appfuel::Repository::Base
      class << self
        def container_class_type
          "#{super}.dynamodb"
        end
      end

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

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


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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
appfuel-0.7.0 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.16 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.15 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.14 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.13 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.12 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.11 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.10 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.9 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.8 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.7 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.6 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.5 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.4 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.3 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.6.1 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.5.16 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.5.15 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.5.14 lib/appfuel/storage/dynamodb/repository.rb
appfuel-0.5.13 lib/appfuel/storage/dynamodb/repository.rb