Class: HammerCLIKatello::HostSubscription::RemoveSubscriptions
- Inherits:
-
SingleResourceCommand
- Object
- HammerCLIForeman::SingleResourceCommand
- SingleResourceCommand
- HammerCLIKatello::HostSubscription::RemoveSubscriptions
- Defined in:
- lib/hammer_cli_katello/host_subscription.rb
Instance Method Summary collapse
Methods included from ResolverCommons
Instance Method Details
#request_params ⇒ Object
86 87 88 89 90 91 92 |
# File 'lib/hammer_cli_katello/host_subscription.rb', line 86 def request_params params = super subs = { :id => option_subscription_id } subs[:quantity] = option_quantity if option_quantity params[:subscriptions] = [subs] params end |