Sha256: e429ce1d9529763917e6671039eaf7d358484244fd2902d30013781a890746bb
Contents?: true
Size: 537 Bytes
Versions: 52
Compression:
Stored size: 537 Bytes
Contents
module Actions module Pulp3 module AlternateContentSource class Delete < Pulp3::AbstractAsyncTask def plan(smart_proxy_acs) plan_self(smart_proxy_id: smart_proxy_acs.smart_proxy_id, smart_proxy_acs_id: smart_proxy_acs.id) end def invoke_external_task smart_proxy_acs = ::Katello::SmartProxyAlternateContentSource.find(input[:smart_proxy_acs_id]) output[:response] = smart_proxy_acs.backend_service.delete_alternate_content_source end end end end end
Version data entries
52 entries across 52 versions & 1 rubygems