lib/revo/loans_api/client.rb in revo-loans_api-0.0.17 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.18
- old
+ new
@@ -131,12 +131,12 @@
def cancel_return(return_id:)
make_request(:post, "returns/#{return_id}/cancel")
end
- def start_self_registration(token:, mobile_phone:)
+ def start_self_registration(token:, mobile_phone:, skip_message: false)
make_request(:post, "loan_requests/#{token}/client/self_registration",
- mobile_phone: mobile_phone)
+ mobile_phone: mobile_phone, skip_message: skip_message)
end
def check_client_code(token:, code:)
make_request(:post, "loan_requests/#{token}/client/check_code", code: code)
end