docuseal 1.0.5 → 1.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e9b3d7380fa34b2bbebaf763768a46e635974bf71b0adc3bf102babbb64d933
4
- data.tar.gz: 8867b5d70c02f5e40c717b96e70777d85fb4ada5c30280a4883b091b9e31c09e
3
+ metadata.gz: 2dedbd58fc159ccc549c9a8d4fbe313d9356bf83cb93018121a661ebdc947f01
4
+ data.tar.gz: c108ec2ef6fdb2975a9571f1c2613cc8a3040bd9c37e3b56a08e599118a31897
5
5
  SHA512:
6
- metadata.gz: 7a942675afa8810069723c27148d6802de47cac8c3a9bc31f8aaa76c2c427311447ddc1b3e3664898537fba6e21367bda29a69fd548d073ff56958e7e755231e
7
- data.tar.gz: 4cfafca31fdcfc4d0b51b8f8eb5141b9c0fb44e7cb5302a82450771e1b5e0d8040302275db3726c636beb2edd91bd9c3ccbfbbd13bf7237a3556def14c5588be
6
+ metadata.gz: 79fb7957ae3c78b5188f2c0fdb8c64537b00c9150c9385741f874cbd402e059b2cfc462d1886fcf5c468ed8255a3ee5ec09dfc0540e814f2d37ee17398805d07
7
+ data.tar.gz: fba1e3338593f2f8b4e3632ec4d7cc649ed969a586ca23d044f540cbe74d0a87239b7be3e65d70d16b137c8d0b84e3c66722835c5998dc50376d05b6afc9232f
data/README.md CHANGED
@@ -165,10 +165,10 @@ Docuseal.create_submission_from_pdf({
165
165
 
166
166
  [Documentation](https://www.docuseal.com/docs/api?lang=ruby#create-a-submission-from-docx)
167
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.
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 lists. You can also use the `{{signature}}` field syntax to define fillable fields, as in a PDF.
169
169
 
170
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)
171
+ [Use dynamic content variables in DOCX to create personalized documents](https://www.docuseal.com/guides/use-dynamic-content-variables-in-docx-to-create-personalized-documents)
172
172
 
173
173
 
174
174
  ```ruby
@@ -228,6 +228,21 @@ and typesetting industry</p>
228
228
  })
229
229
  ```
230
230
 
231
+ ### update_submission(id, data)
232
+
233
+ [Documentation](https://www.docuseal.com/docs/api?lang=ruby#update-a-submission)
234
+
235
+ Allows you to update a submission: change its name, expiration date, and archive or unarchive it.
236
+
237
+
238
+ ```ruby
239
+ Docuseal.update_submission(1001, {
240
+ name: "New Submission Name",
241
+ expire_at: "2024-09-01 12:00:00 UTC",
242
+ archived: true
243
+ })
244
+ ```
245
+
231
246
  ### archive_submission(id)
232
247
 
233
248
  [Documentation](https://www.docuseal.com/docs/api?lang=ruby#archive-a-submission)
@@ -345,7 +360,7 @@ Docuseal.create_template_from_pdf({
345
360
 
346
361
  [Documentation](https://www.docuseal.com/docs/api?lang=ruby#create-a-template-from-word-docx)
347
362
 
348
- Provides the functionality to create a fillable document template for existing Microsoft Word document. Use `{{Field Name;role=Signer1;type=date}}` text tags to define fillable fields in the document. See [https://www.docuseal.com/examples/fieldtags.docx](https://www.docuseal.com/examples/fieldtags.docx) for more text tag formats. Or specify the exact pixel coordinates of the document fields using `fields` param.
363
+ Provides the functionality to create a fillable document template for an existing Microsoft Word document. Use `{{Field Name;role=Signer1;type=date}}` text tags to define fillable fields in the document. See [https://www.docuseal.com/examples/fieldtags.docx](https://www.docuseal.com/examples/fieldtags.docx) for more text tag formats. Or specify the exact pixel coordinates of the document fields using `fields` param.
349
364
 
350
365
  **Related Guides:**<br>
351
366
  [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)
@@ -392,7 +407,7 @@ and typesetting industry</p>
392
407
 
393
408
  [Documentation](https://www.docuseal.com/docs/api?lang=ruby#clone-a-template)
394
409
 
395
- Allows you to clone existing template into a new template.
410
+ Allows you to clone an existing template into a new template.
396
411
 
397
412
 
398
413
  ```ruby
data/lib/docuseal/api.rb CHANGED
@@ -86,6 +86,10 @@ module Docuseal
86
86
  http.post('/submissions/docx', data)
87
87
  end
88
88
 
89
+ def update_submission(id, data)
90
+ http.put("/submissions/#{id}", data)
91
+ end
92
+
89
93
  def archive_submission(id)
90
94
  http.delete("/submissions/#{id}")
91
95
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Docuseal
4
- VERSION = '1.0.5'
4
+ VERSION = '1.0.6'
5
5
  end
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.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - DocuSeal
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-09-15 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  requirements: []
48
- rubygems_version: 3.6.2
48
+ rubygems_version: 4.0.10
49
49
  specification_version: 4
50
50
  summary: Ruby bindings for DocuSeal API
51
51
  test_files: []