zuora_api 1.7.29 → 1.7.30
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/exceptions.rb +2 -0
- data/lib/zuora_api/login.rb +1 -1
- data/lib/zuora_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '088c69a0893c51d7bb989964195a37e91f83f986ea868f731ca95f40955cd766'
|
|
4
|
+
data.tar.gz: 32b45fea982e3d2cef187204de2a79d0c4675fb9cfbf650aefd8fab93352e275
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47fe26f1a93d812899e64b2538df370079796a8a24cb07af26bb06d9433540bf0c9bd72e3c7433bcc720e3fe6a25e5ab3ebcc89a2e5a051e090212c21b6edc9c
|
|
7
|
+
data.tar.gz: 71836a1d0decc3efdd966fb3b858a3eddddf4e04e66db04288ca03b48f1b37fbae939846381eb48ae86585c611c2fe4e054696ed78b18380fbeacf3afb622587
|
data/lib/zuora_api/exceptions.rb
CHANGED
|
@@ -47,6 +47,8 @@ module ZuoraAPI
|
|
|
47
47
|
case message
|
|
48
48
|
when /Payment status should be Processed. Invalid payment is P-\d*./
|
|
49
49
|
@message = "Payment status should be Processed."
|
|
50
|
+
when /Adjustment cannot be created for invoice(.*) with a zero balance./
|
|
51
|
+
@message = "Adjustment cannot be created for invoice with a zero balance."
|
|
50
52
|
else
|
|
51
53
|
@message = message
|
|
52
54
|
end
|
data/lib/zuora_api/login.rb
CHANGED
|
@@ -732,7 +732,7 @@ module ZuoraAPI
|
|
|
732
732
|
else
|
|
733
733
|
raise ZuoraAPI::Exceptions::ZuoraAPIError.new(message, response, errors, success)
|
|
734
734
|
end
|
|
735
|
-
when /INVALID_ID/, /MAX_RECORDS_EXCEEDED/, /INVALID_FIELD/, /MALFORMED_QUERY/, /NO_PERMISSION/, /PDF_QUERY_ERROR/, /MISSING_REQUIRED_VALUE/
|
|
735
|
+
when /INVALID_ID/, /MAX_RECORDS_EXCEEDED/, /INVALID_FIELD/, /MALFORMED_QUERY/, /NO_PERMISSION/, /PDF_QUERY_ERROR/, /MISSING_REQUIRED_VALUE/, /INVALID_TYPE/
|
|
736
736
|
raise ZuoraAPI::Exceptions::ZuoraAPIError.new(message, response, errors, success)
|
|
737
737
|
when /.*soapenv:Server.*/
|
|
738
738
|
raise ZuoraAPI::Exceptions::ZuoraAPIInternalServerError.new("#{error}::#{message}", response, errors, success)
|
data/lib/zuora_api/version.rb
CHANGED