Sha256: d5c99251e2fe6f2a7d9e34e141df9f6499e3d2c2d2952aee51aed24397adeb80
Contents?: true
Size: 546 Bytes
Versions: 141
Compression:
Stored size: 546 Bytes
Contents
module Actions module Candlepin module Consumer class RemoveSubscription < Candlepin::Abstract input_format do param :uuid, String param :entitlement_id, String param :pool_id, String end def run ::Katello::Resources::Candlepin::Consumer.remove_entitlement(input[:uuid], input[:entitlement_id]) end def finalize pool = ::Katello::Pool.where(:cp_id => input[:pool_id]).first pool&.import_data end end end end end
Version data entries
141 entries across 141 versions & 1 rubygems