Sha256: 0dd68600c3005cf2ef3e890e08b8948001bff9c88ef3b6d6ef641a91e073ae51

Contents?: true

Size: 555 Bytes

Versions: 155

Compression:

Stored size: 555 Bytes

Contents

module Foreman::Controller::Parameters::RemoteExecutionFeature
  extend ActiveSupport::Concern

  class_methods do
    def remote_execution_feature_params_filter
      ::Foreman::ParameterFilter.new(::RemoteExecutionFeature).tap do |filter|
        filter.permit :label, :name, :provided_input_names, :description, :job_template_id, :host_action_button
      end
    end
  end

  def remote_execution_feature_params
    self.class.remote_execution_feature_params_filter.filter_params(params, parameter_filter_context, :remote_execution_feature)
  end
end

Version data entries

155 entries across 155 versions & 1 rubygems

Version Path
foreman_remote_execution-13.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-12.0.5 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-12.0.4 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-12.0.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-12.0.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-11.1.3 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.1.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-12.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.1.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-11.1.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-11.1.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.1.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.3.3 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.3.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-11.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.0.7 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.3.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.0.6 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.0.5 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.0.4 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb