module Restforce::Concerns::API

def user_info

Returns an Array of String names for each SObject.

# => user@example.com
client.user_info.email
# get the email of the logged-in user

Examples

Public: Get info about the logged-in user.
def user_info
  get(api_get.body.identity).body
end