reapal 0.9.12 → 0.9.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/reapal/api/money/deposit_apply_api.rb +5 -1
  3. data/lib/reapal/api/money/deposit_confirm_api.rb +2 -0
  4. data/lib/reapal/api/money/deposit_query.rb +2 -0
  5. data/lib/reapal/api/money/deposit_sms_api.rb +5 -1
  6. data/lib/reapal/api/money/sub_account.rb +2 -0
  7. data/lib/reapal/api/money/sub_account_query.rb +2 -0
  8. data/lib/reapal/api/money/withdraw_query.rb +2 -0
  9. data/lib/reapal/api/order/query_by_flow_id.rb +2 -0
  10. data/lib/reapal/api/order/query_by_single_flow_id.rb +2 -0
  11. data/lib/reapal/api/order/tender_serial_no_query.rb +2 -0
  12. data/lib/reapal/api/tender/tender_all_cancel.rb +5 -1
  13. data/lib/reapal/api/tender/tender_apply.rb +5 -1
  14. data/lib/reapal/api/tender/tender_auth_cancel.rb +5 -1
  15. data/lib/reapal/api/tender/tender_auth_query.rb +5 -1
  16. data/lib/reapal/api/tender/tender_finish.rb +2 -0
  17. data/lib/reapal/api/tender/tender_onekey_invest.rb +2 -0
  18. data/lib/reapal/api/tender/tender_onekey_refund.rb +2 -0
  19. data/lib/reapal/api/tender/tender_onekey_single_transfer.rb +2 -0
  20. data/lib/reapal/api/tender/tender_repayment_complete.rb +5 -1
  21. data/lib/reapal/api/tender/tender_repayment_project.rb +5 -1
  22. data/lib/reapal/api/user/balance_query.rb +2 -0
  23. data/lib/reapal/api/user/bank_card_add_sms.rb +5 -1
  24. data/lib/reapal/api/user/bank_card_add_sms_again.rb +5 -1
  25. data/lib/reapal/api/user/bank_card_add_sms_confirm.rb +5 -1
  26. data/lib/reapal/api/user/bind_card_query.rb +2 -0
  27. data/lib/reapal/api/user/contract_query.rb +2 -0
  28. data/lib/reapal/api/user/mobile_query.rb +5 -1
  29. data/lib/reapal/api/user/modify_bind_bank_card.rb +5 -1
  30. data/lib/reapal/api/user/onekey_batch_contract.rb +5 -1
  31. data/lib/reapal/api/user/onekey_com_contract.rb +2 -0
  32. data/lib/reapal/api/user/onekey_contract.rb +5 -1
  33. data/lib/reapal/api/user/undo_bind_bank_card.rb +5 -1
  34. data/lib/reapal/version.rb +1 -1
  35. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 122e3212cb521aa2b066f839418e56089a2ef468
4
- data.tar.gz: 6c998c25e1d40dd175077eb24354c79d081fd82b
3
+ metadata.gz: eccd66f92908953d1cf851afe749a99de500931a
4
+ data.tar.gz: bcf25aa7a9f780a5568064a69461aa765f0fd934
5
5
  SHA512:
6
- metadata.gz: c50d328cb2a7168676845a5f6981f51dee0cf9dbe945d03713f60cb784f26a3b3937d55169c3888aebed25fe4936b2dafa816531fabc6a15b9179afc77252564
7
- data.tar.gz: 32e897fe8f4043694c709dd7cf0dab84a04ff28d9fa9c40d9155911b261f0db64378ca38d84cce41f9dd33633d5ae851e0c26864fc2e75d41286a04d429fe4f7
6
+ metadata.gz: 3b35b431ecfe2cdd1b752fc9676227916b53711e278e87456082e9db8dfc61be1f2e7823ea315041c033eb388d663bfe4ca944ff8cd33f6e88f8e595cf728559
7
+ data.tar.gz: 17b224265494b3789c98dcc797020eabc2e2760e207a7886a156e84715eeca95991493a314ab61b23c3605228ff77ec18adf054c3f8c93feb2cffd461c3b8c66
@@ -64,7 +64,11 @@ module Reapal
64
64
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
65
65
  }
66
66
 
67
- operate_post(:operate, service, params, post_path, Http::ErrorCode.deposit_apply_api, ['0000'], '2.0')
67
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.deposit_apply_api, ['0000'], '2.0')
68
+
69
+ Reapal.logger.info res
70
+
71
+ res
68
72
  end
69
73
 
70
74
  end # module
@@ -46,6 +46,8 @@ module Reapal
46
46
  res[:result] = 'F'
47
47
  end
48
48
 
49
+ Reapal.logger.info res
50
+
49
51
  res
50
52
  end
51
53
 
@@ -33,6 +33,8 @@ module Reapal
33
33
  res[:result] = 'F'
34
34
  end
35
35
 
36
+ Reapal.logger.info res
37
+
36
38
  res
37
39
  end
38
40
 
@@ -39,7 +39,11 @@ module Reapal
39
39
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
40
40
  }
41
41
 
42
- operate_post(:operate, service, params, post_path, Http::ErrorCode.deposit_sms_api, ['0000'])
42
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.deposit_sms_api, ['0000'])
43
+
44
+ Reapal.logger.info res
45
+
46
+ res
43
47
  end
44
48
 
45
49
  end # module
@@ -44,6 +44,8 @@ module Reapal
44
44
  res[:result] = 'F'
45
45
  end
46
46
 
47
+ Reapal.logger.info res
48
+
47
49
  res
48
50
  end
49
51
 
@@ -42,6 +42,8 @@ module Reapal
42
42
  res[:result] = 'F'
43
43
  end
44
44
 
45
+ Reapal.logger.info res
46
+
45
47
  res
46
48
  end
47
49
 
@@ -38,6 +38,8 @@ module Reapal
38
38
  res[:result] = 'F'
39
39
  end
40
40
 
41
+ Reapal.logger.info res
42
+
41
43
  res
42
44
  end
43
45
 
@@ -61,6 +61,8 @@ module Reapal
61
61
  res[:result] = 'F'
62
62
  end
63
63
 
64
+ Reapal.logger.info res
65
+
64
66
  res
65
67
  end
66
68
 
@@ -52,6 +52,8 @@ module Reapal
52
52
  res[:result] = 'F'
53
53
  end
54
54
 
55
+ Reapal.logger.info res
56
+
55
57
  res
56
58
  end
57
59
 
@@ -50,6 +50,8 @@ module Reapal
50
50
  res[:result] = 'F'
51
51
  end
52
52
 
53
+ Reapal.logger.info res
54
+
53
55
  res
54
56
  end
55
57
 
@@ -36,7 +36,11 @@ module Reapal
36
36
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
37
37
  }
38
38
 
39
- operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_cancel, ['0000'])
39
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_cancel, ['0000'])
40
+
41
+ Reapal.logger.info res
42
+
43
+ res
40
44
  end
41
45
 
42
46
  end # module TenderAllCancel
@@ -54,7 +54,11 @@ module Reapal
54
54
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
55
55
  }
56
56
 
57
- operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_apply, ['0000'])
57
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_apply, ['0000'])
58
+
59
+ Reapal.logger.info res
60
+
61
+ res
58
62
  end
59
63
 
60
64
  end # module TenderApply
@@ -38,7 +38,11 @@ module Reapal
38
38
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
39
39
  }
40
40
 
41
- operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_auth_cancel, ['0000'])
41
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_auth_cancel, ['0000'])
42
+
43
+ Reapal.logger.info res
44
+
45
+ res
42
46
  end
43
47
 
44
48
  end # module TenderAuthCancel
@@ -33,7 +33,11 @@ module Reapal
33
33
  queryTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
34
34
  }
35
35
 
36
- operate_post(:query, service, params, post_path, Http::ErrorCode.tender_auth_query, ['0000'])
36
+ res = operate_post(:query, service, params, post_path, Http::ErrorCode.tender_auth_query, ['0000'])
37
+
38
+ Reapal.logger.info res
39
+
40
+ res
37
41
  end
38
42
 
39
43
  end # module TenderAuthQuery
@@ -55,6 +55,8 @@ module Reapal
55
55
  res[:result] = 'F'
56
56
  end
57
57
 
58
+ Reapal.logger.info res
59
+
58
60
  res
59
61
  end
60
62
 
@@ -49,6 +49,8 @@ module Reapal
49
49
  res[:result] = 'F'
50
50
  end
51
51
 
52
+ Reapal.logger.info res
53
+
52
54
  res
53
55
  end
54
56
 
@@ -67,6 +67,8 @@ module Reapal
67
67
  res[:result] = 'F'
68
68
  end
69
69
 
70
+ Reapal.logger.info res
71
+
70
72
  res
71
73
  end
72
74
 
@@ -69,6 +69,8 @@ module Reapal
69
69
  res[:result] = 'F'
70
70
  end
71
71
 
72
+ Reapal.logger.info res
73
+
72
74
  res
73
75
  end
74
76
 
@@ -47,7 +47,11 @@ module Reapal
47
47
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
48
48
  }
49
49
 
50
- operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_repayment_complete, ['0000'])
50
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_repayment_complete, ['0000'])
51
+
52
+ Reapal.logger.info res
53
+
54
+ res
51
55
  end
52
56
 
53
57
  end # module TenderRepaymentComplete
@@ -42,7 +42,11 @@ module Reapal
42
42
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
43
43
  }
44
44
 
45
- operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_repayment_project, ['0000'])
45
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_repayment_project, ['0000'])
46
+
47
+ Reapal.logger.info res
48
+
49
+ res
46
50
  end
47
51
 
48
52
  end # module TenderRepaymentProject
@@ -41,6 +41,8 @@ module Reapal
41
41
  }
42
42
  end
43
43
 
44
+ Reapal.logger.info res
45
+
44
46
  res
45
47
  end
46
48
 
@@ -52,7 +52,11 @@ module Reapal
52
52
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
53
53
  }
54
54
 
55
- operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
55
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
56
+
57
+ Reapal.logger.info res
58
+
59
+ res
56
60
  end
57
61
 
58
62
  end # module
@@ -34,7 +34,11 @@ module Reapal
34
34
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
35
35
  }
36
36
 
37
- operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
37
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
38
+
39
+ Reapal.logger.info res
40
+
41
+ res
38
42
  end
39
43
 
40
44
  end # module
@@ -33,7 +33,11 @@ module Reapal
33
33
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
34
34
  }
35
35
 
36
- operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
36
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
37
+
38
+ Reapal.logger.info res
39
+
40
+ res
37
41
  end
38
42
 
39
43
  end # module
@@ -48,6 +48,8 @@ module Reapal
48
48
  res[:data][:bank_cards] = parse_cards_info(res[:data][:bankCards])
49
49
  end
50
50
 
51
+ Reapal.logger.info res
52
+
51
53
  res
52
54
  end
53
55
 
@@ -43,6 +43,8 @@ module Reapal
43
43
  res[:result] = 'F'
44
44
  end
45
45
 
46
+ Reapal.logger.info res
47
+
46
48
  res
47
49
  end
48
50
 
@@ -28,7 +28,11 @@ module Reapal
28
28
  queryTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
29
29
  }
30
30
 
31
- operate_post(:query, service, params, post_path, Http::ErrorCode.mobile, ['0000'])
31
+ res = operate_post(:query, service, params, post_path, Http::ErrorCode.mobile, ['0000'])
32
+
33
+ Reapal.logger.info res
34
+
35
+ res
32
36
  end
33
37
 
34
38
  end
@@ -45,7 +45,11 @@ module Reapal
45
45
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
46
46
  }
47
47
 
48
- operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
48
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
49
+
50
+ Reapal.logger.info res
51
+
52
+ res
49
53
  end
50
54
 
51
55
  end # module
@@ -42,7 +42,11 @@ module Reapal
42
42
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
43
43
  }
44
44
 
45
- operate_post(:operate, service, params, post_path, Http::ErrorCode.contract_create, ['0000', '0007'])
45
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.contract_create, ['0000', '0007'])
46
+
47
+ Reapal.logger.info res
48
+
49
+ res
46
50
  end
47
51
 
48
52
  end # module Agree
@@ -70,6 +70,8 @@ module Reapal
70
70
  res[:result] = 'F'
71
71
  end
72
72
 
73
+ Reapal.logger.info res
74
+
73
75
  res
74
76
  end
75
77
 
@@ -39,7 +39,11 @@ module Reapal
39
39
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
40
40
  }
41
41
 
42
- operate_post(:operate, service, params, post_path, Http::ErrorCode.contract_create, ['0000', '0007'])
42
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.contract_create, ['0000', '0007'])
43
+
44
+ Reapal.logger.info res
45
+
46
+ res
43
47
  end
44
48
 
45
49
  end # module
@@ -32,7 +32,11 @@ module Reapal
32
32
  applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
33
33
  }
34
34
 
35
- operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
35
+ res = operate_post(:operate, service, params, post_path, Http::ErrorCode.bind_card, ['0000'])
36
+
37
+ Reapal.logger.info res
38
+
39
+ res
36
40
  end
37
41
 
38
42
  end # module
@@ -1,3 +1,3 @@
1
1
  module Reapal
2
- VERSION = "0.9.12"
2
+ VERSION = "0.9.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reapal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.12
4
+ version: 0.9.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - tony