Class: MHV::AccountCreatorJob
- Inherits:
-
Object
- Object
- MHV::AccountCreatorJob
- Includes:
- Sidekiq::Job
- Defined in:
- app/sidekiq/mhv/account_creator_job.rb
Instance Method Summary collapse
Instance Method Details
permalink #perform(user_verification_id) ⇒ Object
[View source] [View on GitHub]
11 12 13 14 15 16 |
# File 'app/sidekiq/mhv/account_creator_job.rb', line 11 def perform(user_verification_id) user_verification = UserVerification.find(user_verification_id) MHV::UserAccount::Creator.new(user_verification:, break_cache: true).perform rescue ActiveRecord::RecordNotFound Rails.logger.error("MHV AccountCreatorJob failed: UserVerification not found for id #{user_verification_id}") end |