Class: ONEAccess::API::V1_1::User

Inherits:
Base show all
Defined in:
lib/oneaccess/api/v1_1/user.rb

Class Method Summary collapse

Methods inherited from ApiBase

api_url, resource_api_path, send_get, send_post

Class Method Details

.get_by_email(first_name:, last_name:, email:) ⇒ Object



11
12
13
14
# File 'lib/oneaccess/api/v1_1/user.rb', line 11

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