From 704d6438848af2facd9679c8ad7bb557f9e67338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Thu, 31 Dec 2020 15:31:48 +0100 Subject: [PATCH] =?UTF-8?q?pr=C3=A9dicats=20pour=20cron=3F=20et=20mailing?= =?UTF-8?q?=5Flist=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/email.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/models/email.rb b/app/models/email.rb index f2f3c5c..eedb31a 100644 --- a/app/models/email.rb +++ b/app/models/email.rb @@ -34,4 +34,12 @@ class Email def persisted? id.present? end + + def cron? + cron + end + + def mailing_list? + mailing_list + end end