b5205ce6b2
PushTarget#push reads more naturally than Push#push. The push target is the thing that pushes notifications to a specific destination. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 lines
149 B
Ruby
6 lines
149 B
Ruby
class Notification::NativePushJob < ApplicationJob
|
|
def perform(notification)
|
|
Notification::PushTarget::Native.new(notification).push
|
|
end
|
|
end
|