Class: HammerCLIKatello::SubscriptionCommand::ListCommand

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

Instance Method Summary collapse

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(data) ⇒ Object



27
28
29
30
# File 'lib/hammer_cli_katello/subscription.rb', line 27

def extend_data(data)
  data["format_quantity"] = data["quantity"] == -1 ? _("Unlimited") : data["quantity"]
  data
end