shopify v0.4.0 Shopify.Adapters.Base behaviour

Specification of the adapter used to load resources. Other than from the real Shopify API you could load from fixtures, or from your own mock API.

Link to this section Summary

Link to this section Types

Link to this type error()
error() :: {:error, Shopify.Response.t()}
Link to this type success()
success() :: {:ok, Shopify.Response.t()}

Link to this section Callbacks

Link to this callback delete(arg0)
delete(Shopify.Request.t()) :: success() | error()
Link to this callback get(arg0)
get(Shopify.Request.t()) :: success() | error()
Link to this callback post(arg0)
post(Shopify.Request.t()) :: success() | error()
Link to this callback put(arg0)
put(Shopify.Request.t()) :: success() | error()