demarches-normaliennes/app/models/mails/received_mail.rb
2018-08-29 17:31:08 +02:00

13 lines
439 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 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 demarches-simplifiees.fr nº --numéro du dossier-- va être instruit'
DOSSIER_STATE = Dossier.states.fetch(:en_instruction)
end
end