Sha256: 6d61f754a95bc7ab4bf1e2ad8e24d7ea3f344396e8ad9866f65444c612ea00a0
Contents?: true
Size: 614 Bytes
Versions: 53
Compression:
Stored size: 614 Bytes
Contents
module Actions module Candlepin module Consumer class RemoveSubscription < Candlepin::Abstract middleware.use Actions::Middleware::KeepCurrentUser 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 if pool end end end end end
Version data entries
53 entries across 53 versions & 1 rubygems