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-5.2.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-5.1.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-5.1.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-4.1.5 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-4.1.4 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-4.1.3 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-3.0.6 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-5.0.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-4.1.2 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-4.1.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-4.0.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-4.1.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-3.0.5 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-4.0.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-3.0.4 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-2.0.3 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-3.0.3 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-3.0.2 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-3.0.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-3.0.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb