Module: RockFintech::Http::ErrorCode
- Defined in:
- lib/rock_fintech/http/error_code/form.rb,
lib/rock_fintech/http/error_code/asset.rb,
lib/rock_fintech/http/error_code/batch.rb,
lib/rock_fintech/http/error_code/money.rb,
lib/rock_fintech/http/error_code/query.rb,
lib/rock_fintech/http/error_code/trade.rb,
lib/rock_fintech/http/error_code/account.rb,
lib/rock_fintech/http/error_code/platform.rb,
lib/rock_fintech/http/error_code/enterprise.rb
Class Method Summary collapse
- .account_balance ⇒ Object
- .account_credits ⇒ Object
- .account_transaction_query ⇒ Object
- .apply_bid_query ⇒ Object
- .asset_query ⇒ Object
- .assets_enroll ⇒ Object
- .assets_revoke ⇒ Object
- .authorization_p ⇒ Object
- .auto_bid_apply ⇒ Object
- .bank_recharge ⇒ Object
- .batch_coupon_b ⇒ Object
- .batch_end_credit_b ⇒ Object
- .batch_new_query_coupon_b ⇒ Object
- .batch_new_query_payment_b ⇒ Object
- .batch_new_query_repayment_b ⇒ Object
- .batch_notify_resend_b ⇒ Object
- .batch_payment_b ⇒ Object
- .batch_query_payment_b ⇒ Object
- .batch_query_repayment_b ⇒ Object
- .batch_repayment_b ⇒ Object
- .bid_apply_p ⇒ Object
- .bind_bank_card_p ⇒ Object
- .binding_list ⇒ Object
- .buy_credit_p ⇒ Object
- .buy_credit_query ⇒ Object
- .cnaps_query ⇒ Object
- .coupon_recharge ⇒ Object
- .coupon_withdraw ⇒ Object
- .create_account_p ⇒ Object
- .create_account_sr_query ⇒ Object
- .debt_query ⇒ Object
- .enterprise_add ⇒ Object
- .find_account_by_id ⇒ Object
- .find_account_by_mobile ⇒ Object
- .gateway_query ⇒ Object
- .marketing_query ⇒ Object
- .money_dispatch ⇒ Object
- .money_query ⇒ Object
- .money_revoke ⇒ Object
- .recharge_p ⇒ Object
- .revoke_auto_bid ⇒ Object
- .set_password_p ⇒ Object
- .set_password_query ⇒ Object
- .sign_again_p ⇒ Object
- .sign_auto_bid_p ⇒ Object
- .sign_bid_query ⇒ Object
- .sign_borrower_p ⇒ Object
- .sign_payment_query ⇒ Object
- .sign_repayment_query ⇒ Object
- .sign_transfer_check ⇒ Object
- .sign_transfer_p ⇒ Object
- .sign_transfer_query ⇒ Object
- .trustee_pay_p ⇒ Object
- .trustee_pay_query ⇒ Object
- .withdraw_p ⇒ Object
Instance Method Summary collapse
Class Method Details
.account_balance ⇒ Object
40 41 42 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 40 def self.account_balance @_account_balance ||= [] end |
.account_credits ⇒ Object
15 16 17 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 15 def self.account_credits @_account_credits ||= %w[RD000203 RD000537] end |
.account_transaction_query ⇒ Object
19 20 21 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 19 def self.account_transaction_query @_account_transaction_query ||= %w[] end |
.apply_bid_query ⇒ Object
15 16 17 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 15 def self.apply_bid_query @_apply_bid_query ||= %w[RD000094 RD000201 RD000210] end |
.asset_query ⇒ Object
15 16 17 |
# File 'lib/rock_fintech/http/error_code/asset.rb', line 15 def self.asset_query @_assets_revoke ||= %w[] end |
.assets_enroll ⇒ Object
7 8 9 |
# File 'lib/rock_fintech/http/error_code/asset.rb', line 7 def self.assets_enroll @_assets_enroll ||= %w[RD000189 RD000191 RD000388 RD000391 RD000435 RD000537] end |
.assets_revoke ⇒ Object
11 12 13 |
# File 'lib/rock_fintech/http/error_code/asset.rb', line 11 def self.assets_revoke @_assets_revoke ||= %w[RD000001 RD000005 RD000027 RD000439 RD000490 RD000537] end |
.authorization_p ⇒ Object
43 44 45 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 43 def self. @_authorization_p ||= [] end |
.auto_bid_apply ⇒ Object
11 12 13 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 11 def self.auto_bid_apply @_auto_bid_apply ||= %w[] end |
.bank_recharge ⇒ Object
7 8 9 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 7 def self.bank_recharge @_bank_recharge ||= [] end |
.batch_coupon_b ⇒ Object
19 20 21 |
# File 'lib/rock_fintech/http/error_code/batch.rb', line 19 def self.batch_coupon_b @_batch_coupon_b ||= %w[] end |
.batch_end_credit_b ⇒ Object
15 16 17 |
# File 'lib/rock_fintech/http/error_code/batch.rb', line 15 def self.batch_end_credit_b @_batch_payment ||= %w[] end |
.batch_new_query_coupon_b ⇒ Object
43 44 45 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 43 def self.batch_new_query_coupon_b @_batch_new_query_coupon_b || %w[] end |
.batch_new_query_payment_b ⇒ Object
19 20 21 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 19 def self.batch_new_query_payment_b @_batch_new_query_payment ||= %w[] end |
.batch_new_query_repayment_b ⇒ Object
23 24 25 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 23 def self.batch_new_query_repayment_b @_batch_new_query_repayment ||= %w[] end |
.batch_notify_resend_b ⇒ Object
23 24 25 |
# File 'lib/rock_fintech/http/error_code/batch.rb', line 23 def self.batch_notify_resend_b @_batch_notify_resend_b ||= %w[] end |
.batch_payment_b ⇒ Object
7 8 9 |
# File 'lib/rock_fintech/http/error_code/batch.rb', line 7 def self.batch_payment_b @_batch_payment ||= %w[] end |
.batch_query_payment_b ⇒ Object
7 8 9 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 7 def self.batch_query_payment_b @_batch_query_payment ||= %w[] end |
.batch_query_repayment_b ⇒ Object
11 12 13 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 11 def self.batch_query_repayment_b @_batch_query_repayment ||= %w[] end |
.batch_repayment_b ⇒ Object
11 12 13 |
# File 'lib/rock_fintech/http/error_code/batch.rb', line 11 def self.batch_repayment_b @_batch_payment ||= %w[RD000195] end |
.bid_apply_p ⇒ Object
39 40 41 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 39 def self.bid_apply_p @_bid_apply_p ||= ['RD001025'] end |
.bind_bank_card_p ⇒ Object
36 37 38 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 36 def self.bind_bank_card_p @_bind_bank_card ||= [] end |
.binding_list ⇒ Object
56 57 58 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 56 def self.binding_list @_binding_list ||= %w[] end |
.buy_credit_p ⇒ Object
19 20 21 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 19 def self.buy_credit_p @_buy_credit_p ||= %w[] end |
.buy_credit_query ⇒ Object
27 28 29 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 27 def self.buy_credit_query @_buy_credit_query ||= %w[] end |
.cnaps_query ⇒ Object
35 36 37 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 35 def self.cnaps_query @_cnaps_query ||= %w[] end |
.coupon_recharge ⇒ Object
19 20 21 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 19 def self.coupon_recharge @_coupon_recharge ||= [] end |
.coupon_withdraw ⇒ Object
23 24 25 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 23 def self.coupon_withdraw @_coupon_withdraw ||= [] end |
.create_account_p ⇒ Object
7 8 9 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 7 def self.create_account_p @_create_account ||= %w[RD000601 RD000602 RD000603 RD000604 RD000605 RD777777 RD10001] end |
.create_account_sr_query ⇒ Object
23 24 25 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 23 def self.create_account_sr_query @_create_account_sr_query ||= %w[] end |
.debt_query ⇒ Object
15 16 17 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 15 def self.debt_query @_debt_query ||= %w[] end |
.enterprise_add ⇒ Object
6 7 8 |
# File 'lib/rock_fintech/http/error_code/enterprise.rb', line 6 def self.enterprise_add @_enterprise_add ||= %w[400 401 403 404 405 410 429 500 503] end |
.find_account_by_id ⇒ Object
48 49 50 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 48 def self.find_account_by_id @_find_account_by_id ||= %w[RD000061 RD000089 RD000060 RD000063] end |
.find_account_by_mobile ⇒ Object
44 45 46 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 44 def self.find_account_by_mobile @_find_account_by_mobile ||= %w[T130016 T2600120] end |
.gateway_query ⇒ Object
27 28 29 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 27 def self.gateway_query @_gateway_query ||= %w[] end |
.marketing_query ⇒ Object
11 12 13 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 11 def self.marketing_query @_marketing_query ||= %w[ ] end |
.money_dispatch ⇒ Object
6 7 8 |
# File 'lib/rock_fintech/http/error_code/platform.rb', line 6 def self.money_dispatch @_money_dispatch ||= %w[RD000001 RD000005 RD000012 RD000017 RD000537] end |
.money_query ⇒ Object
31 32 33 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 31 def self.money_query @_money_query ||= %w[] end |
.money_revoke ⇒ Object
10 11 12 |
# File 'lib/rock_fintech/http/error_code/platform.rb', line 10 def self.money_revoke @_money_revoke ||= %w[RD000004 RD000008] end |
.recharge_p ⇒ Object
11 12 13 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 11 def self.recharge_p @_recharge_p ||= [] end |
.revoke_auto_bid ⇒ Object
35 36 37 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 35 def self.revoke_auto_bid @_revoke_auto_bid ||= %w[] end |
.set_password_p ⇒ Object
31 32 33 34 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 31 def self.set_password_p @_set_password ||= %w[RD1031303 RD1031304 RD10001 RD001034 RD000602 RD001024 RD9997 RD1031301 RD000603 RD000604 RD000605] end |
.set_password_query ⇒ Object
52 53 54 |
# File 'lib/rock_fintech/http/error_code/account.rb', line 52 def self.set_password_query @_set_password_query ||= %w[] end |
.sign_again_p ⇒ Object
6 7 8 |
# File 'lib/rock_fintech/http/error_code/form.rb', line 6 def self.sign_again_p @_sign_again_p ||= %w[] end |
.sign_auto_bid_p ⇒ Object
27 28 29 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 27 def self.sign_auto_bid_p @_sign_auto_bid ||= %w[] end |
.sign_bid_query ⇒ Object
7 8 9 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 7 def self.sign_bid_query @_sign_bid_query ||= %w[] end |
.sign_borrower_p ⇒ Object
27 28 29 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 27 def self.sign_borrower_p @_sign_borrower_p ||= [] end |
.sign_payment_query ⇒ Object
35 36 37 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 35 def self.sign_payment_query @_sign_payment_query ||= [] end |
.sign_repayment_query ⇒ Object
39 40 41 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 39 def self.sign_repayment_query @_sign_repayment_query ||= [] end |
.sign_transfer_check ⇒ Object
43 44 45 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 43 def self.sign_transfer_check @_sign_transfer_check ||= [] end |
.sign_transfer_p ⇒ Object
31 32 33 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 31 def self.sign_transfer_p @_sign_transfer_p ||= [] end |
.sign_transfer_query ⇒ Object
47 48 49 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 47 def self.sign_transfer_query @_sign_transfer_query ||= [] end |
.trustee_pay_p ⇒ Object
10 11 12 |
# File 'lib/rock_fintech/http/error_code/form.rb', line 10 def self.trustee_pay_p @_trustee_pay_p ||= %w[] end |
.trustee_pay_query ⇒ Object
39 40 41 |
# File 'lib/rock_fintech/http/error_code/query.rb', line 39 def self.trustee_pay_query @_trustee_pay_query ||= %w[] end |
.withdraw_p ⇒ Object
15 16 17 |
# File 'lib/rock_fintech/http/error_code/money.rb', line 15 def self.withdraw_p @_withdraw_p ||= [] end |
Instance Method Details
#trustee_pay_p ⇒ Object
23 24 25 |
# File 'lib/rock_fintech/http/error_code/trade.rb', line 23 def trustee_pay_p @_trustee_pay_p ||= %w[] end |