Shopifex.RedirectAfterAgent behaviour (Shopifex v2.2.1) View Source
Link to this section Summary
Callbacks
Retrieve the redirect url from cache with key charge_id and remove the key from cache.
Set a redirect url in cache with key charge_id
Functions
Returns a specification to start this module under a supervisor.
Link to this section Callbacks
Specs
get(charge_id :: String.t() | pos_integer()) :: String.t() | nil
Retrieve the redirect url from cache with key charge_id and remove the key from cache.
Specs
set(charge_id :: pos_integer(), redirect_uri :: String.t()) :: :ok
Set a redirect url in cache with key charge_id