Module: BlogComment::Notification
- Defined in:
- app/models/blog_comment.rb
Overview
Notification module related to comment notifications
Class Method Summary collapse
- .find_notification_recipient ⇒ Object
-
.recipients ⇒ Object
recipients method setting or finding a perticular recipient for mcms.
- .recipients=(emails) ⇒ Object
- .subject ⇒ Object
Class Method Details
.find_notification_recipient ⇒ Object
74 75 76 |
# File 'app/models/blog_comment.rb', line 74 def find_notification_recipient Setting.find_notification_recipient end |
.recipients ⇒ Object
recipients method setting or finding a perticular recipient for mcms
62 63 64 |
# File 'app/models/blog_comment.rb', line 62 def recipients #notify_me end |
.recipients=(emails) ⇒ Object
66 67 68 |
# File 'app/models/blog_comment.rb', line 66 def recipients=(emails) Setting.set_notification_recipient(emails) end |
.subject ⇒ Object
70 71 72 |
# File 'app/models/blog_comment.rb', line 70 def subject "New inquiry from your website" end |