Sha256: 0d10ddda0326a501aa9cc73855ed1d2a4c31660769822b8e4172d31e436d6718

Contents?: true

Size: 569 Bytes

Versions: 56

Compression:

Stored size: 569 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

56 entries across 56 versions & 1 rubygems

Version Path
foreman_remote_execution-2.0.10 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.9 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.8 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-3.0.3 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-3.0.2 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.7 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-3.0.1 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-3.0.0 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.6 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.5 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.4 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.3 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.2 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.1 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-2.0.0 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-1.8.4 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-1.8.3 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-1.8.2 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-1.8.1 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb
foreman_remote_execution-1.8.0 app/controllers/concerns/foreman/controller/parameters/foreign_input_set.rb