DocuSign.Connection (DocuSign v0.3.3) View Source

The module is intended for to make and perform request to DocuSign API.

Example

iex> conn = DocuSign.Connection.new {:ok, users} = DocuSign.Api.Users.users_get_users( conn, "61ac4bd1-c83c-4aa6-8654-d3b44a252f42"[account_id] )

Link to this section Summary

Functions

Retrieves the default account of current user

Create new conn

Makes a request.

Link to this section Types

Specs

t() :: %DocuSign.Connection{app_account: term(), client: term()}

Link to this section Functions

Specs

default_account() :: DocuSign.User.AppAccount.t()

Retrieves the default account of current user

Specs

new(Keyword.t()) :: t()

Create new conn

opts:

  • client \ APIClient.client()
  • account \ User.default_account
Link to this function

request(conn, opts \\ [])

View Source

Specs

request(t(), Keyword.t()) :: %OAuth2.Response{
  body: term(),
  headers: term(),
  status_code: term()
}

Makes a request.