From 452e6605bb431d085729aa23d445092e1069f21f Mon Sep 17 00:00:00 2001 From: Jasmine Ning Date: Tue, 28 Nov 2023 16:56:58 -0500 Subject: [PATCH 1/5] Set sub merchant to alllive if not available --- .idea/workspace.xml | 64 +++++++++++++++++++++++++++++++++++++++++++ lib/bambora/client.rb | 2 ++ 2 files changed, 66 insertions(+) create mode 100644 .idea/workspace.xml diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..ecab4aa --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + { + "associatedIndex": 5 +} + + + + + + + + $USER_HOME$/.subversion + + + + + 1701142443720 + + + + + + \ No newline at end of file diff --git a/lib/bambora/client.rb b/lib/bambora/client.rb index ff19dc0..01f9801 100644 --- a/lib/bambora/client.rb +++ b/lib/bambora/client.rb @@ -72,6 +72,8 @@ def initialize(options = {}) instance_variable_set("@#{key}", value) end + @sub_merchant_id = 'AllLive' if sub_merchant_id.nil? + yield(self) if block_given? end From 242171f6c6cee59407b5baec1b8f0649620162ac Mon Sep 17 00:00:00 2001 From: Jasmine Ning Date: Thu, 30 Nov 2023 10:33:40 -0500 Subject: [PATCH 2/5] :remove the sub_merchant_id from the client --- .idea/bambora-client.iml | 89 +++++++++++++++++++++++ .idea/workspace.xml | 39 +++++----- lib/bambora/bank/batch_report_resource.rb | 9 ++- lib/bambora/client.rb | 4 +- 4 files changed, 118 insertions(+), 23 deletions(-) create mode 100644 .idea/bambora-client.iml diff --git a/.idea/bambora-client.iml b/.idea/bambora-client.iml new file mode 100644 index 0000000..36735be --- /dev/null +++ b/.idea/bambora-client.iml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ecab4aa..d7cafeb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,12 @@