blob: 14d4e8516c5efd7a93ed814a95aa9bd8f2a51c9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class UpdateAccountDomainBlocksWorker
include Sidekiq::Worker
def perform(account_id)
UpdateAccountDomainBlocksService.new.call(Account.find(account_id))
rescue ActiveRecord::RecordNotFound
true
end
end
|