Module: BlogComment::Notification

Defined in:
app/models/blog_comment.rb

Overview

Notification module related to comment notifications

Class Method Summary collapse

Class Method Details

.find_notification_recipientObject



74
75
76
# File 'app/models/blog_comment.rb', line 74

def find_notification_recipient
  Setting.find_notification_recipient
end

.recipientsObject

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

.subjectObject



70
71
72
# File 'app/models/blog_comment.rb', line 70

def subject
  "New inquiry from your website"
end