module HasNotifications::ActsAsNotification
Public Instance Methods
acts_as_notification()
click to toggle source
# File lib/has_notifications/acts_as_notification.rb, line 6 def acts_as_notification has_one :destination, class_name: "HasNotifications::HnNotification", as: :notification, dependent: :destroy end