Class: HammerCLIForeman::Image::AvailableImagesCommand

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



83
84
85
86
87
# File 'lib/hammer_cli_foreman/image.rb', line 83

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