Sha256: 8cb5c8daa78a6419c2d6e7d437e2e128fb46cdd0370abb8297cb456bda1fb0c0
Contents?: true
Size: 599 Bytes
Versions: 8
Compression:
Stored size: 599 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
8 entries across 8 versions & 1 rubygems