zuora_api 1.7.61a → 1.7.61
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zuora_api/login.rb +10 -10
- data/lib/zuora_api/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d31561dcdcc0bdbc0dc7108ec1d62e8d5b8f5f5c2c1e0ad5d51162369ac47b5
|
4
|
+
data.tar.gz: 4468ca947ace291f699dfb6f5264802afa70eaab32c7b160e15073640762379c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4109c0a2cb34b65b983536df20f759a889ae835547707f51288656c2693bc117f4bdf069545951b68d2636a26a3c8ebb7f0b5c537aa5667fc77770d9eeb4f870
|
7
|
+
data.tar.gz: '014409f4dac296fe75c85f94aca6430e5c2af5c99761e15a9747a6ed139f00d897f1ea3a4e1de08e96953a476e3a9505dbcc2de43ed02087bd24b615f3ef25b4'
|
data/lib/zuora_api/login.rb
CHANGED
@@ -1024,20 +1024,20 @@ module ZuoraAPI
|
|
1024
1024
|
multipart: multipart,
|
1025
1025
|
stream_body: stream_body
|
1026
1026
|
).perform(&block)
|
1027
|
+
|
1028
|
+
Rails.logger.debug("Response Code: #{response.code}") if debug
|
1029
|
+
begin
|
1030
|
+
output_json = JSON.parse(response.body)
|
1031
|
+
rescue JSON::ParserError => ex
|
1032
|
+
output_json = {}
|
1033
|
+
end
|
1034
|
+
Rails.logger.debug("Response JSON: #{output_json}") if debug && output_json.present?
|
1035
|
+
|
1036
|
+
raise_errors(type: :JSON, body: output_json, response: response)
|
1027
1037
|
rescue
|
1028
1038
|
reset_files(body) if multipart
|
1029
1039
|
raise
|
1030
1040
|
end
|
1031
|
-
|
1032
|
-
Rails.logger.debug("Response Code: #{response.code}") if debug
|
1033
|
-
begin
|
1034
|
-
output_json = JSON.parse(response.body)
|
1035
|
-
rescue JSON::ParserError => ex
|
1036
|
-
output_json = {}
|
1037
|
-
end
|
1038
|
-
Rails.logger.debug("Response JSON: #{output_json}") if debug && output_json.present?
|
1039
|
-
|
1040
|
-
raise_errors(type: :JSON, body: output_json, response: response)
|
1041
1041
|
rescue ZuoraAPI::Exceptions::ZuoraAPIAuthenticationTypeError => ex
|
1042
1042
|
if self.class.to_s == 'ZuoraAPI::Oauth' && ex.message.include?("Authentication type is not supported by this Login")
|
1043
1043
|
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.61
|
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-04-
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -182,9 +182,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
182
|
version: '0'
|
183
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - "
|
185
|
+
- - ">="
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
187
|
+
version: '0'
|
188
188
|
requirements: []
|
189
189
|
rubygems_version: 3.0.3
|
190
190
|
signing_key:
|