lib/revo/loans_api/client.rb in revo-loans_api-0.0.10 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.11
- old
+ new
@@ -140,11 +140,11 @@
def update_client(id:, client_params:)
make_request(:patch, "/clients/#{id}", client: client_params)
end
- def create_virtual_card(token:)
- make_request(:post, "loan_requests/#{token}/virtual_card")
+ def create_virtual_card(token:, term_id:)
+ make_request(:post, "loan_requests/#{token}/virtual_card", term_id: term_id)
end
def create_card_loan(token:, term_id:)
make_request(:post, "loan_requests/#{token}/card_loan", term_id: term_id)
end