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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cbb707c3e377f06aed3ae84c7d405a1091a45e62585ecebfecfab13f3de7c44
4
- data.tar.gz: ee75f73c3842d83640437145b71f6438bfe998c55fcf1de668842ab278b560b2
3
+ metadata.gz: 8e2ef32e3f0b95291c1706e63e7ca442a35b96e906a073f943a7ed35cf7d9dcb
4
+ data.tar.gz: d09338bf30b92bce4d57478c827bc5363b1cba89721074b9e78a91ecfe44c46b
5
5
  SHA512:
6
- metadata.gz: 5e445241334bbff574199d93041717b307a1ee07fdddc7128ac99b483b438773753733f648b9a1422dcbdf4b764ffbe40ed34c7b1b2ade8f18454f0c5bac39fd
7
- data.tar.gz: 1f0c1b37452a65b5a2a5dcfbbf88e4083c22eca317a1978364baf038407b74892ff99c380b84c4feaa7c427b081696ccebb2beb56bdd6ab4abdf07c656641d2e
6
+ metadata.gz: bd06f0af4905ba3784bc8091b9bd4736a04c5c1a096e4b37416c4c70544cf0e394d793ddce6c9245baf3e4eac0bbc387f86b787e548dc761c877b71165e355e0
7
+ data.tar.gz: d454490c92b60ad90f785c91514271575d3352c1e25b66db3ef13ccdb743b4356db29ae522724be0a2b0a87bec674bf6cfb2460dfe4c167570f38801ce00f731
@@ -28,7 +28,7 @@ module WxPay
28
28
  ::JSON.parse(RestClient::Request.execute(
29
29
  {
30
30
  method: :get,
31
- payload: payload,
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
- payload: payload,
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 = {})
@@ -1,3 +1,3 @@
1
1
  module WxPay
2
- VERSION = '0.19.0'.freeze
2
+ VERSION = '0.20.0'.freeze
3
3
  end
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.19.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 00:00:00.000000000 Z
11
+ date: 2019-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client