geee_pay 0.1.2 → 0.1.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 +27 -1
- data/lib/geee_pay/version.rb +1 -1
- data/lib/generators/geee_pay/templates/migration.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b45e66fa3b5452f40f499bf7e0784b1bb80d60fe
|
4
|
+
data.tar.gz: acab441270d3568b8cbbd65fa53028abcefe890f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b13af620a8a5f0bd370e87ff6d545591027820e281606fb9cc38fbbff3961a85f5e77b8615f63a61b99b3a278d282bc8f93014c76dde4ab55bf842c7fede3ecf
|
7
|
+
data.tar.gz: ca23a48fef63b816308be42530e98d59bb830c6ea444e5cc22f091827c9a6da81dbd708e1d3d64158817eaaab1ebe96f4320eae581726c3449deef44ac0720a1
|
data/README.md
CHANGED
@@ -22,7 +22,33 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
Configuration
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
##################TEST##################
|
29
|
+
# 接口地址
|
30
|
+
GeeePay.api_base_url = 'http://geeepay.com:8080/payment'
|
31
|
+
# 商户账号
|
32
|
+
GeeePay.mer_id = '201711291554826020'
|
33
|
+
# 商户key
|
34
|
+
GeeePay.mer_key = 'e1af71ed03d26df65ed0b056d3be9fca'
|
35
|
+
|
36
|
+
##################PROD##################
|
37
|
+
# # 接口地址
|
38
|
+
# GeeePay.api_base_url = 'http://geeepay.com:8080/payment'
|
39
|
+
# # 商户账号
|
40
|
+
# GeeePay.mer_id = '201711291554826020'
|
41
|
+
# # 商户key
|
42
|
+
# GeeePay.mer_key = 'e1af71ed03d26df65ed0b056d3be9fca'
|
43
|
+
|
44
|
+
# GeeePay.debug_mode = false
|
45
|
+
```
|
46
|
+
|
47
|
+
Add Migration
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
rails g geee_pay:migration
|
51
|
+
```
|
26
52
|
|
27
53
|
## Development
|
28
54
|
|
data/lib/geee_pay/version.rb
CHANGED