Sha256: 08d8ac4dad8a5a94f054583622aa4c07dce0cfdd1c0a4135f432685058fcf61c

Contents?: true

Size: 546 Bytes

Versions: 101

Compression:

Stored size: 546 Bytes

Contents

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

  class_methods do
    def foreign_input_set_params_filter
      Foreman::ParameterFilter.new(::ForeignInputSet).tap do |filter|
        filter.permit_by_context(:id, :_destroy, :template_id, :target_template_id, :include_all, :include, :exclude,
          :nested => true)
      end
    end
  end

  def foreign_input_set_params
    self.class.foreign_input_set_params_filter.filter_params(params, parameter_filter_context, :foreign_input_set)
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.4 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-14.1.3 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-14.1.2 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-14.1.1 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-14.1.0 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-14.0.2 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-14.0.1 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-13.2.6 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-14.0.0 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-13.2.5 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-13.2.4 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-13.2.3 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-13.2.2 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-12.0.7 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-13.2.1 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-13.2.0 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-10.1.3 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-13.0.0 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-12.0.5 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-12.0.4 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb