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



167
168
169
170
171
# File 'lib/hammer_cli_foreman/operating_system.rb', line 167

def base_action_params
  {
    "operatingsystem_id" => os_id
  }
end

#validate_optionsObject



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

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