module GogoKit::Client::User

{GogoKit::Client} methods for getting and updating the authenticated user

Public Instance Methods

get_user(options = {}) click to toggle source

Retrieves account information for the authenticated user

@param [Hash] options Optional options @return [GogoKit::User] The authenticated user

# File lib/gogokit/client/user.rb, line 14
def get_user(options = {})
  object_from_response(GogoKit::User,
                       GogoKit::UserRepresenter,
                       :get,
                       get_root.links['viagogo:user'].href,
                       options)
end