Sha256: 76a5ef70b1e68f829f66b33bee1d6960717370880dcaadc368455dceb9bc102b
Contents?: true
Size: 426 Bytes
Versions: 9
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module ShopifyApp class MissingWebhookJobError < StandardError; end class WebhooksController < ActionController::Base include ShopifyApp::WebhookVerification def receive params.permit! ShopifyAPI::Webhooks::Registry.process( ShopifyAPI::Webhooks::Request.new(raw_body: request.raw_post, headers: request.headers.to_h) ) head(:ok) end end end
Version data entries
9 entries across 9 versions & 1 rubygems