ExPipedriveOban.Source behaviour (ex_pipedrive_oban v0.1.1)

Copy Markdown View Source

Host callbacks for building a client and persisting each synced page.

Summary

Types

args()

@type args() :: map()

Callbacks

client(args)

@callback client(args()) :: Tesla.Client.t() | {:ok, Tesla.Client.t()} | {:error, term()}

handle_page(resource, list, args)

@callback handle_page(resource :: String.t(), [term()], args()) :: :ok | {:error, term()}