docuseal 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +34 -3
- data/lib/docuseal/api.rb +4 -0
- data/lib/docuseal/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1e9b3d7380fa34b2bbebaf763768a46e635974bf71b0adc3bf102babbb64d933
|
|
4
|
+
data.tar.gz: 8867b5d70c02f5e40c717b96e70777d85fb4ada5c30280a4883b091b9e31c09e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a942675afa8810069723c27148d6802de47cac8c3a9bc31f8aaa76c2c427311447ddc1b3e3664898537fba6e21367bda29a69fd548d073ff56958e7e755231e
|
|
7
|
+
data.tar.gz: 4cfafca31fdcfc4d0b51b8f8eb5141b9c0fb44e7cb5302a82450771e1b5e0d8040302275db3726c636beb2edd91bd9c3ccbfbbd13bf7237a3556def14c5588be
|
data/README.md
CHANGED
|
@@ -123,7 +123,7 @@ Docuseal.create_submission({
|
|
|
123
123
|
|
|
124
124
|
[Documentation](https://www.docuseal.com/docs/api?lang=ruby#create-a-submission-from-pdf)
|
|
125
125
|
|
|
126
|
-
Provides the functionality to create one-off submission request from a PDF
|
|
126
|
+
Provides the functionality to create one-off submission request from a PDF. Use `{{Field Name;role=Signer1;type=date}}` text tags to define fillable fields in the document. See [https://www.docuseal.com/examples/fieldtags.pdf](https://www.docuseal.com/examples/fieldtags.pdf) for more text tag formats. Or specify the exact pixel coordinates of the document fields using `fields` param.
|
|
127
127
|
|
|
128
128
|
**Related Guides:**<br>
|
|
129
129
|
[Use embedded text field tags to create a fillable form](https://www.docuseal.com/guides/use-embedded-text-field-tags-in-the-pdf-to-create-a-fillable-form)
|
|
@@ -131,7 +131,7 @@ Provides the functionality to create one-off submission request from a PDF file.
|
|
|
131
131
|
|
|
132
132
|
```ruby
|
|
133
133
|
Docuseal.create_submission_from_pdf({
|
|
134
|
-
name: "Test
|
|
134
|
+
name: "Test Submission Document",
|
|
135
135
|
documents: [
|
|
136
136
|
{
|
|
137
137
|
name: "string",
|
|
@@ -161,6 +161,37 @@ Docuseal.create_submission_from_pdf({
|
|
|
161
161
|
})
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
+
### create_submission_from_docx(data)
|
|
165
|
+
|
|
166
|
+
[Documentation](https://www.docuseal.com/docs/api?lang=ruby#create-a-submission-from-docx)
|
|
167
|
+
|
|
168
|
+
Provides functionality to create a one-off submission request from a DOCX file with dynamic content variables. Use `[[variable_name]]` text tags to define dynamic content variables in the document. See [https://www.docuseal.com/examples/demo\_template.docx](https://www.docuseal.com/examples/demo_template.docx) for the specific text variable syntax, including dynamic content tables and list. You can also use the `{{signature}}` fillable field syntax to define fillable fields, as in a PDF.
|
|
169
|
+
|
|
170
|
+
**Related Guides:**<br>
|
|
171
|
+
[Use embedded text field tags to create a fillable form](https://www.docuseal.com/guides/use-embedded-text-field-tags-in-the-pdf-to-create-a-fillable-form)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
```ruby
|
|
175
|
+
Docuseal.create_submission_from_docx({
|
|
176
|
+
name: "Test Submission Document",
|
|
177
|
+
variables: {
|
|
178
|
+
variable_name: "value"
|
|
179
|
+
},
|
|
180
|
+
documents: [
|
|
181
|
+
{
|
|
182
|
+
name: "string",
|
|
183
|
+
file: "base64"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
submitters: [
|
|
187
|
+
{
|
|
188
|
+
role: "First Party",
|
|
189
|
+
email: "john.doe@example.com"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
})
|
|
193
|
+
```
|
|
194
|
+
|
|
164
195
|
### create_submission_from_html(data)
|
|
165
196
|
|
|
166
197
|
[Documentation](https://www.docuseal.com/docs/api?lang=ruby#create-a-submission-from-html)
|
|
@@ -173,7 +204,7 @@ This API endpoint allows you to create a one-off submission request document usi
|
|
|
173
204
|
|
|
174
205
|
```ruby
|
|
175
206
|
Docuseal.create_submission_from_html({
|
|
176
|
-
name: "Test
|
|
207
|
+
name: "Test Submission Document",
|
|
177
208
|
documents: [
|
|
178
209
|
{
|
|
179
210
|
name: "Test Document",
|
data/lib/docuseal/api.rb
CHANGED
data/lib/docuseal/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: docuseal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- DocuSeal
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-
|
|
10
|
+
date: 2025-09-15 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
description: DocuSeal is a document signing platform. This gem provides a Ruby interface
|
|
13
13
|
to the DocuSeal API.
|