From f0a8c719d1ef7603fe9508f23d4961d23b708be0 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 24 Jul 2018 18:20:44 +0200 Subject: [PATCH] README: fix error path --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5800ae6..7bd1609 100644 --- a/README.md +++ b/README.md @@ -62,5 +62,5 @@ Finally, you have to write the way the checks will be notified to theirs users. - expires_soon - recurrent_failures -First, add your checks kinds and these notifications definitions in the base class for notifier: `app/services/notifier/base.rb` : in the notify method, for your new check kind, a specific method will be called in each notifier. For example, in the email channel, a specific mailer action is called for each couple (check kin, notification kind). +First, add your checks kinds and these notifications definitions in the base class for notifier: `app/services/notifier/channels/base.rb` : in the notify method, for your new check kind, a specific method will be called in each notifier. For example, in the email channel, a specific mailer action is called for each couple (check kin, notification kind). Then, in each notifier class, implements the details of this method. If you want to ignore a notification for a given channel, simply write the method and do nothing.