rock_fintech 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1455c5df26f60d1ef4f97cbb6b20eb5806c5631
4
- data.tar.gz: e387fa8080bfe110989838bde8588ee942d8e350
3
+ metadata.gz: 83bd234e71e802b0586574e454f5690617c49729
4
+ data.tar.gz: ff872fc8b0a3b76db11a355a9dab5c4997d21f76
5
5
  SHA512:
6
- metadata.gz: e9940cb383c73bac3df127b1cddf618af7eae4342e019bb28772ef308ecccfbd857e9a4aa7ea926ec1ba8782c2073c048928cf2de91029b66c5d5abf0bb275b1
7
- data.tar.gz: b2f60afaceb4e4834370995b0250409203641f7c8157636411aa337bb96fad00d47e3a10a88a656deb273366a8c9cfcd8c6b0e40d67b225336f088b2657fdf66
6
+ metadata.gz: 583e396d562e364643eea940d12e49ff73667cf8987989abc8e51d8d2f2ca06da310afab2dc077abfb90b9ca76732091a96991748a9fd675c1129ac0cd31a8ca
7
+ data.tar.gz: 73928a5733f293de33428d333c53f0b34cdc59a71d63c3b1335de9f407e547e0e6aef0d9a87938b2682bda3abc43fab8cda883e9d890826003418a5e68383812
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ module RockFintech
3
+ module Api
4
+ module Account
5
+ module BindingList
6
+ # 电子账户绑卡关系查询
7
+ #
8
+ # @return [ Hash ] 结果集
9
+ # * :result [String] "S"/"F"/"P"
10
+ # * :request_params [Hash] 请求参数
11
+ # * :response [Object] 请求返回对象
12
+ # * :code [String] 结果代码
13
+ # * :msg [String] 结果信息
14
+ # * :data: 具体业务返回信息
15
+ # * :card_no [String] 电子账号
16
+ # * :name [String] 持卡人姓名
17
+ # * :sign_flag [String] 签约状态 0:未签约 1:已签约
18
+ # * :sign_date [String] 签约日期
19
+ # * :sign_time [String] 签约时间
20
+ # * :states [String] 解绑状态
21
+ # * :revoke_sign_date [String] 签约取消日期
22
+ # * :revoke_sign_time [String] 签约取消时间
23
+ #
24
+ def binding_list(card_no, devise='000001', remark='')
25
+ service = 'binding_list'
26
+
27
+ params = {
28
+ card_no: card_no,
29
+ client: devise,
30
+ custom: remark,
31
+ }
32
+
33
+ res = operate_post(:query, service, params, Http::ErrorCode.binding_list, ['RD000000'])
34
+
35
+ res
36
+ end
37
+
38
+ end # module
39
+ end
40
+ end
41
+ end
@@ -52,6 +52,10 @@ module RockFintech
52
52
  def self.set_password_query
53
53
  @_set_password_query ||= %w[]
54
54
  end
55
+
56
+ def self.binding_list
57
+ @_binding_list ||= %w[]
58
+ end
55
59
  end # module ErrorCode
56
60
  end
57
61
  end
@@ -40,7 +40,7 @@ module RockFintech
40
40
  @_trustee_pay_query ||= %w[]
41
41
  end
42
42
 
43
- def batch_new_query_coupon_b
43
+ def self.batch_new_query_coupon_b
44
44
  @_batch_new_query_coupon_b || %w[]
45
45
  end
46
46
  end # module ErrorCode
@@ -1,3 +1,3 @@
1
1
  module RockFintech
2
- VERSION = "0.16.0"
2
+ VERSION = "0.17.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock_fintech
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - chenpengyu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-23 00:00:00.000000000 Z
11
+ date: 2018-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -159,6 +159,7 @@ files:
159
159
  - lib/rock_fintech/api/account/account_balance.rb
160
160
  - lib/rock_fintech/api/account/account_credits.rb
161
161
  - lib/rock_fintech/api/account/account_transaction_query.rb
162
+ - lib/rock_fintech/api/account/binding_list.rb
162
163
  - lib/rock_fintech/api/account/create_account_sr_query.rb
163
164
  - lib/rock_fintech/api/account/find_account_by_id.rb
164
165
  - lib/rock_fintech/api/account/find_account_by_mobile.rb