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-0.16.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.17.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.9 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.8 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.14.6 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.7 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.16.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.6 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.5 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.4 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.3 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.2 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.15.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.14.5 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.14.4 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.14.3 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.14.2 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.14.1 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb
foreman-tasks-0.14.0 app/controllers/foreman_tasks/concerns/parameters/recurring_logic.rb