zendex v0.8.1 Zendex.Connection

Establishes connection details with Zendex by the user providing a base url, username and password.

Summary

Types

t()

The connection paramters

Functions

Setup connection details with your Zendesk

Types

t()
t :: %{base_url: String.t, authentication: binary}

The connection paramters

Functions

setup(base_url, username, password)
setup(String.t, String.t, String.t) :: t

Setup connection details with your Zendesk.

Examples

iex> Zendex.Connection.setup("http://example.zendesk.com", "ZendeskUser", "Password1")
%{authentication: "WmVuZGVza1VzZXI6UGFzc3dvcmQx", base_url: "http://example.zendesk.com"}