RingCentral.API (RingCentral v0.2.1) View Source
The Main module to interact with RingCentral REST APIs.
Link to this section Summary
Functions
Send a DELETE
request to the REST API.
Send a GET
request to the REST API.
Send a POST
request to the REST API.
Send a PUT
request to the REST API.
Link to this section Functions
Specs
delete(RingCentral.t(), String.t(), list()) :: :ok | {:error, RingCentral.Error.t()} | {:ok, RingCentral.Response.t()}
Send a DELETE
request to the REST API.
It will uses ringcentral.http_client
to send the request to RingCentral API,
which by default is the RingCentral.HTTPClient.DefaultClient
.
Specs
get(RingCentral.t(), String.t(), list()) :: {:error, RingCentral.Error.t()} | {:ok, RingCentral.Response.t()}
Send a GET
request to the REST API.
It will uses ringcentral.http_client
to send the request to RingCentral API,
which by default is the RingCentral.HTTPClient.DefaultClient
.
Specs
post(RingCentral.t(), String.t(), map(), list()) :: {:error, RingCentral.Error.t()} | {:ok, RingCentral.Response.t()}
Send a POST
request to the REST API.
It will uses ringcentral.http_client
to send the request to RingCentral API,
which by default is the RingCentral.HTTPClient.DefaultClient
.
Specs
put(RingCentral.t(), String.t(), map(), list()) :: {:error, RingCentral.Error.t()} | {:ok, RingCentral.Response.t()}
Send a PUT
request to the REST API.
It will uses ringcentral.http_client
to send the request to RingCentral API,
which by default is the RingCentral.HTTPClient.DefaultClient
.