lib/oneaccess/api/user.rb in oneaccess-0.1.0 vs lib/oneaccess/api/user.rb in oneaccess-0.1.1

- old
+ new

@@ -5,10 +5,10 @@ module API class User < Base api_path "/user" def self.get_by_email(first_name:, last_name:, email:) - resp = get("getbyemail", userFirstName: first_name, userLastName: last_name, userEmail: email) + resp = send_get("getbyemail", userFirstName: first_name, userLastName: last_name, userEmail: email) Response::UserResponse.from_json(resp.body) end end end end