reapal 0.13.0 → 0.14.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: 933239e178b7831d94e53890f3c6cf7872d9c200
4
- data.tar.gz: 7185eb673ab022c43bacf94f33ab4ec096198adc
3
+ metadata.gz: ff02048a22fed247f73df2a337aaa7a297ee3f07
4
+ data.tar.gz: 9378b70a079b539b7117d2929ac55fce4952cb3f
5
5
  SHA512:
6
- metadata.gz: 77be2b0b6d40152062abec21bb7e3ad055893995a7d1929dbe16059ae2b5fcde5eee898a8fd756ff4f2462e4d94f48177d83313d569b10680f7f48faa86c0417
7
- data.tar.gz: da5cf00afe6ded2bffcad57ccc19ae4fc4c91eb4b895deb3ad0474e0b942e76e6c04b460dac964bd769b238fcdbad705cd7d73bb1902189bfd930fd678dd5677
6
+ metadata.gz: c21f2f8a8be51ac1c876d321f8a233dada2bd41867d4c44c5c06d951009ec68d21fa473d171cb695b0e74e1b7100add8bb6166e19435f3c65cb384dda144d9a4
7
+ data.tar.gz: 48095e955245289eac54c93bef10bc066b6e34fa4a279869b3c0d9bef33cb771753c2e4edcd4da750fb1c2992d12503d9aaeb0af379db2e012e2bdd5af31a1e7
@@ -0,0 +1,43 @@
1
+ module Reapal
2
+ module Form
3
+ module ComUpdateInfoForm
4
+
5
+ # 1.3 企业信息修改
6
+ #
7
+ # @param flow_id [ String ] 订单号
8
+ # @param contract [ String ] 协议号
9
+ # @param return_url [ String ] 回调 URL
10
+ # @param notify_url [ String ] 通知 URL
11
+ # @param busway [ String ] 设备通道,默认手机端 00:PC端;01:移动端H5页面
12
+ # @param remark [ String ] 备注
13
+ #
14
+ # @return [ Hash ] 结果集
15
+ # * :form_method
16
+ # * :method
17
+ # * :url
18
+ # * :form_data
19
+ # * :merchant_id
20
+ # * :encryptkey
21
+ # * :data
22
+ #
23
+ def com_update_info_form(flow_id, contract, return_url, notify_url,
24
+ busway='01', remark='')
25
+ service = 'reapal.trust.comUpadteInfo'
26
+ post_path = '/agreement/agree.htm'
27
+
28
+ params = {
29
+ orderNo: flow_id,
30
+ contracts: contract,
31
+ busway: busway,
32
+ returnUrl: return_url,
33
+ notifyUrl: notify_url,
34
+ remark: remark,
35
+ applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
36
+ }
37
+
38
+ get_form_data(service, params, post_path)
39
+ end
40
+
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,40 @@
1
+ # coding: utf-8
2
+
3
+ module Reapal
4
+ module Form
5
+ module FindTradePassowrdForm
6
+
7
+ # 1.9 重置交易密码
8
+ #
9
+ # @param contract [String] 用户协议号
10
+ # @param return_url [String] 回调 url
11
+ # @param notify_url [String] 通知 url
12
+ # @param busway [String] 设备通道,默认手机端。00:PC端;01:手机端;02:Pad端;03:其它
13
+ #
14
+ # @return [ Hash ] 结果集
15
+ # * :form_method
16
+ # * :method
17
+ # * :url
18
+ # * :form_data
19
+ # * :merchant_id
20
+ # * :encryptkey
21
+ # * :data
22
+ #
23
+ def reset_trade_password_form(contract, return_url, notify_url, busway='01')
24
+ service = 'reapal.trust.resetTradePassword'
25
+ post_path = '/findTradePassword/resetTradePassword.htm'
26
+
27
+ params = {
28
+ contracts: contract,
29
+ busway: busway,
30
+ returnUrl: return_url,
31
+ notifyUrl: notify_url,
32
+ applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
33
+ }
34
+
35
+ get_form_data(service, params, post_path)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -1,3 +1,3 @@
1
1
  module Reapal
2
- VERSION = "0.13.0"
2
+ VERSION = "0.14.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reapal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tony
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -106,7 +106,7 @@ dependencies:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: 1.8.4
109
- description: "富民银行的存管实现"
109
+ description: 富民银行的存管实现
110
110
  email:
111
111
  - tony@omniaccount.com
112
112
  executables: []
@@ -164,12 +164,14 @@ files:
164
164
  - lib/reapal/form/business_auth_form.rb
165
165
  - lib/reapal/form/close_account_form.rb
166
166
  - lib/reapal/form/com_contract_form.rb
167
+ - lib/reapal/form/com_update_info_form.rb
167
168
  - lib/reapal/form/deposit_apply_form.rb
168
169
  - lib/reapal/form/find_trade_password_form.rb
169
170
  - lib/reapal/form/form_helper.rb
170
171
  - lib/reapal/form/member_payment_form.rb
171
172
  - lib/reapal/form/mobile_modify_form.rb
172
173
  - lib/reapal/form/refund_guarant_payment_form.rb
174
+ - lib/reapal/form/reset_trade_password_form.rb
173
175
  - lib/reapal/form/signle_tender_transfer_form.rb
174
176
  - lib/reapal/form/tender_apply_confirm_form.rb
175
177
  - lib/reapal/form/tender_invest_form.rb
@@ -210,8 +212,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
212
  version: '0'
211
213
  requirements: []
212
214
  rubyforge_project:
213
- rubygems_version: 2.4.8
215
+ rubygems_version: 2.6.14
214
216
  signing_key:
215
217
  specification_version: 4
216
- summary: "融宝支付的SDK"
218
+ summary: 融宝支付的SDK
217
219
  test_files: []