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-10.0.3 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.0.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.0.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.3.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-9.1.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.2.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.2.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-9.0.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-9.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.1.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.1.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.1.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-7.2.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-7.2.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-7.2.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-5.0.8 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-8.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-7.1.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-7.1.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb