From 7e5b3ba022c15015f83ebe2be15a3eb09cacbff3 Mon Sep 17 00:00:00 2001 From: Kirill Platonov Date: Wed, 22 Oct 2025 17:31:37 +0200 Subject: [PATCH] Rename webhook handler file --- lib/shopify_api.rb | 2 +- lib/shopify_api/webhooks/{handler.rb => webhook_handler.rb} | 0 test/test_helpers/fake_webhook_handler.rb | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename lib/shopify_api/webhooks/{handler.rb => webhook_handler.rb} (100%) diff --git a/lib/shopify_api.rb b/lib/shopify_api.rb index 448011067..2414f6dab 100644 --- a/lib/shopify_api.rb +++ b/lib/shopify_api.rb @@ -16,7 +16,7 @@ require_relative "shopify_api/inflector" require_relative "shopify_api/admin_versions" -require_relative "shopify_api/webhooks/handler" +require_relative "shopify_api/webhooks/webhook_handler" loader = Zeitwerk::Loader.for_gem loader.inflector = ShopifyAPI::Inflector.new(__FILE__) diff --git a/lib/shopify_api/webhooks/handler.rb b/lib/shopify_api/webhooks/webhook_handler.rb similarity index 100% rename from lib/shopify_api/webhooks/handler.rb rename to lib/shopify_api/webhooks/webhook_handler.rb diff --git a/test/test_helpers/fake_webhook_handler.rb b/test/test_helpers/fake_webhook_handler.rb index 6c09928a6..193d4dcca 100644 --- a/test/test_helpers/fake_webhook_handler.rb +++ b/test/test_helpers/fake_webhook_handler.rb @@ -1,7 +1,7 @@ # typed: false # frozen_string_literal: true -require_relative "../../lib/shopify_api/webhooks/handler" +require_relative "../../lib/shopify_api/webhooks/webhook_handler" module TestHelpers class FakeWebhookHandler include ShopifyAPI::Webhooks::WebhookHandler