Feature: Webhooks (#489)

This commit is contained in:
Subin T P
2020-02-14 23:19:17 +05:30
committed by GitHub
parent 79a847aeab
commit 919261d843
29 changed files with 566 additions and 214 deletions

7
app/jobs/webhook_job.rb Normal file
View File

@@ -0,0 +1,7 @@
class WebhookJob < ApplicationJob
queue_as :webhooks
def perform(url, payload)
Webhooks::Trigger.execute(url, payload)
end
end