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-14.1.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-14.1.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-14.1.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-14.0.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-14.0.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-13.2.6 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-14.0.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-13.2.5 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-13.2.4 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-13.2.3 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-13.2.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-12.0.7 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-13.2.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-13.2.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-10.1.3 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
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