Class: Ncba::CreditDetails
- Defined in:
- lib/ncba/resources/credit_details.rb
Overview
CreditDetails
Constant Summary collapse
- PATH =
'/api/CreditDetails'
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
#get_request, #handle_response, #initialize, #post_request
Constructor Details
This class inherits a constructor from Ncba::Resource
Instance Method Details
#body ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/ncba/resources/credit_details.rb', line 14 def body { "BizpawaID": args[:bizpawa_id], "TurnoverRatio": args[:turnover_ratio], "SaasPaymentRate": args[:saas_payment_rate], "PaymentModeRatio": args[:payment_mode_rate], "PredictiveAnalysis": args[:predictive_analysis], "PrevLoanRepaymentRate": args[:prev_loan_repayment_rate], "PreExistingCBAAccount": args[:pre_existing_cba_account], "CustomerBizpawaAge": args[:customer_bizpawa_age], "InventoryTurnover": args[:inventory_turnover], "DirectorListedCRB": args[:director_listed_crb], "BusinessListedCRB": args[:business_listed_crb], "Amount": args[:bank_code].to_f, "CheckCRB": true } end |