Sha256: 36ea1a48c8233586d41b3b009df8583365b8b275385d76ecf7bf8af0d7a56650
Contents?: true
Size: 319 Bytes
Versions: 12
Compression:
Stored size: 319 Bytes
Contents
class WebhooksController < ApplicationController skip_before_action :verify_authenticity_token, only: [:callback] def callback webhooks = JSON.parse(request.raw_post) webhooks.each { |webhook| Services::Hubspot::Webhooks::Handle.new(webhook: webhook, request: request).call } render json: {} end end
Version data entries
12 entries across 12 versions & 1 rubygems