Class: HammerCLIForeman::Host::PuppetClassesCommand

Inherits:
ListCommand
  • Object
show all
Defined in:
lib/hammer_cli_foreman/host.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



268
269
270
271
272
# File 'lib/hammer_cli_foreman/host.rb', line 268

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

#retrieve_dataObject



264
265
266
# File 'lib/hammer_cli_foreman/host.rb', line 264

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