zuora_api 1.7.66l → 1.7.66m

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
  SHA256:
3
- metadata.gz: c1e7148b986fd12ca03a813e2788cdea607566dd9b48e10d034a23c9f8d44a86
4
- data.tar.gz: def4d7bf9687461ec02fef191f698d526b3235fd241c46b90783e9e430da7b51
3
+ metadata.gz: 898385c59ee720160006d5c40ed7853a8493d5c78491a3c907c6eea422d9e873
4
+ data.tar.gz: a69076960b516476aa0f19c0518e20239357d5e0bb4ba83fcb18c2c985935bdd
5
5
  SHA512:
6
- metadata.gz: 97c0a7a74b952ff7cc6216e62fbff45b291e99b7624d51334f5316c485ab3c0c471078253f5d7a56a8e50145b44a12cf566fb36bf0c7dd700a3484e9a349479a
7
- data.tar.gz: 42f3e28cfaefe1dcdd4062ec5bea73b692187f8b3c3b0d20d3623d1bb0354cee02d7d47420b9a8074835fa2fb8765737f575f9f6100960400f3c8b92b899a854
6
+ metadata.gz: ec6f92a0334033bd1b3fdfabcf4577f50dad9f18d43253abf89db198096b9fec15977922d715949e7075fa2713901d39d4b4da89e25b5374b1495de796423f41
7
+ data.tar.gz: 0217c3d47b9b7ef5f0e7b7785be8b0f0d07f3c62672e8c86181f0d24dd5c0e43c615fee8e27dbebd30d09d11b9505952457ab38ad5cffaa0a7584b8a8002c270
@@ -1405,8 +1405,16 @@ module ZuoraAPI
1405
1405
  raise ZuoraAPI::Exceptions::ZuoraAPISessionError.new(self.current_error)
1406
1406
  end
1407
1407
  raise
1408
+ when Net::HTTPNotFound
1409
+ if url.include?(self.fileURL)
1410
+ raise ZuoraAPI::Exceptions::FileDownloadError.new(
1411
+ "The current tenant does not have a file with id '#{url.split('/').last}'"
1412
+ )
1413
+ else
1414
+ raise ZuoraAPI::Exceptions::FileDownloadError.new("File Download Failed #{response.class}")
1415
+ end
1408
1416
  else
1409
- raise ZuoraAPI::Exceptions::FileDownloadError.new("File Download Failed #{response.class} - #{response.body}")
1417
+ raise ZuoraAPI::Exceptions::FileDownloadError.new("File Download Failed #{response.class}")
1410
1418
  end
1411
1419
  end
1412
1420
 
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.7.66l"
2
+ VERSION = "1.7.66m"
3
3
  end
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.66l
4
+ version: 1.7.66m
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-07-23 00:00:00.000000000 Z
11
+ date: 2020-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler