Sha256: b9a2d91ae1828ebf5197d07bb3d2c76a6a8a1ea6234ddce5b4314875525ba2d6

Contents?: true

Size: 471 Bytes

Versions: 3

Compression:

Stored size: 471 Bytes

Contents

module Actions
  module Pulp3
    module AlternateContentSource
      class Delete < Pulp3::AbstractAsyncTask
        def plan(acs, smart_proxy)
          plan_self(:acs_id => acs.id, :smart_proxy_id => smart_proxy.id)
        end

        def invoke_external_task
          acs = ::Katello::AlternateContentSource.find(input[:acs_id])
          output[:response] = acs.backend_service(smart_proxy).delete_alternate_content_source
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-4.5.1 app/lib/actions/pulp3/alternate_content_source/delete.rb
katello-4.5.0 app/lib/actions/pulp3/alternate_content_source/delete.rb
katello-4.5.0.rc2 app/lib/actions/pulp3/alternate_content_source/delete.rb