Current section
Files
Jump to
Current section
Files
lib/shopify/policy.ex
defmodule Shopify.Policy do
@moduledoc """
[https://help.shopify.com/en/api/reference/store_properties/policy](https://help.shopify.com/en/api/reference/store_properties/policy)
"""
@doc """
Retrieve a list of policies.
"""
@spec list :: Shopify.Operation.t()
def list do
%Shopify.Operation{
http_method: :get,
path: "/policies.json"
}
end
end