gmo-pg 1.0.7 → 1.0.8
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/gmo-pg/error.rb +4 -2
- data/lib/gmo-pg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d863133210819770763a12065e0cd5eb6943e4c
|
|
4
|
+
data.tar.gz: 475607d486067762c357c2195b2fe7ebd701e39d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39e847b6dc807878c3c89678e9c47ae1534fd3559e0dc7096d7e81cdea1455e8b4e209c313e8eebae67c7d9eb4f6d7e8775c9c24cd7a1c9732dd4f4f0c4b5dba
|
|
7
|
+
data.tar.gz: bbdfee4b442e6878505c7c09272cc009669c098cebc8d164eebd926d8d29572bc10c3121961465a09faafae6a0ccee224dc37b8d3972bc08b0ce011b7db3ea14
|
data/lib/gmo-pg/error.rb
CHANGED
|
@@ -27,7 +27,7 @@ module GMO
|
|
|
27
27
|
# E0120: Invalid SitePass
|
|
28
28
|
# E0121: Invalid SiteID and/or SitePass
|
|
29
29
|
GMO::PG::AuthorizationError.new("Authorization error (#{err_code}|#{err_info})")
|
|
30
|
-
when /\AE01(17|18|25|26|27|46|48)/, /\
|
|
30
|
+
when /\AE01(17|18|25|26|27|46|48)/, /\A(E41|42G)/
|
|
31
31
|
# E0117: Invalid CardNo
|
|
32
32
|
# E0118: Invalid Expire
|
|
33
33
|
# E0125: Invalid CardPass
|
|
@@ -36,11 +36,13 @@ module GMO
|
|
|
36
36
|
# E0146: Invalid SecurityCode
|
|
37
37
|
# E0148: Invalid HolderName
|
|
38
38
|
# E41 : Incorrect card
|
|
39
|
+
# 42G : Error on Card brand
|
|
39
40
|
GMO::PG::CardError.new("Card error (#{err_code}|#{err_info})")
|
|
40
|
-
when /\A(E61|E91|E92)/
|
|
41
|
+
when /\A(E61|E91|E92|42C)/
|
|
41
42
|
# E61: Shop configuration error
|
|
42
43
|
# E91: System error
|
|
43
44
|
# E92: Temporary unavailable
|
|
45
|
+
# 42C: Error on CAFIS or Card brand
|
|
44
46
|
GMO::PG::APIServerError.new("Temporary unavailable (#{err_code}|#{err_info})")
|
|
45
47
|
else
|
|
46
48
|
GMO::PG::APIError.new("API error (#{err_code}|#{err_info})")
|
data/lib/gmo-pg/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gmo-pg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kissy2go
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01
|
|
11
|
+
date: 2017-02-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: GMO-PG is No.1 Payment Gateway in Japan. See https://www.gmo-pg.com for
|
|
14
14
|
details.
|