Module: Api::V2::RegistrationControllerExtensions
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/controllers/foreman_remote_execution/concerns/api/v2/registration_controller_extensions.rb
Defined Under Namespace
Modules: ApipieExtensions
Instance Method Summary
collapse
Instance Method Details
#host_setup_extension ⇒ Object
14
15
16
17
|
# File 'app/controllers/foreman_remote_execution/concerns/api/v2/registration_controller_extensions.rb', line 14
def host_setup_extension
remote_execution_interface
super
end
|
#remote_execution_interface ⇒ Object
19
20
21
22
23
|
# File 'app/controllers/foreman_remote_execution/concerns/api/v2/registration_controller_extensions.rb', line 19
def remote_execution_interface
return unless params['remote_execution_interface'].present?
@host.set_execution_interface(params['remote_execution_interface'])
end
|