ach_client 0.6.5 → 0.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53af6bdeb431e497b2cb9973ffd59fc02f6aa6b6
|
4
|
+
data.tar.gz: 41ff3a0115650a12f627c3cdfca4500301ca4225
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e871b86cb7045baaac422410b22fee420a3db22f1a6c2d82b479b446d785a55ed4ff1f0208747bd304280c3bcda1d4a9d3fbfc7c04d1db433f22d9e7b512ffda
|
7
|
+
data.tar.gz: eb17248f02c4549b71d529747584b7e8db55d9e4662e246bbf4ca13f17a77e01feb93083ca0b73a4210918f8179ade147563b33d1b143a3c62d13b363f18a43d
|
@@ -7,7 +7,11 @@ module AchClient
|
|
7
7
|
# they are discovered
|
8
8
|
KNOWN_ERROR_STRINGS = [
|
9
9
|
# ICheckGateway has a rate limit of 20 requests per calendar day
|
10
|
-
"ACCESS DENIED: Report Call Limit Exceeded"
|
10
|
+
"ACCESS DENIED: Report Call Limit Exceeded",
|
11
|
+
# The date range can't be wider than 15 days
|
12
|
+
"ACCESS DENIED: Date Range Exceeds 15 Days",
|
13
|
+
# Because so far they all contain ACCESS_DENIED:
|
14
|
+
"ACCESS_DENIED"
|
11
15
|
]
|
12
16
|
|
13
17
|
##
|
@@ -25,7 +29,7 @@ module AchClient
|
|
25
29
|
def self.check_for_errors(record)
|
26
30
|
KNOWN_ERROR_STRINGS.each do |error_string|
|
27
31
|
if record.include?(error_string)
|
28
|
-
raise "Couldnt process ICheckGateway Response: #{
|
32
|
+
raise "Couldnt process ICheckGateway Response: #{record}"
|
29
33
|
end
|
30
34
|
end
|
31
35
|
end
|
data/lib/ach_client/version.rb
CHANGED