From 46b7ecfb2dce048c68e2445a637874284b558a5e Mon Sep 17 00:00:00 2001 From: Banjoko Azeez Date: Fri, 21 Jun 2024 12:05:18 +0100 Subject: [PATCH] - Insert commented lines on how `wsdl` was previously defined till we understand where its been set --- lib/zuora/api.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/zuora/api.rb b/lib/zuora/api.rb index c8476b4..75fb445 100644 --- a/lib/zuora/api.rb +++ b/lib/zuora/api.rb @@ -36,6 +36,14 @@ def client # @return [Hash] attr_accessor :options + # Leaving the old approach used to define value of WSDL + # till we understand how/where config.wsdl_path is been set + # WSDL = if config && config.wsdl_path + # config.wsdl_path + # else + # File.expand_path('../../../wsdl/zuora.a.38.0.wsdl', __FILE__) + # end + WSDL = File.expand_path('../../../wsdl/zuora.a.78.0.wsdl', __FILE__) SOAP_VERSION = 2 SANDBOX_ENDPOINT = 'https://apisandbox.zuora.com/apps/services/a/78.0'