13 lines
439 B
Ruby
13 lines
439 B
Ruby
module Mails
|
||
class ReceivedMail < ApplicationRecord
|
||
include MailTemplateConcern
|
||
|
||
belongs_to :procedure
|
||
|
||
SLUG = "received_mail"
|
||
DEFAULT_TEMPLATE_NAME = "notification_mailer/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)
|
||
end
|
||
end
|