Class: PushDispatchJob
- Inherits:
-
ApplicationJob
- Object
- ApplicationJob
- PushDispatchJob
- Defined in:
- app/jobs/push_dispatch_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(push_message_id) ⇒ Object
4 5 6 7 8 9 |
# File 'app/jobs/push_dispatch_job.rb', line 4 def perform() = PushMessage.find_by(id: ) return unless ThecoreBackendCommons::PushNotificationService.dispatch(.push_subscriber, ) end |