geee_pay 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a92f8d1307051c523b24f69407dba85adf50732d
4
- data.tar.gz: db1e468cf0cec62ca519aa18c750ff09dea9b5fc
3
+ metadata.gz: 6452e5f27d7d3a6c66e60c8fa6b906db7ce2b414
4
+ data.tar.gz: 1f87ca94a92d5a2af6694ac4b596edeff62f2160
5
5
  SHA512:
6
- metadata.gz: 8ad5238ea634198199332bb352d21fef25a10ce05184196f4981c5b93ee545536d31a6fa396c5fa388e2089379237cc692f03658559918de90ed768e7db68b26
7
- data.tar.gz: 907f9f02e69d5c94d04da9d1312c0f7f03f67f6030e37fe140f62931859b90734f880d5d188a136aed648029cbeec1204d3678a8120e0180aaf9cfbc77ccdc79
6
+ metadata.gz: 097303b7a69618d40103fbd5032e3506e0fd4224c2b2107e85f1407c81fbcd0c42b3f23cc4dac5daae09cd3d0813cfb813d1bd7279e1d5fdabbc91e629d70eb4
7
+ data.tar.gz: 868cbb2d08752e001863903eba17b26ec8d3f240fa9daccf6373592e357c5407b5ef2cbe18d01ec35944b93e611f2ed9249ac074a6c3892f28cb650614366d07
data/config/routes.rb ADDED
@@ -0,0 +1,3 @@
1
+ GeeePay::Engine.routes.draw do
2
+ post "notify" => "notify#index"
3
+ end
@@ -1,3 +1,3 @@
1
1
  module GeeePay
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/geee_pay.rb CHANGED
@@ -28,6 +28,9 @@ module GeeePay
28
28
  # 帐户余额查询-接口
29
29
  SERVICE_BALANCE_QUERY = 'QueryMerBalance.do'
30
30
 
31
+ # 接口路径
32
+ API_POST_NOTICE_URL = '/api/geee_pay/notify'
33
+
31
34
  class<< self
32
35
  # mer_id 商户账号
33
36
  # mer_key 加密key
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geee_pay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry.Tu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2018-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -98,6 +98,7 @@ files:
98
98
  - app/models/geee_pay/notice.rb
99
99
  - bin/console
100
100
  - bin/setup
101
+ - config/routes.rb
101
102
  - geee_pay.gemspec
102
103
  - geee_pay.rb
103
104
  - lib/geee_pay.rb