demarches-normaliennes/app/models/mails/initiated_mail.rb

13 lines
453 B
Ruby
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module Mails
class InitiatedMail < ApplicationRecord
include MailTemplateConcern
belongs_to :procedure
SLUG = "initiated_mail"
DEFAULT_TEMPLATE_NAME = "notification_mailer/default_templates/initiated_mail"
DISPLAYED_NAME = 'Accusé de réception'
DEFAULT_SUBJECT = 'Votre dossier nº --numéro du dossier-- a bien été déposé (--libellé démarche--)'
DOSSIER_STATE = Dossier.states.fetch(:en_construction)
end
end