Sha256: b738237a4aad1ca6df67e9c7d511f57862bbb8d7065163c4f17257606688c57a

Contents?: true

Size: 409 Bytes

Versions: 61

Compression:

Stored size: 409 Bytes

Contents

module Actions
  module Pulp
    module Repository
      class DeleteDistributor < Pulp::Abstract
        input_format do
          param :repo_id
          param :distributor_id
          param :capsule_id
        end

        def run
          output[:response] = pulp_resources.repository.
            delete_distributor(*input.values_at(:repo_id, :distributor_id))
        end
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
katello-3.0.0.rc2 app/lib/actions/pulp/repository/delete_distributor.rb