ExShopify v0.2.0 ExShopify.Policy

Setting that a merchant has configured for their store.

Summary

Functions

Receive a list of all policies

Types

policy_plural()
policy_plural() :: {:ok, [%ExShopify.Policy{body: term, created_at: term, title: term, updated_at: term, url: term}], %ExShopify.Meta{api_call_limit: term}}

Functions

list(session)
list(%ExShopify.Session{access_token: term, api_key: term, domain: term, port: term, protocol: term, secret: term, shop_name: term, shop_url: term}) ::
  policy_plural |
  ExShopify.Resource.error

Receive a list of all policies.

Examples

iex> ExShopify.Policy.list(session)
{:ok, policies, meta}