lib/revo/loans_api/client.rb in revo-loans_api-0.0.27 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.28
- old
+ new
@@ -223,14 +223,14 @@
params: { term_id: term_id, force_approve: force_approve },
headers: { 'Application-Source': application_source }
)
end
- def create_card_loan(token:, term_id:)
+ def create_card_loan(token:, term_id:, force_approve: false)
make_request(
:post,
"loan_requests/#{token}/card_loan",
- params: { term_id: term_id },
+ params: { term_id: term_id, force_approve: force_approve },
headers: { 'Application-Source': application_source }
)
end
def send_billing_shift_confirmation_code(client_id:)