def refresh_tokens
      response = get(path: 'tokens')["data"]
      token_array = response || {}
      tokens = {}
      token_array.each do |t|
        tokens[t.keys.first] = t.values.first
      end
      @tokens = tokens
      return tokens
    end
def refresh_tokens
      response = get(path: 'tokens')["data"]
      token_array = response || {}
      tokens = {}
      token_array.each do |t|
        tokens[t.keys.first] = t.values.first
      end
      @tokens = tokens
      return tokens
    end
def refresh_tokens response = get ( path : 'tokens' ) [ "data" ] token_array = response || { } tokens = { } token_array . each do | t | tokens [ t . keys . first ] = t . values . first end @tokens = tokens return tokens end
Fetches the tokens hash from the server and
  updates @tokens
Fetches the tokens hash from the server and updates