module ActsAsNotificable::ClassMethods

Public Instance Methods

acts_as_notificable() click to toggle source
# File lib/acts_as_notificable.rb, line 5
def acts_as_notificable
  has_many :notifications, inverse_of: :owner, dependent: :destroy
end