gmo-pg 1.0.10 → 1.0.11
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 +11 -10
- data/lib/gmo-pg/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56de8d56bc391d6d24c9958cb0f2a44114c12710
|
|
4
|
+
data.tar.gz: 3534cece93b2518c010994217bc6aa09a81a5b13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21aaba742ea204e30cea8c5df95d2c43b3baf4f85bfcff8b0be00fd1dcf4df5bcccfec7fc2a6d2dec5eaa18b69e4fed6691b6afa899f6d6392a5733d96ef5d2c
|
|
7
|
+
data.tar.gz: 5acf4faaa116bd83fa5c6204b99d3c5460fe6e0872ad7a5b4d1e8a53bcd8232bce1687570142c982f8c25e92ec20be53e42d638f2bd633f765604d19a7a19cd9
|
data/lib/gmo-pg/error.rb
CHANGED
|
@@ -27,16 +27,17 @@ 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)/, /\A(E41|42G)/
|
|
31
|
-
# E0117: Invalid CardNo
|
|
32
|
-
# E0118: Invalid Expire
|
|
33
|
-
# E0125: Invalid CardPass
|
|
34
|
-
# E0126: Invalid Method
|
|
35
|
-
# E0127: Invalid PayTimes
|
|
36
|
-
# E0146: Invalid SecurityCode
|
|
37
|
-
# E0148: Invalid HolderName
|
|
38
|
-
# E41
|
|
39
|
-
# 42G
|
|
30
|
+
when /\AE01(17|18|25|26|27|46|48)/, /\A(E41|42G)/, /\AE61010002\Z/
|
|
31
|
+
# E0117 : Invalid CardNo
|
|
32
|
+
# E0118 : Invalid Expire
|
|
33
|
+
# E0125 : Invalid CardPass
|
|
34
|
+
# E0126 : Invalid Method
|
|
35
|
+
# E0127 : Invalid PayTimes
|
|
36
|
+
# E0146 : Invalid SecurityCode
|
|
37
|
+
# E0148 : Invalid HolderName
|
|
38
|
+
# E41 : Incorrect card
|
|
39
|
+
# 42G : Error on Card brand
|
|
40
|
+
# E61010002: Incorrect card or invalid CardNo
|
|
40
41
|
GMO::PG::CardError.new('Card error', err_code, err_info)
|
|
41
42
|
when /\A(E61|E91|E92|42C)/
|
|
42
43
|
# E61: Shop configuration error
|
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.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kissy2go
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-03-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.
|
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
76
76
|
version: '0'
|
|
77
77
|
requirements: []
|
|
78
78
|
rubyforge_project:
|
|
79
|
-
rubygems_version: 2.
|
|
79
|
+
rubygems_version: 2.5.1
|
|
80
80
|
signing_key:
|
|
81
81
|
specification_version: 4
|
|
82
82
|
summary: Ruby bindings for GMO-PG Multi-Payment Service
|