wx_pay 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wx_pay/service.rb +3 -3
- data/lib/wx_pay/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e2ef32e3f0b95291c1706e63e7ca442a35b96e906a073f943a7ed35cf7d9dcb
|
4
|
+
data.tar.gz: d09338bf30b92bce4d57478c827bc5363b1cba89721074b9e78a91ecfe44c46b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd06f0af4905ba3784bc8091b9bd4736a04c5c1a096e4b37416c4c70544cf0e394d793ddce6c9245baf3e4eac0bbc387f86b787e548dc761c877b71165e355e0
|
7
|
+
data.tar.gz: d454490c92b60ad90f785c91514271575d3352c1e25b66db3ef13ccdb743b4356db29ae522724be0a2b0a87bec674bf6cfb2460dfe4c167570f38801ce00f731
|
data/lib/wx_pay/service.rb
CHANGED
@@ -28,7 +28,7 @@ module WxPay
|
|
28
28
|
::JSON.parse(RestClient::Request.execute(
|
29
29
|
{
|
30
30
|
method: :get,
|
31
|
-
|
31
|
+
headers: {params: payload},
|
32
32
|
url: url
|
33
33
|
}.merge(options)
|
34
34
|
), quirks_mode: true)
|
@@ -58,7 +58,7 @@ module WxPay
|
|
58
58
|
::JSON.parse(RestClient::Request.execute(
|
59
59
|
{
|
60
60
|
method: :get,
|
61
|
-
|
61
|
+
headers: {params: payload},
|
62
62
|
url: url
|
63
63
|
}.merge(options)
|
64
64
|
), quirks_mode: true)
|
@@ -450,7 +450,7 @@ module WxPay
|
|
450
450
|
|
451
451
|
r
|
452
452
|
end
|
453
|
-
|
453
|
+
|
454
454
|
# 用于商户对已发放的红包进行查询红包的具体信息,可支持普通红包和裂变包。
|
455
455
|
GETHBINFO_FIELDS = [:mch_billno, :bill_type]
|
456
456
|
def self.gethbinfo(params, options = {})
|
data/lib/wx_pay/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wx_pay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jasl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|