README.md in geee_pay-0.1.2 vs README.md in geee_pay-0.1.3
- old
+ new
@@ -20,10 +20,36 @@
$ gem install geee_pay
## Usage
-TODO: Write usage instructions here
+Configuration
+
+```ruby
+##################TEST##################
+# 接口地址
+GeeePay.api_base_url = 'http://geeepay.com:8080/payment'
+# 商户账号
+GeeePay.mer_id = '201711291554826020'
+# 商户key
+GeeePay.mer_key = 'e1af71ed03d26df65ed0b056d3be9fca'
+
+##################PROD##################
+# # 接口地址
+# GeeePay.api_base_url = 'http://geeepay.com:8080/payment'
+# # 商户账号
+# GeeePay.mer_id = '201711291554826020'
+# # 商户key
+# GeeePay.mer_key = 'e1af71ed03d26df65ed0b056d3be9fca'
+
+# GeeePay.debug_mode = false
+```
+
+Add Migration
+
+```ruby
+rails g geee_pay:migration
+```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.