Sha256: 76b3ce488aea3351404718981512f9fd5f404812aed0e67c06fe122b9f67296e

Contents?: true

Size: 374 Bytes

Versions: 24

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module ShopifyApp
  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

24 entries across 24 versions & 1 rubygems

Version Path
shopify_app-22.5.1 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.5.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.4.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.3.1 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.3.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.2.1 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.2.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.1.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.0.1 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-22.00.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.10.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.9.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.8.1 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.8.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.7.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.6.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.5.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.4.1 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.4.0 app/controllers/shopify_app/webhooks_controller.rb
shopify_app-21.3.1 app/controllers/shopify_app/webhooks_controller.rb