class HasNotifications::HnNotification
Public Instance Methods
mark_as_unwatched()
click to toggle source
# File lib/has_notifications/hn_notification.rb, line 17 def mark_as_unwatched # # Mark notification as unwatched # self.update_attribute(:watched, false) end
mark_as_watched()
click to toggle source
# File lib/has_notifications/hn_notification.rb, line 10 def mark_as_watched # # Mark notification as watched # self.update_attribute(:watched, true) end