mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
10 lines
298 B
Ruby
10 lines
298 B
Ruby
class RegistrarMailer < ApplicationMailer
|
|
helper ApplicationHelper
|
|
|
|
def contact_verified(email:, contact:, poi:)
|
|
@contact = contact
|
|
subject = default_i18n_subject(contact_code: contact.code)
|
|
attachments['proof_of_identity.pdf'] = poi
|
|
mail(to: email, subject: subject)
|
|
end
|
|
end
|