3621df8f0f
Replace separate WebPushJob and NativePushJob with a single PushJob that calls notification.push, which iterates over registered targets. Each target handles its own delivery - Web pushes synchronously via the pool, Native enqueues device-level jobs via deliver_later_to. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 lines
105 B
Ruby
6 lines
105 B
Ruby
class Notification::PushJob < ApplicationJob
|
|
def perform(notification)
|
|
notification.push
|
|
end
|
|
end
|