class Ncba::CreditDetails
Constants
- PATH
Public Instance Methods
body()
click to toggle source
# 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
call()
click to toggle source
# File lib/ncba/resources/credit_details.rb, line 10 def call post_request(url: PATH, body: body).body end