Class: HammerCLIForeman::Image::ListCommand

Inherits:
ListCommand
  • Object
show all
Includes:
ComputeResourceOptions
Defined in:
lib/hammer_cli_foreman/image.rb

Constant Summary

Constants inherited from ListCommand

ListCommand::DEFAULT_PER_PAGE

Instance Method Summary collapse

Methods included from ComputeResourceOptions

included

Methods inherited from ListCommand

#adapter, command_name, #execute, #extend_data, #retrieve_data

Instance Method Details

#request_paramsObject



39
40
41
42
43
# File 'lib/hammer_cli_foreman/image.rb', line 39

def request_params
  params = super
  params['compute_resource_id'] = option_compute_resource_id || option_compute_resource
  params
end