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-1.4.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.3.7 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.3.6 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.4.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.3.5 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.3.4 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.3.3 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.3.2 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.3.1 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
foreman_remote_execution-1.3.0 app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb