Class: HammerCLIKatello::ActivationKeyCommand::SubscriptionsCommand

Inherits:
ListCommand
  • Object
show all
Defined in:
lib/hammer_cli_katello/activation_key.rb

Instance Method Summary collapse

Methods inherited from ListCommand

build_options

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(data) ⇒ Object



200
201
202
203
204
# File 'lib/hammer_cli_katello/activation_key.rb', line 200

def extend_data(data)
  data["format_consumed"] = _("#{data['consumed']} out of "\
  "#{data['quantity'] == -1 ? 'Unlimited' : data['quantity']}")
  data
end