Class: HammerCLIForeman::OperatingSystem::DeleteParameterCommand

Inherits:
Parameter::DeleteCommand show all
Defined in:
lib/hammer_cli_foreman/operating_system.rb

Instance Method Summary collapse

Methods inherited from Parameter::DeleteCommand

command_name, #execute, resource

Instance Method Details

#base_action_paramsObject



163
164
165
166
167
# File 'lib/hammer_cli_foreman/operating_system.rb', line 163

def base_action_params
  {
    "operatingsystem_id" => option_os_id
  }
end

#validate_optionsObject



158
159
160
161
# File 'lib/hammer_cli_foreman/operating_system.rb', line 158

def validate_options
  super
  validator.any(:option_os_id).required
end