Sha256: 62cb32cfb28c01c45a7480f0722daaccd0e731d7875f30f72efd680e12c76a5e

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

require "decidim/direct_verifications/instrumenter"

module Decidim
  module DirectVerifications
    class RegisterUsersJob < BaseImportJob
      def process_users
        emails.each do |email, data|
          RegisterUser.new(email, data, organization, current_user, instrumenter).call
        end
      end

      def type
        :registered
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-direct_verifications-1.0.1 app/jobs/decidim/direct_verifications/register_users_job.rb
decidim-direct_verifications-1.0 app/jobs/decidim/direct_verifications/register_users_job.rb