blob: b3319ff5a1308360f3f50fccaa6d8885472b0357 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class PagesDomainVerificationWorker
include ApplicationWorker
# rubocop: disable CodeReuse/ActiveRecord
def perform(domain_id)
domain = PagesDomain.find_by(id: domain_id)
return unless domain
VerifyPagesDomainService.new(domain).execute
end
# rubocop: enable CodeReuse/ActiveRecord
end
|