Class: HammerCLIKatello::HostSubscription::RemoveSubscriptions

Inherits:
SingleResourceCommand
  • Object
show all
Defined in:
lib/hammer_cli_katello/host_subscription.rb

Instance Method Summary collapse

Methods included from ResolverCommons

included

Instance Method Details

#request_paramsObject



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