active_merchant-epsilon 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/active_merchant/billing/convenience_store.rb +4 -1
- data/lib/active_merchant/epsilon/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: 1f4e1c7df6de6aabe6c638527d60444b893a92db
|
4
|
+
data.tar.gz: 5844189d36278b609458760dced58f7fa7b44d00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24bbae695fbc0cedf0a19295d281735306a68e37ba636f1c398936a49c343eec7e76d1c5cf3009ae7a7158c5d7b9a88c4b90cea7fcf6760c26ddf4b98ffd919b
|
7
|
+
data.tar.gz: 6416a376a722d6671e3d9d3d6b991416bf2eca807bf01dda97a3157fca21fc9bdc7063610bb6e243ed8ea26ba239fb4ce3bc813156ff82cbadae8799b94839b6
|
data/README.md
CHANGED
@@ -238,7 +238,7 @@ gateway.verify(credit_card, user_id: 'user_id', user_email: 'user@example.com')
|
|
238
238
|
|
239
239
|
If epsilon server returns status excepted 200, `#purchase` method raise `ActiveMerchant::ResponseError`.
|
240
240
|
|
241
|
-
When your request parameters are wrong(e.g. contract_code), the method
|
241
|
+
When your request parameters are wrong(e.g. contract_code), the method returns failure response.
|
242
242
|
|
243
243
|
- `#success?` returns `false`
|
244
244
|
- `#params` has error detail
|
@@ -6,6 +6,9 @@ module ActiveMerchant
|
|
6
6
|
FAMILY_MART = 21
|
7
7
|
LAWSON = 31
|
8
8
|
SEICO_MART = 32
|
9
|
+
MINI_STOP = 33
|
10
|
+
CIRCLE_K = 35
|
11
|
+
SUNKUS = 36
|
9
12
|
end
|
10
13
|
|
11
14
|
def initialize(code:, full_name_kana:, phone_number:)
|
@@ -48,7 +51,7 @@ module ActiveMerchant
|
|
48
51
|
end
|
49
52
|
|
50
53
|
def valid_code?(code)
|
51
|
-
[Code::SEVEN_ELEVEN, Code::FAMILY_MART, Code::LAWSON, Code::SEICO_MART].include?(code.to_i)
|
54
|
+
[Code::SEVEN_ELEVEN, Code::FAMILY_MART, Code::LAWSON, Code::SEICO_MART, Code::MINI_STOP, Code::CIRCLE_K, Code::SUNKUS].include?(code.to_i)
|
52
55
|
end
|
53
56
|
end
|
54
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_merchant-epsilon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenichi TAKAHASHI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|