We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5be9f7 commit c2bd818Copy full SHA for c2bd818
docs/usage/webhooks.md
@@ -18,10 +18,10 @@ If you want to register for an http webhook you need to implement a webhook hand
18
19
```ruby
20
module WebhookHandler
21
- extend ShopifyAPI::Webhooks::Handler
+ extend ShopifyAPI::Webhooks::WebhookHandler
22
23
class << self
24
- def handle_webhook(data)
+ def handle_webhook(data:)
25
puts "Received webhook! topic: #{data.topic} shop: #{data.shop} body: #{data.body} webhook_id: #{data.webhook_id} api_version: #{data.api_version"
26
end
27
0 commit comments