Class: HammerCLIForeman::OperatingSystem::SetParameterCommand
Instance Method Summary
collapse
command_name, #create_parameter, #execute, #parameter_exist?, resource, #update_parameter
Instance Method Details
#base_action_params ⇒ Object
140
141
142
143
144
|
# File 'lib/hammer_cli_foreman/operating_system.rb', line 140
def base_action_params
{
"operatingsystem_id" => option_os_id
}
end
|
#validate_options ⇒ Object
135
136
137
138
|
# File 'lib/hammer_cli_foreman/operating_system.rb', line 135
def validate_options
super
validator.any(:option_os_id).required
end
|