processing_worker.rb 187 B

123456789
  1. # frozen_string_literal: true
  2. class ProcessingWorker
  3. include Sidekiq::Worker
  4. def perform(account_id, body)
  5. ProcessFeedService.new.call(body, Account.find(account_id))
  6. end
  7. end