Sha256: 2515f5847413370d70f8356d088b425da81ba9267034554ee07f7d2a7847db39

Contents?: true

Size: 397 Bytes

Versions: 10

Compression:

Stored size: 397 Bytes

Contents

module Arpa
  module Repositories
    module Resources
      class Remover
        include Arpa::Repositories::Base

        def destroy(entity)
          repository_class.destroy(entity.id)
        end

        def mapper_instance
          Arpa::DataMappers::ResourceMapper.instance
        end

        def repository_class
          RepositoryResource
        end

      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arpa-0.2.0 lib/arpa/repositories/resources/remover.rb
arpa-0.1.0 lib/arpa/repositories/resources/remover.rb
arpa-0.0.9 lib/arpa/repositories/resources/remover.rb
arpa-0.0.8 lib/arpa/repositories/resources/remover.rb
arpa-0.0.7 lib/arpa/repositories/resources/remover.rb
arpa-0.0.6 lib/arpa/repositories/resources/remover.rb
arpa-0.0.5 lib/arpa/repositories/resources/remover.rb
arpa-0.0.4 lib/arpa/repositories/resources/remover.rb
arpa-0.0.3 lib/arpa/repositories/resources/remover.rb
arpa-0.0.2 lib/arpa/repositories/resources/remover.rb