diff options
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/processing_worker.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/workers/processing_worker.rb b/app/workers/processing_worker.rb new file mode 100644 index 000000000..87ebbc5ea --- /dev/null +++ b/app/workers/processing_worker.rb @@ -0,0 +1,7 @@ +class ProcessingWorker + include Sidekiq::Worker + + def perform(account_id, body) + ProcessFeedService.new.call(body, Account.find(account_id)) + end +end |