summaryrefslogtreecommitdiff
path: root/app/workers/pages_domain_verification_worker.rb
blob: 2e93489113cbb6295bb3c79beb5e1f4e9352cd9e (plain)
1
2
3
4
5
6
7
8
9
10
11
class PagesDomainVerificationWorker
  include ApplicationWorker

  def perform(domain_id)
    domain = PagesDomain.find_by(id: domain_id)

    return unless domain

    VerifyPagesDomainService.new(domain).execute
  end
end