blob: dc00db197dae459722b65df013bec77e03dd390e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
class BlockWorker
include Sidekiq::Worker
def perform(account_id, target_account_id)
BlockService.new.call(Account.find(account_id), Account.find(target_account_id))
end
end
|