View Source Zendesk.Client (zendesk v0.0.1)

Make requests to the API.

The requests are made using Zendesk.Client.Operations.

Link to this section Summary

Functions

Make a DELETE request to the API at the given URL.

Make a GET request to the API at the given URL.

Call the API with the given Zendesk.Client.Operation.

Call the API with the given Zendesk.Client.Operation.

Link to this section Functions

Link to this function

delete(url, headers \\ [])

View Source
@spec delete(String.t(), [{atom(), String.t()}]) ::
  {:ok, binary(), list()} | {:error, String.t()}

Make a DELETE request to the API at the given URL.

Link to this function

get(url, headers, params)

View Source
@spec get(String.t(), [{atom(), String.t()}], list()) ::
  {:ok, binary(), list()} | {:error, String.t()}

Make a GET request to the API at the given URL.

@spec request!(Zendesk.Client.Operation.t()) :: Parser.parsed_result()

Call the API with the given Zendesk.Client.Operation.

This function throws an error if there was any issue calling the API.

@spec request(Zendesk.Client.Operation.t()) :: Parser.parsed_result()

Call the API with the given Zendesk.Client.Operation.