Sha256: 2d0a143f121f1075ff8207bc378cddb92df4c2ef21868c1115c18e1b5eec5108
Contents?: true
Size: 664 Bytes
Versions: 14
Compression:
Stored size: 664 Bytes
Contents
module Actions module Katello module UpstreamSubscriptions class BindEntitlement < Actions::Base middleware.use Actions::Middleware::KeepCurrentTaxonomies 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
14 entries across 14 versions & 1 rubygems