7 lines
138 B
Ruby
7 lines
138 B
Ruby
class WebhookJob < ApplicationJob
|
|
queue_as :webhooks
|
|
|
|
def perform(url, payload)
|
|
Webhooks::Trigger.execute(url, payload)
|
|
end
|
|
end
|