Method: ActivityNotification::NotifyAllJob#perform
- Defined in:
- app/jobs/activity_notification/notify_all_job.rb
#perform(targets, notifiable, options = {}) ⇒ Array<Notificaion>
Generates notifications to specified targets with ActiveJob.
21 22 23 |
# File 'app/jobs/activity_notification/notify_all_job.rb', line 21 def perform(targets, notifiable, = {}) ActivityNotification::Notification.notify_all(targets, notifiable, ) end |