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
144
145
146
147
148
|
# File 'lib/hammer_cli_foreman/operating_system.rb', line 144
def base_action_params
{
"operatingsystem_id" => os_id
}
end
|
#validate_options ⇒ Object
139
140
141
142
|
# File 'lib/hammer_cli_foreman/operating_system.rb', line 139
def validate_options
super
validator.any(:os_id).required
end
|