Method: ActivityNotification::Notifiable#notify_to
- Defined in:
- lib/activity_notification/models/concerns/notifiable.rb
#notify_to(target, options = {}) ⇒ Notification Also known as: notify_now_to
Generates notifications to one target. This method calls NotificationApi#notify_to internally with self notifiable instance.
362 363 364 |
# File 'lib/activity_notification/models/concerns/notifiable.rb', line 362 def notify_to(target, = {}) Notification.notify_to(target, self, ) end |