Class: HammerCLIForeman::OperatingSystem::CreateCommand
- Inherits:
-
CreateCommand
- Object
- HammerCLI::Apipie::WriteCommand
- WriteCommand
- CreateCommand
- HammerCLIForeman::OperatingSystem::CreateCommand
- Defined in:
- lib/hammer_cli_foreman/operating_system.rb
Instance Method Summary collapse
Methods inherited from CreateCommand
Methods inherited from WriteCommand
#send_request, #success_message_params
Instance Method Details
#request_params ⇒ Object
73 74 75 76 77 78 79 80 |
# File 'lib/hammer_cli_foreman/operating_system.rb', line 73 def request_params params = params["operatingsystem"]["architecture_ids"] = architecture_ids if architecture_ids params["operatingsystem"]["config_template_ids"] = config_template_ids if config_template_ids params["operatingsystem"]["medium_ids"] = medium_ids if medium_ids params["operatingsystem"]["ptable_ids"] = ptable_ids if ptable_ids params end |