diff options
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/salmon_worker.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/workers/salmon_worker.rb b/app/workers/salmon_worker.rb new file mode 100644 index 000000000..12b46e92f --- /dev/null +++ b/app/workers/salmon_worker.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class SalmonWorker + include Sidekiq::Worker + + def perform(account_id, body) + ProcessInteractionService.new.call(body, Account.find(account_id)) + end +end |