Class: Decidim::DirectVerifications::RegisterUsersJob

Inherits:
BaseImportJob
  • Object
show all
Defined in:
app/jobs/decidim/direct_verifications/register_users_job.rb

Instance Method Summary collapse

Methods inherited from BaseImportJob

#perform

Instance Method Details

#process_usersObject



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

#typeObject



14
15
16
# File 'app/jobs/decidim/direct_verifications/register_users_job.rb', line 14

def type
  :registered
end