README.md in oneaccess-0.4.4 vs README.md in oneaccess-0.4.5

- old
+ new

@@ -41,18 +41,19 @@ - Organization: _/organizations/id_ - User's Product Groups: _/entitlement/user/productgroup/getList_ - User Entitlement Requests: _/entitlement/research/userRequests/getListWithEntitlementsStatus_ - Subscribe to Entitlements Updates: _/entitlement/userSubscription/subscribeToUpdates_ - Get User ids which entitlements have changed _/entitlement/userSubscription/subscribeToUpdates/changedUsers/getList_ +- Create email inducement: _/providers/inducements_ ### User by Email _(/user/getByEmail)_ Official Documentation: http://apidocs.oneaccess.io/docs/usergetorcreate This method returns a `User` object if it matches the first name, last name, and email. If there's not a match, then a new user is created and returned. #### How to use: ```ruby -resp = ONEAccess::API::V1_1::User.getByEmail(first_name: 'Alex', last_name: 'Santos', email: 'alex@ae.com') +resp = ONEAccess::API::V1_1::User.get_by_email(first_name: 'Alex', last_name: 'Santos', email: 'alex@ae.com') resp.data #=> instance of ONEAccess::DataObject::User resp.data.id #=> 305 (id of the user) resp.data.organization.id #=> 805 (id of the company) resp.data.email #=> alex@ae.com