Class: HammerCLIKatello::Organization::InfoCommand

Inherits:
HammerCLIForeman::Organization::InfoCommand
  • Object
show all
Includes:
ResolverCommons
Defined in:
lib/hammer_cli_katello/organization.rb

Instance Method Summary collapse

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(data) ⇒ Object



36
37
38
39
40
41
42
43
# File 'lib/hammer_cli_katello/organization.rb', line 36

def extend_data(data)
  data["simple_content_access_label"] = if data["simple_content_access"]
                                          _("Enabled")
                                        else
                                          _("Disabled")
                                        end
  data
end