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.

Link to this callback

set(charge_id, redirect_uri)

View Source

Specs

set(charge_id :: pos_integer(), redirect_uri :: String.t()) :: :ok

Set a redirect url in cache with key charge_id

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

set(charge_id, redirect_uri)

View Source