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



164
165
166
167
168
# File 'lib/hammer_cli_katello/activation_key.rb', line 164

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