Class: HammerCLIKatello::ContentViewVersion::ListCommand

Inherits:
ListCommand
  • Object
show all
Includes:
LifecycleEnvironmentNameMapping
Defined in:
lib/hammer_cli_katello/content_view_version.rb

Instance Method Summary collapse

Methods included from LifecycleEnvironmentNameMapping

included

Methods inherited from ListCommand

build_options

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(version) ⇒ Object



20
21
22
23
# File 'lib/hammer_cli_katello/content_view_version.rb', line 20

def extend_data(version)
  version['environments'] = version['environments'].map { |e| e["name"] }
  version
end