DocuSign.Connection (DocuSign v0.4.2) View Source
The module is intended to be used to establish a connection with DocuSign eSignature API and then perform requests to it.
Example
iex> user_id = "74830914-547328-5432-5432543"
iex> account_id = "61ac4bd1-c83c-4aa6-8654-ddf3tg5"
iex> {:ok, conn} = DocuSign.Connection.get(user_id)
iex> {:ok, users} = DocuSign.Api.Users.users_get_users(conn, account_id)
{:ok, %DocuSign.Model.UserInformationList{...}}
Link to this section Summary
Functions
default_account()
deprecated
Retrieves the default account of default user configured
Create new conn for provided user ID.
new()
deprecated
Create new conn for default configured user ID
Makes a request.
Link to this section Types
Specs
oauth_error() :: OAuth2.Response.t() | OAuth2.Error.t()
Specs
Link to this section Functions
This function is deprecated. Please use `Docusign.Connection.get/1`. The returned structs includes `app_account`, which is the default account.
.
Specs
default_account() :: DocuSign.User.AppAccount.t()
Retrieves the default account of default user configured
Specs
get(String.t()) :: {:ok, t()} | {:error, oauth_error()}
Create new conn for provided user ID.
This function is deprecated. Use DocuSign.Connection.get/1 instead..
Specs
new() :: t()
Create new conn for default configured user ID
Specs
Makes a request.