Class: HammerCLIKatello::LifecycleEnvironmentCommand::PathsCommand

Inherits:
HammerCLIKatello::ListCommand show all
Defined in:
lib/hammer_cli_katello/lifecycle_environment.rb

Instance Method Summary collapse

Methods inherited from HammerCLIKatello::ListCommand

build_options

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(data) ⇒ Object



50
51
52
53
# File 'lib/hammer_cli_katello/lifecycle_environment.rb', line 50

def extend_data(data)
  data["_pretty_path"] = data["environments"].map { |env| env["name"] }.join(" >> ")
  data
end