Sha256: 8020c505677c37dd254142ab51e68e4b400ebcc8a094b82fc092b74dfb9a4162

Contents?: true

Size: 391 Bytes

Versions: 10

Compression:

Stored size: 391 Bytes

Contents

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

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

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

        def repository_class
          RepositoryAction
        end

      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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