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

18 lines
564 B
Ruby
Raw Normal View History

2017-03-06 22:37:37 +01:00
module Mails
class RefusedMail < ApplicationRecord
include MailTemplateConcern
belongs_to :procedure
SLUG = "refused_mail"
DEFAULT_TEMPLATE_NAME = "notification_mailer/default_templates/refused_mail"
DISPLAYED_NAME = 'Accusé de rejet du dossier'
DEFAULT_SUBJECT = 'Votre dossier nº --numéro du dossier-- a été refusé (--libellé démarche--)'
DOSSIER_STATE = Dossier.states.fetch(:refuse)
2019-07-22 15:21:05 +02:00
def actions_for_dossier(dossier)
[MailTemplateConcern::Actions::REPLY, MailTemplateConcern::Actions::SHOW]
end
2017-03-06 22:37:37 +01:00
end
end