module HocNotifications::ActsAsHocNotificationsReceiver

Public Instance Methods

handle_received_notification(hoc_notification) click to toggle source
# File lib/hoc_notifications/acts_as_hoc_notifications_receiver.rb, line 17
def handle_received_notification(hoc_notification)
end
mark_notification_as_read(id) click to toggle source
# File lib/hoc_notifications/acts_as_hoc_notifications_receiver.rb, line 20
def mark_notification_as_read(id)
  received_notifications.find(id).mark_as_seen
end