module Notifly::Models::Notifiable

Public Instance Methods

notifly!(args={}) click to toggle source
# File lib/notifly/models/notifiable.rb, line 6
def notifly!(args={})
  Notifly::Notification.create! args.merge(receiver: self)
end