Class: Decidim::DirectVerifications::RegisterUsersJob
- Inherits:
-
BaseImportJob
- Object
- ApplicationJob
- BaseImportJob
- Decidim::DirectVerifications::RegisterUsersJob
- Defined in:
- app/jobs/decidim/direct_verifications/register_users_job.rb
Instance Method Summary collapse
Methods inherited from BaseImportJob
Instance Method Details
#process_users ⇒ Object
8 9 10 11 12 |
# File 'app/jobs/decidim/direct_verifications/register_users_job.rb', line 8 def process_users emails.each do |email, data| RegisterUser.new(email, data, organization, current_user, instrumenter).call end end |
#type ⇒ Object
14 15 16 |
# File 'app/jobs/decidim/direct_verifications/register_users_job.rb', line 14 def type :registered end |