File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1616
1717require_relative "shopify_api/inflector"
1818require_relative "shopify_api/admin_versions"
19+ require_relative "shopify_api/webhooks/handler"
1920
2021loader = Zeitwerk ::Loader . for_gem
2122loader . inflector = ShopifyAPI ::Inflector . new ( __FILE__ )
Original file line number Diff line number Diff line change @@ -198,12 +198,12 @@ def process(request)
198198 body : request . parsed_body , api_version : request . api_version , webhook_id : request . webhook_id ) )
199199 else
200200 handler . handle ( topic : request . topic , shop : request . shop , body : request . parsed_body )
201- ShopifyAPI :: Logger . deprecated (
202- " DEPRECATED: Use ShopifyAPI::Webhooks::WebhookHandler#handle \
203- instead of ShopifyAPI::Webhooks::Handler#handle.
204- https://github.com/Shopify/shopify-api-ruby/blob/main/docs/usage/webhooks.md#create-a-webhook-handler" ,
205- "14.0.0" ,
206- )
201+ warning = <<~WARNING
202+ DEPRECATED: Use ShopifyAPI::Webhooks::WebhookHandler#handle instead of
203+ ShopifyAPI::Webhooks::Handler#handle.
204+ https://github.com/Shopify/shopify-api-ruby/blob/main/docs/usage/webhooks.md#create-a-webhook-handler
205+ WARNING
206+ ShopifyAPI :: Logger . deprecated ( warning , "15.0.0" )
207207 end
208208 end
209209
You can’t perform that action at this time.
0 commit comments