Method: ActivityNotification::NotifyToJob#perform
- Defined in:
- app/jobs/activity_notification/notify_to_job.rb
#perform(target, notifiable, options = {}) ⇒ Notification
Generates notifications to one target with ActiveJob.
21 22 23 |
# File 'app/jobs/activity_notification/notify_to_job.rb', line 21 def perform(target, notifiable, = {}) ActivityNotification::Notification.notify_to(target, notifiable, ) end |