Class: Communify::Workers::PushNotificationWorker
- Inherits:
-
Object
- Object
- Communify::Workers::PushNotificationWorker
- Includes:
- Sidekiq::Worker
- Defined in:
- lib/communify/workers/push_notification_worker.rb
Instance Method Summary collapse
Instance Method Details
#perform(resource_id, notification_type, custom_data) ⇒ Object
11 12 13 14 |
# File 'lib/communify/workers/push_notification_worker.rb', line 11 def perform(resource_id, notification_type, custom_data) service = PushNotificationService.new(resource_id, notification_type, custom_data) service.call end |