module Restforce::Concerns::API
def user_info
# => 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
def user_info get(api_get.body.identity).body end