Class: HammerCLIKatello::ContentViewVersion::ListCommand

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

Instance Method Summary collapse

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(version) ⇒ Object



15
16
17
18
# File 'lib/hammer_cli_katello/content_view_version.rb', line 15

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