Sha256: 9dccc2f6a35e5f60ca20905f6d906c0c4e262b930fd11d721e0132ef4a90b368
Contents?: true
Size: 446 Bytes
Versions: 3
Compression:
Stored size: 446 Bytes
Contents
module Actions module Pulp3 module AlternateContentSource class Update < 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).update end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems