Z.Accounts.GoogleRefreshWorker (Portico/Z v0.1.0)
Job to refresh all ZSchemas.Account records.
Pulls the latest list of accounts from Google and deletes any local account that's not in the list.
Usage
This module is an Oban worker, so you use it like this:
Elixir.Z.Accounts.GoogleRefreshWorker.new(%{})
|> Oban.insert()
Link to this section Summary
Functions
Update all ZSchemas.Account records with the latest information from external systems.
Link to this section Functions
Link to this function
perform(job)
Update all ZSchemas.Account records with the latest information from external systems.