about summary refs log tree commit diff
path: root/app/workers/processing_worker.rb
blob: 4a467d92446a2fc68589b9ab2e82ffaace7e0617 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class ProcessingWorker
  include Sidekiq::Worker

  sidekiq_options queue: 'pull', backtrace: true

  def perform(account_id, body)
    ProcessFeedService.new.call(body, Account.find(account_id))
  end
end