docuseal 1.0.1 → 1.0.2
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 +4 -4
- data/lib/docuseal/http.rb +4 -1
- 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: 975f08418bdd57eb2f63777bb6f293254e26c9347e6b267854299d13f75eed05
|
|
4
|
+
data.tar.gz: 375137878087b2c284c63f180ab7283ed665c394eaf33553a58195901e73d7d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd5d3c2e3abec3fb5bb145dda6e02c4752ea8983a67b530bee684698f589c1ee51b6b4851088c4c70e8eae2e11e4935211c7492c0be240824f24829b19a7322a
|
|
7
|
+
data.tar.gz: 9a8b631e6af94e54caed11cfb064e8791f77d89b9830ca521a50b01338ff20b87cba16d680506fb04bddb4ce56b781df9ae8a48fc1aacc28ab3574c463bafddc
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@ The DocuSeal Ruby library provides seamless integration with the DocuSeal API, a
|
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
7
|
-
Detailed documentation is available at [DocuSeal API Docs](https://www.docuseal.com/docs/api).
|
|
7
|
+
Detailed documentation is available at [DocuSeal API Docs](https://www.docuseal.com/docs/api?lang=ruby).
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
@@ -49,9 +49,9 @@ Docuseal.key = 'your_api_key_here'
|
|
|
49
49
|
Docuseal.url = 'https://api.docuseal.eu'
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
#### On-
|
|
52
|
+
#### On-Premises
|
|
53
53
|
|
|
54
|
-
For on-
|
|
54
|
+
For on-premises installations, API keys can be retrieved from the API settings page of your deployed application, e.g., https://yourdocusealapp.com/settings/api.
|
|
55
55
|
|
|
56
56
|
```ruby
|
|
57
57
|
require 'docuseal'
|
|
@@ -159,7 +159,7 @@ Docuseal.get_submitter(500001)
|
|
|
159
159
|
|
|
160
160
|
[Documentation](https://www.docuseal.com/docs/api?lang=ruby#update-a-submitter)
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
Allows you to update submitter details, pre-fill or update field values and re-send emails.
|
|
163
163
|
|
|
164
164
|
**Related Guides:**<br>
|
|
165
165
|
[Automatically sign documents via API](https://www.docuseal.com/guides/pre-fill-pdf-document-form-fields-with-api#automatically_sign_documents_via_api)
|
data/lib/docuseal/http.rb
CHANGED
|
@@ -7,6 +7,8 @@ require 'net/http'
|
|
|
7
7
|
|
|
8
8
|
module Docuseal
|
|
9
9
|
class Http
|
|
10
|
+
USER_AGENT = "DocuSeal Ruby v#{VERSION}"
|
|
11
|
+
|
|
10
12
|
BODY_METHODS = %i[post put].freeze
|
|
11
13
|
|
|
12
14
|
attr_reader :config
|
|
@@ -51,7 +53,8 @@ module Docuseal
|
|
|
51
53
|
def headers
|
|
52
54
|
{
|
|
53
55
|
'X-Auth-Token' => config[:key],
|
|
54
|
-
'Content-Type' => 'application/json'
|
|
56
|
+
'Content-Type' => 'application/json',
|
|
57
|
+
'User-Agent' => USER_AGENT
|
|
55
58
|
}
|
|
56
59
|
end
|
|
57
60
|
|
data/lib/docuseal/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- DocuSeal
|
|
@@ -30,7 +30,7 @@ metadata:
|
|
|
30
30
|
bug_tracker_uri: https://github.com/docusealco/docuseal-ruby/issues
|
|
31
31
|
homepage_uri: https://www.docuseal.com
|
|
32
32
|
source_code_uri: https://github.com/docusealco/docuseal-ruby
|
|
33
|
-
documentation_uri: https://www.docuseal.com/docs/api
|
|
33
|
+
documentation_uri: https://www.docuseal.com/docs/api?lang=ruby
|
|
34
34
|
rubygems_mfa_required: 'true'
|
|
35
35
|
post_install_message:
|
|
36
36
|
rdoc_options: []
|