mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
8 lines
184 B
Ruby
8 lines
184 B
Ruby
|
class RuleJob < ApplicationJob
|
||
|
queue_as :medium_priority
|
||
|
|
||
|
def perform(rule, ignore_attribute_locks: false)
|
||
|
rule.apply(ignore_attribute_locks: ignore_attribute_locks)
|
||
|
end
|
||
|
end
|