Sha256: 4894af79e3b389c70de812155df9b91db4efe69505868f4129cdcae1ad554452
Contents?: true
Size: 597 Bytes
Versions: 165
Compression:
Stored size: 597 Bytes
Contents
module Actions module Katello module UpstreamSubscriptions class BindEntitlement < Actions::Base def run output[:response] = ::Katello::Resources::Candlepin::UpstreamConsumer .bind_entitlement(pool) end def humanized_name N_("Bind an entitlement to an allocation") end def rescue_strategy Dynflow::Action::Rescue::Skip end private def pool { pool: input[:pool], quantity: input[:quantity] } end end end end end
Version data entries
165 entries across 165 versions & 1 rubygems