View Source Contentful.Queryable behaviour (Contentful SDK v0.6.0)
Behaviour for allowing another module to be processed by the functions
of Contentful.Query
.
See also:
Link to this section Summary
Link to this section Callbacks
@callback endpoint() :: String.t()
@callback resolve_collection_response(%{ required([{:total, String.t()}]) => non_neg_integer(), required([{:items, String.t()}]) => [...] }) :: {:ok, [struct()], [{:total, non_neg_integer()}]}