Class: ZktClient::AccessToken

Inherits:
Object
  • Object
show all
Defined in:
lib/zkt_client/access_token.rb

Overview

AccessToken class handles the retrieval of access token

Constant Summary collapse

BASE_URL =
"/api-token-auth/"

Instance Method Summary collapse

Instance Method Details

#callString

Calls the access token retrieval

Returns:

  • (String)

    the access token prefixed with “Token ”


13
14
15
# File 'lib/zkt_client/access_token.rb', line 13

def call
  "Token #{access_token}"
end