Class: HammerCLIKatello::ActivationKeyCommand::SubscriptionsCommand
- Inherits:
-
ListCommand
- Object
- HammerCLIForeman::ListCommand
- ListCommand
- HammerCLIKatello::ActivationKeyCommand::SubscriptionsCommand
- Defined in:
- lib/hammer_cli_katello/activation_key.rb
Instance Method Summary collapse
Methods inherited from ListCommand
Methods included from ResolverCommons
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 |