module Appilf::Client::Users

Public Instance Methods

retrieve_user(user_id = nil) click to toggle source
# File lib/appilf/client/users.rb, line 7
def retrieve_user(user_id = nil)
  response = authenticated_api_get(users_path(user_id))
  Appilf::Util.translate_from_response(response)
end
users_path(user_id = nil) click to toggle source
# File lib/appilf/client/users.rb, line 12
def users_path(user_id = nil)
  user_id ||= 'identify'
  "#{APIActions::BASE_API_URL}/users/#{user_id}"
end