2017-09-02 16:11:23 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-01-22 05:25:09 -08:00
|
|
|
class ResolveAccountWorker
|
2017-09-02 16:11:23 -07:00
|
|
|
include Sidekiq::Worker
|
|
|
|
|
|
|
|
sidekiq_options queue: 'pull', unique: :until_executed
|
|
|
|
|
|
|
|
def perform(uri)
|
2018-01-22 05:25:09 -08:00
|
|
|
ResolveAccountService.new.call(uri)
|
2017-09-02 16:11:23 -07:00
|
|
|
end
|
|
|
|
end
|