Class: HammerCLIForeman::Hostgroup::PuppetClassesCommand

Inherits:
ListCommand
  • Object
show all
Defined in:
lib/hammer_cli_foreman/hostgroup.rb

Constant Summary

Constants inherited from ListCommand

ListCommand::DEFAULT_PER_PAGE

Instance Method Summary collapse

Methods inherited from ListCommand

#adapter, command_name, #execute, #extend_data

Instance Method Details

#request_paramsObject



92
93
94
95
96
# File 'lib/hammer_cli_foreman/hostgroup.rb', line 92

def request_params
  params = method_options
  params['hostgroup_id'] = get_identifier[0]
  params
end

#retrieve_dataObject



88
89
90
# File 'lib/hammer_cli_foreman/hostgroup.rb', line 88

def retrieve_data
  HammerCLIForeman::PuppetClass::ListCommand.unhash_classes(super)
end