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