Class: HammerCLIKatello::ContentViewPuppetModule::ListCommand

Inherits:
ListCommand
  • Object
show all
Includes:
OrganizationOptions
Defined in:
lib/hammer_cli_katello/content_view_puppet_module.rb

Instance Method Summary collapse

Methods included from OrganizationOptions

included, #org_options

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(mod) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/hammer_cli_katello/content_view_puppet_module.rb', line 17

def extend_data(mod)
  mod['version'] = if mod['uuid']
                     mod['computed_version']
                   else
                     _("Latest(Currently %s)") % mod['computed_version']
                   end
  mod
end