Method: ActivityNotification::Notifiable#notify_later
- Defined in:
- lib/activity_notification/models/concerns/notifiable.rb
#notify_later(target_type, options = {}) ⇒ Array<Notificaion>
Generates notifications to configured targets with notifiable model later by ActiveJob queue. This method calls NotificationApi#notify_later internally with self notifiable instance.
300 301 302 |
# File 'lib/activity_notification/models/concerns/notifiable.rb', line 300 def notify_later(target_type, = {}) Notification.notify_later(target_type, self, ) end |