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

14 lines
457 B
Ruby
Raw Normal View History

2017-03-06 22:37:37 +01:00
module Mails
class ReceivedMail < ApplicationRecord
2017-03-06 22:37:37 +01:00
include MailTemplateConcern
belongs_to :procedure
SLUG = "received_mail"
DEFAULT_TEMPLATE_NAME = "notification_mailer/default_templates/received_mail"
DISPLAYED_NAME = 'Accusé de passage en instruction'
DEFAULT_SUBJECT = 'Votre dossier nº --numéro du dossier-- va être instruit (--libellé démarche--)'
DOSSIER_STATE = Dossier.states.fetch(:en_instruction)
2017-03-06 22:37:37 +01:00
end
end