reapal 0.9.12 → 0.9.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reapal/api/money/deposit_apply_api.rb +5 -1
- data/lib/reapal/api/money/deposit_confirm_api.rb +2 -0
- data/lib/reapal/api/money/deposit_query.rb +2 -0
- data/lib/reapal/api/money/deposit_sms_api.rb +5 -1
- data/lib/reapal/api/money/sub_account.rb +2 -0
- data/lib/reapal/api/money/sub_account_query.rb +2 -0
- data/lib/reapal/api/money/withdraw_query.rb +2 -0
- data/lib/reapal/api/order/query_by_flow_id.rb +2 -0
- data/lib/reapal/api/order/query_by_single_flow_id.rb +2 -0
- data/lib/reapal/api/order/tender_serial_no_query.rb +2 -0
- data/lib/reapal/api/tender/tender_all_cancel.rb +5 -1
- data/lib/reapal/api/tender/tender_apply.rb +5 -1
- data/lib/reapal/api/tender/tender_auth_cancel.rb +5 -1
- data/lib/reapal/api/tender/tender_auth_query.rb +5 -1
- data/lib/reapal/api/tender/tender_finish.rb +2 -0
- data/lib/reapal/api/tender/tender_onekey_invest.rb +2 -0
- data/lib/reapal/api/tender/tender_onekey_refund.rb +2 -0
- data/lib/reapal/api/tender/tender_onekey_single_transfer.rb +2 -0
- data/lib/reapal/api/tender/tender_repayment_complete.rb +5 -1
- data/lib/reapal/api/tender/tender_repayment_project.rb +5 -1
- data/lib/reapal/api/user/balance_query.rb +2 -0
- data/lib/reapal/api/user/bank_card_add_sms.rb +5 -1
- data/lib/reapal/api/user/bank_card_add_sms_again.rb +5 -1
- data/lib/reapal/api/user/bank_card_add_sms_confirm.rb +5 -1
- data/lib/reapal/api/user/bind_card_query.rb +2 -0
- data/lib/reapal/api/user/contract_query.rb +2 -0
- data/lib/reapal/api/user/mobile_query.rb +5 -1
- data/lib/reapal/api/user/modify_bind_bank_card.rb +5 -1
- data/lib/reapal/api/user/onekey_batch_contract.rb +5 -1
- data/lib/reapal/api/user/onekey_com_contract.rb +2 -0
- data/lib/reapal/api/user/onekey_contract.rb +5 -1
- data/lib/reapal/api/user/undo_bind_bank_card.rb +5 -1
- data/lib/reapal/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eccd66f92908953d1cf851afe749a99de500931a
|
4
|
+
data.tar.gz: bcf25aa7a9f780a5568064a69461aa765f0fd934
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
data/lib/reapal/version.rb
CHANGED