zuora_api 1.7.58 → 1.7.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zuora_api/login.rb +10 -10
- data/lib/zuora_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 266ba452074c07980d3117810776e9f5952f80f1d5857a115334335196b26b2a
|
|
4
|
+
data.tar.gz: b4092db3bd872fee2c3a28337dbcb7c309c9e0793905a7fd73cee0be16860e4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f07cf3c660d6bde75b47fa7149576d602de22e32663da0fd130879a2fc1c45eb76403e0253e21179fc10b23074276c9b8857504647d04bc075bb8259a57d20fe
|
|
7
|
+
data.tar.gz: 2251b642b1bd6c73f929e78140da69ab0e2b7962020e7abcd936bcf565c671656814fa9c8ed34f9ebacd66fddf0b43a7c95d9348956036a4263a3dfa02cb0be9
|
data/lib/zuora_api/login.rb
CHANGED
|
@@ -1022,20 +1022,20 @@ module ZuoraAPI
|
|
|
1022
1022
|
multipart: multipart,
|
|
1023
1023
|
stream_body: stream_body
|
|
1024
1024
|
).perform(&block)
|
|
1025
|
+
|
|
1026
|
+
Rails.logger.debug("Response Code: #{response.code}") if debug
|
|
1027
|
+
begin
|
|
1028
|
+
output_json = JSON.parse(response.body)
|
|
1029
|
+
rescue JSON::ParserError => ex
|
|
1030
|
+
output_json = {}
|
|
1031
|
+
end
|
|
1032
|
+
Rails.logger.debug("Response JSON: #{output_json}") if debug && output_json.present?
|
|
1033
|
+
|
|
1034
|
+
raise_errors(type: :JSON, body: output_json, response: response)
|
|
1025
1035
|
rescue
|
|
1026
1036
|
reset_files(body) if multipart
|
|
1027
1037
|
raise
|
|
1028
1038
|
end
|
|
1029
|
-
|
|
1030
|
-
Rails.logger.debug("Response Code: #{response.code}") if debug
|
|
1031
|
-
begin
|
|
1032
|
-
output_json = JSON.parse(response.body)
|
|
1033
|
-
rescue JSON::ParserError => ex
|
|
1034
|
-
output_json = {}
|
|
1035
|
-
end
|
|
1036
|
-
Rails.logger.debug("Response JSON: #{output_json}") if debug && output_json.present?
|
|
1037
|
-
|
|
1038
|
-
raise_errors(type: :JSON, body: output_json, response: response)
|
|
1039
1039
|
rescue ZuoraAPI::Exceptions::ZuoraAPIAuthenticationTypeError => ex
|
|
1040
1040
|
if self.class.to_s == 'ZuoraAPI::Oauth' && ex.message.include?("Authentication type is not supported by this Login")
|
|
1041
1041
|
session_type = :bearer
|
data/lib/zuora_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zuora_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.59
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zuora Strategic Solutions Group
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03
|
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|