Class: ONEAccess::API::User
Class Method Summary collapse
Methods inherited from Base
api_url, resource_api_path, send_get
Class Method Details
.get_by_email(first_name:, last_name:, email:) ⇒ Object
9 10 11 12 |
# File 'lib/oneaccess/api/user.rb', line 9 def self.get_by_email(first_name:, last_name:, email:) resp = send_get("getbyemail", userFirstName: first_name, userLastName: last_name, userEmail: email) Response::UserResponse.from_json(resp.body) end |