View Source Zendesk.Client.Operation (zendesk v0.0.3)

A description of a specific API call.

Link to this section Summary

Functions

Add a page size to the Operation to enforce a cursor style pagination of the result.

Link to this section Types

@type operation_type() :: :get | :post | :patch | :put | :delete
@type t() :: %Zendesk.Client.Operation{
  body: map() | nil,
  params: Keyword.t(),
  parser: Zendesk.Client.Parser.parser_func(),
  path: String.t(),
  type: operation_type()
}

Link to this section Functions

Link to this function

with_page_size(op, size \\ 100)

View Source
@spec with_page_size(t(), non_neg_integer()) :: t()

Add a page size to the Operation to enforce a cursor style pagination of the result.