zuora_api 0.2.7.5 → 0.2.7.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e97d6978dd7029e6375fb16c2a1f042af71d4cfa
4
- data.tar.gz: 8153e1c2eb908d3d1b8f4bbf1bf4370fbe518582
3
+ metadata.gz: 84fd5941e62ad3400ccd60635898aff35990d673
4
+ data.tar.gz: 364f7c84655db5beb5753d90d92bf438650109c1
5
5
  SHA512:
6
- metadata.gz: 78439a1f7b3c7bc506622136d5561d76330ac24a284ea38378b0b132b2b1057654c2e3b40f25365b1e20fd81e36a2a680e7339f72deec7e6b7367334dbe2a45d
7
- data.tar.gz: 9a1c0923e41f585c4021e45c397b98ed38c6081ca64ef1481d434398caa0ff3614448951978be5763704dd5f3b8e155378152ab4d9a79f847715d746c004329a
6
+ metadata.gz: 1a667d217f5a8f408a57ce06f11114c019722a1d91b5bb108e1dba121623c973ed1409e7205e74ce334bc0b7152e775785e5f95c25237149f9f06e5702dc37bd
7
+ data.tar.gz: 259382e10bcd9fb3bd14ae971c89f52315588b90df06ac6fb78a6f071554b77594ead5239f2f947db1afd3a5d9161b26a6c179334adf1b35b90cbcbf16314c46
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zuora_api (0.2.7.5)
4
+ zuora_api (0.2.7.6)
5
5
  httparty
6
6
  nokogiri (~> 1.6.8)
7
7
  railties (>= 4.1.0, < 5.1)
@@ -269,7 +269,7 @@ module ZuoraAPI
269
269
  output_json = JSON.parse(response.body)
270
270
  Rails.logger.debug('Connect') {"Response JSON: #{output_json}"} if debug
271
271
  raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new("#{output_json["reasons"][0]["message"]}") if !output_json["success"] && response.code != 200 && output_json["reasons"][0]["code"] == 90000011
272
- raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{output_json["reasons"][0]["code"]}::#{output_json["reasons"][0]["message"]}") if !output_json["success"] || response.code != 200
272
+ raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{output_json["reasons"][0]["code"]}::#{output_json["reasons"][0]["message"]}") if !output_json["success"] || !output_json["done"] || response.code != 200
273
273
  rescue ZuoraAPI::Exceptions::ZuoraAPISessionError => ex
274
274
  if !(tries -= 1).zero?
275
275
  Rails.logger.debug {"Session Invalid"}
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "0.2.7.5"
2
+ VERSION = "0.2.7.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7.5
4
+ version: 0.2.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group