lib/revo/loans_api/client.rb in revo-loans_api-0.0.15 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.16
- old
+ new
@@ -140,9 +140,13 @@
def update_client(id:, client_params:)
make_request(:patch, "/clients/#{id}", client: client_params)
end
+ def get_client(guid:)
+ make_request(:get, "/clients/#{guid}")
+ end
+
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:)