From bd0a6a8ca8909bfc1cb2f3d8e5dba93cb53037a2 Mon Sep 17 00:00:00 2001 From: Guilherme Lages Santos Date: Wed, 16 Oct 2024 11:54:44 -0500 Subject: [PATCH 1/3] Fix wrong require --- lib/whatsapp_sdk/resource/errors.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/whatsapp_sdk/resource/errors.rb b/lib/whatsapp_sdk/resource/errors.rb index 88d2d29..6f379ff 100644 --- a/lib/whatsapp_sdk/resource/errors.rb +++ b/lib/whatsapp_sdk/resource/errors.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true -require "error" +require "../error" +# require "lib/whatsapp_sdk/error" module WhatsappSdk module Resource From 9725905f16052c3ebf51dcd4555c5d9cfd67a9cd Mon Sep 17 00:00:00 2001 From: Guilherme Lages Santos Date: Wed, 16 Oct 2024 11:58:12 -0500 Subject: [PATCH 2/3] Add require_relative path --- lib/whatsapp_sdk/resource/errors.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/whatsapp_sdk/resource/errors.rb b/lib/whatsapp_sdk/resource/errors.rb index 6f379ff..ed4e6e8 100644 --- a/lib/whatsapp_sdk/resource/errors.rb +++ b/lib/whatsapp_sdk/resource/errors.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require "../error" +require_relative "../error" # require "lib/whatsapp_sdk/error" module WhatsappSdk From 88fd1b82e0f13c32713018434752dd3223a05209 Mon Sep 17 00:00:00 2001 From: Guilherme Lages Santos Date: Wed, 16 Oct 2024 11:59:23 -0500 Subject: [PATCH 3/3] Remove comment --- lib/whatsapp_sdk/resource/errors.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/whatsapp_sdk/resource/errors.rb b/lib/whatsapp_sdk/resource/errors.rb index ed4e6e8..4a0c718 100644 --- a/lib/whatsapp_sdk/resource/errors.rb +++ b/lib/whatsapp_sdk/resource/errors.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require_relative "../error" -# require "lib/whatsapp_sdk/error" module WhatsappSdk module Resource