Class: HammerCLIForeman::SSHKeys::CreateCommand
- Inherits:
-
CreateCommand
- Object
- CreateCommand
- HammerCLIForeman::SSHKeys::CreateCommand
- Defined in:
- lib/hammer_cli_foreman/ssh_keys.rb
Instance Method Summary collapse
Instance Method Details
#request_params ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/hammer_cli_foreman/ssh_keys.rb', line 25 def request_params params = super # FIXME: Until #20986 is fixed we need to map the 'user_id' to a correct location manually params['user_id'] ||= params['ssh_key']['user_id'] params['ssh_key']['key'] ||= ['option_key_file'] params end |