The code powering m.abunchtell.com https://m.abunchtell.com
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

push_notification_worker.rb 252 B

1234567891011
  1. # frozen_string_literal: true
  2. class PushNotificationWorker
  3. include Sidekiq::Worker
  4. def perform(notification_id)
  5. SendPushNotificationService.new.call(Notification.find(notification_id))
  6. rescue ActiveRecord::RecordNotFound
  7. true
  8. end
  9. end