GSS. Registry
(elixir_google_spreadsheets v1.0.2)
Copy Markdown
Thin facade over Elixir's Registry for locating running spreadsheet processes.
The registry process itself is started in GSS.start/2 as
{Registry, keys: :unique, name: GSS.Registry} — the module name doubles as the
registry's process name. Spreadsheet GenServers register themselves via
{:via, Registry, {GSS.Registry, key/2}}, so this module only builds the lookup
key and resolves it back to a pid. Authentication lives in GSS.Auth.
Summary
Functions
Build the registry key for a spreadsheet id, scoped by :list_name when present.
Fetch a Google Spreadsheet process by its id (optionally scoped by :list_name).
See GSS.Auth.token!/0.
Functions
Build the registry key for a spreadsheet id, scoped by :list_name when present.
Fetch a Google Spreadsheet process by its id (optionally scoped by :list_name).
See GSS.Auth.token!/0.