lib/revo/loans_api/client.rb in revo-loans_api-0.0.8 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.9
- old
+ new
@@ -37,9 +37,10 @@
return terms unless terms.success?
Result.new(success?: true,
response: {
token: loan_request_token,
+ insurance_available: response.response.dig(:loan_request, :insurance_available),
terms: terms.response[:loan_request]
})
end
def update_loan_request(token:, options:)