Sha256: bcd39ed14ffbe948f8f501d17a4b31eb2ebfe71cee45132562dee8be5fadbc3e

Contents?: true

Size: 558 Bytes

Versions: 100

Compression:

Stored size: 558 Bytes

Contents

module ForemanTasks
  module Concerns
    module Parameters
      module RecurringLogic
        extend ActiveSupport::Concern

        class_methods do
          def recurring_logic_params_filter
            Foreman::ParameterFilter.new(::ForemanTasks::RecurringLogic).tap do |filter|
              filter.permit(:enabled)
            end
          end
        end

        def recurring_logic_params
          self.class.recurring_logic_params_filter.filter_params(params, parameter_filter_context, :recurring_logic)
        end
      end
    end
  end
end

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
foreman-tasks-10.0.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-10.0.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.2.3 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.2.2 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.2.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.2.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.1.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.0.4 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.1.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.0.2 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.0.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-8.3.3 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-9.0.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-8.2.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-8.1.4 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-8.3.2 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-8.3.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-8.1.3 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-8.3.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-8.2.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb