Sha256: 0dd68600c3005cf2ef3e890e08b8948001bff9c88ef3b6d6ef641a91e073ae51

Contents?: true

Size: 555 Bytes

Versions: 150

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

150 entries across 150 versions & 1 rubygems

Version Path
foreman_remote_execution-6.1.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-5.0.4 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-5.0.3 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-6.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-5.0.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-5.1.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-5.0.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-5.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.8.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.5.6 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.5.5 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.5.4 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.7.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.5.3 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.5.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.5.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.6.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.5.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.4.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-4.3.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb