Sha256: cd06073510090bc90e366f6908b3c1a9336380fc16e6d919b8d18d32d18c3c3c
Contents?: true
Size: 401 Bytes
Versions: 9
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true require_relative "../response/user_response" module ONEAccess module API class User < Base api_path "/user" 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 end end end
Version data entries
9 entries across 9 versions & 1 rubygems