zuora_api 1.3.99999 → 1.3.999991
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/Gemfile.lock +1 -1
- data/lib/zuora_api/login.rb +2 -2
- data/lib/zuora_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b140c495be178f0ecac349daf8ce7a039626c3f
|
|
4
|
+
data.tar.gz: cf3722ba84b540f4e46f4b659f9b630739b6f802
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5d16412bda87ffc9f36c0c03528ecde4e02422d51070a0ec0da3b40f88060ffe1040eba8d4d70ffa11c654133904df53f2bf18554b37e099e40495c4ef66efb
|
|
7
|
+
data.tar.gz: 0efada802f143d0807c4f5da0601c5344d5f5b2ce92dda8443ccff00f51df20523daea9301dad8add091d5a54949c5cd18e2d299635a30f107854d06008ed6a9
|
data/Gemfile.lock
CHANGED
data/lib/zuora_api/login.rb
CHANGED
|
@@ -354,13 +354,13 @@ module ZuoraAPI
|
|
|
354
354
|
end
|
|
355
355
|
end
|
|
356
356
|
end
|
|
357
|
-
|
|
357
|
+
|
|
358
358
|
#Zuora REST Actions error (Create, Update, Delete)
|
|
359
359
|
if body.class == Array
|
|
360
360
|
all_errors = body.select {|obj| !obj['Success']}.map {|obj| obj['Errors']}
|
|
361
361
|
all_success = body.select {|obj| obj['Success']}
|
|
362
362
|
if all_errors.size > 0
|
|
363
|
-
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{all_errors.flatten.group_by {|error| error['Message']}.keys.join('
|
|
363
|
+
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("#{all_errors.flatten.group_by {|error| error['Message']}.keys.uniq.join(' ')}", nil, nil, all_errors, all_success )
|
|
364
364
|
end
|
|
365
365
|
end
|
|
366
366
|
|
data/lib/zuora_api/version.rb
CHANGED