class Uiza::User

Constants

OBJECT_API_PATH

Public Class Methods

change_password(params) click to toggle source
# File lib/uiza/user.rb, line 21
def change_password params
  url = "https://#{Uiza.workspace_api_domain}/api/public/v3/#{OBJECT_API_PATH}/changepassword"
  method = :post
  headers = {"Authorization" => Uiza.authorization}

  uiza_client = UizaClient.new url, method, headers, params, OBJECT_API_DESCRIPTION_LINK[:change_password]
  uiza_client.execute_request
end
logout() click to toggle source
# File lib/uiza/user.rb, line 30
def logout
  url = "https://#{Uiza.workspace_api_domain}/api/public/v3/#{OBJECT_API_PATH}/logout"
  method = :post
  headers = {"Authorization" => Uiza.authorization}
  params = {}

  uiza_client = UizaClient.new url, method, headers, params, OBJECT_API_DESCRIPTION_LINK[:logout]
  uiza_client.execute_request
end