lib/revo/loans_api/client.rb in revo-loans_api-0.0.34 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.35
- old
+ new
@@ -181,14 +181,14 @@
def cancel_return(return_id:)
make_request(:post, "returns/#{return_id}/cancel")
end
- def start_self_registration(token:, mobile_phone:, skip_message: false)
+ def start_self_registration(token:, mobile_phone:, skip_message: false, mobile_meta_info: {})
make_request(
:post,
"loan_requests/#{token}/client/self_registration",
- params: { mobile_phone: mobile_phone, skip_message: skip_message }
+ params: { mobile_phone: mobile_phone, skip_message: skip_message, mobile_meta_info: mobile_meta_info }
)
end
def check_client_code(token:, code:)
make_request(