Class: InstagramConnect::IngestJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/instagram_connect/ingest_job.rb

Overview

Persists a verified webhook payload off the request path so the controller can ACK Meta immediately.

Instance Method Summary collapse

Instance Method Details

#perform(payload) ⇒ Object



7
8
9
# File 'app/jobs/instagram_connect/ingest_job.rb', line 7

def perform(payload)
  Ingest.call(payload: payload)
end