mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
9 lines
246 B
Ruby
9 lines
246 B
Ruby
|
class EnrichTransactionBatchJob < ApplicationJob
|
||
|
queue_as :latency_high
|
||
|
|
||
|
def perform(account, batch_size = 100, offset = 0)
|
||
|
enricher = Account::DataEnricher.new(account)
|
||
|
enricher.enrich_transaction_batch(batch_size, offset)
|
||
|
end
|
||
|
end
|