GSS.Registry (elixir_google_spreadsheets v0.4.0)
Google spreadsheets core authorization. Automatically updates access token after expiration.
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Add or replace Google Spreadsheet in a registry.
Fetch Google Spreadsheet proccess by it's id in the registry.
Get account authorization token.
Types
@type state() :: map()
State of Google Cloud API :
%{
auth: %Goth.Token{
expires: 1453356568,
token: "ya29.cALlJ4HHWRvMkYB-WsAR-CZnexE459yA7QPqKg3nei1y2T7-iqmbcgxb8XrTATNn_Blim",
type: "Bearer"
}
}
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.init/1
.
Add or replace Google Spreadsheet in a registry.
Fetch Google Spreadsheet proccess by it's id in the registry.
@spec token() :: String.t()
Get account authorization token.