Sha256: 38b6e40093f576a9971c0f4c19874f2370973b6d1e89bbc2f2ab07ec047f99bb
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 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
4 entries across 4 versions & 1 rubygems