View Source Documenso.Documents (documenso_ex v0.2.1)
Summary
Functions
Create a document. Return an error tuple if the request fails.
Create a document. Raise an exception if the request fails.
Create and upload a document in one step. Return an error tuple if the request fails.
Create fields for a document. Return an error tuple if the request fails.
Create fields for a document. Raise an exception if the request fails.
Get a document by ID. Return an error tuple if the request fails.
Get a document by ID. Raise an exception if the request fails.
List all documents. Return an error tuple if the request fails.
List all documents. Raise an exception if the request fails.
Send a document. Return an error tuple if the request fails.
Send a document. Raise an exception if the request fails.
Upload a document file. Use this function with the upload url returned by create/1 or create!/1. Return an error tuple if the request fails.
Functions
Create a document. Return an error tuple if the request fails.
Create a document. Raise an exception if the request fails.
Create and upload a document in one step. Return an error tuple if the request fails.
## Example
Documenso.Documents.create_and_upload(%{name: "My Document"}, "path/to/file.pdf")
Create fields for a document. Return an error tuple if the request fails.
Create fields for a document. Raise an exception if the request fails.
Get a document by ID. Return an error tuple if the request fails.
Get a document by ID. Raise an exception if the request fails.
List all documents. Return an error tuple if the request fails.
List all documents. Raise an exception if the request fails.
Send a document. Return an error tuple if the request fails.
Send a document. Raise an exception if the request fails.
Upload a document file. Use this function with the upload url returned by create/1 or create!/1. Return an error tuple if the request fails.