Sha256: 276cf3981ccfae88eeb8565a4a45224f47c655ea7b0706875bd0ed3efebe9200

Contents?: true

Size: 474 Bytes

Versions: 6

Compression:

Stored size: 474 Bytes

Contents

module Actions
  module Pulp3
    module Repository
      class DeletePublisher < Pulp3::AbstractAsyncTask
        def plan(repository_id, smart_proxy)
          plan_self(:repository_id => repository_id, :smart_proxy_id => smart_proxy.id)
        end

        def invoke_external_task
          repo = ::Katello::Repository.find(input[:repository_id])
          output[:response] = repo.backend_service(smart_proxy).delete_publisher
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katello-3.12.3 app/lib/actions/pulp3/repository/delete_publisher.rb
katello-3.12.2 app/lib/actions/pulp3/repository/delete_publisher.rb
katello-3.12.1 app/lib/actions/pulp3/repository/delete_publisher.rb
katello-3.12.0 app/lib/actions/pulp3/repository/delete_publisher.rb
katello-3.12.0.rc2 app/lib/actions/pulp3/repository/delete_publisher.rb
katello-3.12.0.rc1 app/lib/actions/pulp3/repository/delete_publisher.rb