Sha256: 180b97a598d593540f885dadb362d78930423d346a9c3d6079c260e2b03674fc
Contents?: true
Size: 686 Bytes
Versions: 24
Compression:
Stored size: 686 Bytes
Contents
module ForemanRemoteExecution module Concerns module Api::V2::RegistrationControllerExtensions module ApipieExtensions extend Apipie::DSL::Concern update_api(:global, :host) do param :remote_execution_interface, String, desc: N_("Identifier of the Host interface for Remote execution") end end extend ActiveSupport::Concern def host_setup_extension remote_execution_interface super end def remote_execution_interface return unless params['remote_execution_interface'].present? @host.set_execution_interface(params['remote_execution_interface']) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems