Sha256: 901b242a2c69d3a6ac027dd71869dcb24a70f2e36566e01f44a43482c0a011fa
Contents?: true
Size: 684 Bytes
Versions: 6
Compression:
Stored size: 684 Bytes
Contents
# frozen_string_literal: true module Decidim module DirectVerifications class ImportMailer < Decidim::Admin::ApplicationMailer include LocalisedMailer layout "decidim/mailer" I18N_SCOPE = "decidim.direct_verifications.verification.admin.imports.mailer" def finished_processing(user, instrumenter, type, handler) @stats = Stats.from(instrumenter, type) @organization = user.organization @i18n_key = "#{I18N_SCOPE}.#{type}" @handler = handler with_user(user) do mail( to: user.email, subject: I18n.t("#{I18N_SCOPE}.subject") ) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems