shopify v0.2.0 Shopify.Adapters.Base behaviour

Specification of the..

Link to this section Summary

Link to this section Types

Link to this type error()
error() :: {:error, %Shopify.Response{code: term(), data: term()}}
Link to this type request()
request() :: %Shopify.Request{
  body: term(),
  full_url: term(),
  headers: term(),
  path: term(),
  resource: term(),
  type: term()
}
Link to this type success()
success() :: {:ok, %Shopify.Response{code: term(), data: term()}}

Link to this section Callbacks

Link to this callback delete(request)
delete(request()) :: success() | error()
Link to this callback get(request)
get(request()) :: success() | error()
Link to this callback post(request)
post(request()) :: success() | error()
Link to this callback put(request)
put(request()) :: success() | error()