Class: Actions::Katello::UpstreamSubscriptions::BindEntitlement
- Inherits:
-
Base
- Object
- Base
- Actions::Katello::UpstreamSubscriptions::BindEntitlement
- Defined in:
- app/lib/actions/katello/upstream_subscriptions/bind_entitlement.rb
Instance Method Summary collapse
Instance Method Details
#humanized_name ⇒ Object
10 11 12 |
# File 'app/lib/actions/katello/upstream_subscriptions/bind_entitlement.rb', line 10 def humanized_name N_("Bind an entitlement to an allocation") end |
#rescue_strategy ⇒ Object
14 15 16 |
# File 'app/lib/actions/katello/upstream_subscriptions/bind_entitlement.rb', line 14 def rescue_strategy Dynflow::Action::Rescue::Skip end |
#run ⇒ Object
5 6 7 8 |
# File 'app/lib/actions/katello/upstream_subscriptions/bind_entitlement.rb', line 5 def run output[:response] = ::Katello::Resources::Candlepin::UpstreamConsumer .bind_entitlement(pool) end |