Shopifex v1.0.1 Shopifex.RedirectAfterAgent behaviour View Source
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
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
Link to this section Functions
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