feat: Facebook delivery reports (#8136)
This commit is contained in:
8
app/jobs/webhooks/facebook_delivery_job.rb
Normal file
8
app/jobs/webhooks/facebook_delivery_job.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class Webhooks::FacebookDeliveryJob < ApplicationJob
|
||||
queue_as :low
|
||||
|
||||
def perform(message)
|
||||
response = ::Integrations::Facebook::MessageParser.new(message)
|
||||
Integrations::Facebook::DeliveryStatus.new(params: response).perform
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user