Class: HammerCLIForeman::Image::ListCommand

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

Instance Method Summary collapse

Methods included from ComputeResourceOptions

included

Methods inherited from ListCommand

#adapter, command_name, #extend_data, #retrieve_data

Instance Method Details

#request_paramsObject



42
43
44
45
46
# File 'lib/hammer_cli_foreman/image.rb', line 42

def request_params
  params = super
  params['compute_resource_id'] = compute_resource_id || compute_resource
  params
end