docusign_esign 2.4.0 → 2.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +1 -1
- data/docusign_esign-2.4.0.gem +0 -0
- data/docusign_esign-3.4.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +1 -0
- data/lib/docusign_esign/api/trust_service_providers_api.rb +74 -0
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +8 -8
- metadata +32 -35
- data/Gemfile.lock +0 -73
- data/lib/.DS_Store +0 -0
- data/lib/docusign_esign/.DS_Store +0 -0
- data/lib/docusign_esign/api/.DS_Store +0 -0
- data/tests/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9a24132ea7178711f351afb5dbdb9a12355e8fefc81ab6a230f8ec3d0c3cd4be
|
4
|
+
data.tar.gz: 5bc521c3a73018c2c78b6d2f66f14991064f18e5686bb340a44a3eb3b845e65a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4f2d16aa5e20f2e143f9bffa41a3ae0c94e5dc3bc023bb0804880ef022da4ae90c99c4868fa31984caa7a6c0b7aac03176d2dd30e88e63e78769ee3f2401622
|
7
|
+
data.tar.gz: '09f9c9a280baea5a4c9b518d7ec0b9a25dabf70d7c1a37e65b4a9e8c4ec7a01c18ef9bc98aa15dc8387abb818a3a50cc18efe5b5bb71441b6bd888510c55a477'
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
|
5
5
|
|
6
|
-
## [v2.4.0] - eSignature API v2-20.1.
|
6
|
+
## [v2.4.0] - eSignature API v2-20.1.00 - 2020-05-31
|
7
7
|
### Changed
|
8
8
|
- Added support for version v2-20.1.02 of the DocuSign eSignature API.
|
9
9
|
- Updated the SDK release version.
|
Binary file
|
Binary file
|
data/lib/docusign_esign.rb
CHANGED
@@ -387,6 +387,7 @@ require 'docusign_esign/api/organizations_api'
|
|
387
387
|
require 'docusign_esign/api/power_forms_api'
|
388
388
|
require 'docusign_esign/api/signing_groups_api'
|
389
389
|
require 'docusign_esign/api/templates_api'
|
390
|
+
require 'docusign_esign/api/trust_service_providers_api'
|
390
391
|
require 'docusign_esign/api/users_api'
|
391
392
|
require 'docusign_esign/api/workspaces_api'
|
392
393
|
|
@@ -0,0 +1,74 @@
|
|
1
|
+
=begin
|
2
|
+
#DocuSign REST API
|
3
|
+
|
4
|
+
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.13-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require "uri"
|
14
|
+
|
15
|
+
module DocuSign_eSign
|
16
|
+
|
17
|
+
|
18
|
+
class TrustServiceProvidersApi
|
19
|
+
attr_accessor :api_client
|
20
|
+
|
21
|
+
def initialize(api_client = TrustServiceProvidersApi.default)
|
22
|
+
@api_client = api_client
|
23
|
+
end
|
24
|
+
|
25
|
+
# Returns Account available seals for specified account.
|
26
|
+
#
|
27
|
+
# @param account_id The external account number (int) or account ID Guid.
|
28
|
+
# @return [AccountSeals]
|
29
|
+
def get_seal_providers(account_id)
|
30
|
+
data, _status_code, _headers = get_seal_providers_with_http_info(account_id)
|
31
|
+
return data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Returns Account available seals for specified account.
|
35
|
+
#
|
36
|
+
# @param account_id The external account number (int) or account ID Guid.
|
37
|
+
# @return [Array<(AccountSeals, Fixnum, Hash)>] AccountSeals data, response status code and response headers
|
38
|
+
def get_seal_providers_with_http_info(account_id)
|
39
|
+
if @api_client.config.debugging
|
40
|
+
@api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.get_seal_providers ..."
|
41
|
+
end
|
42
|
+
# verify the required parameter 'account_id' is set
|
43
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling TrustServiceProvidersApi.get_seal_providers" if account_id.nil?
|
44
|
+
# resource path
|
45
|
+
local_var_path = "/v2/accounts/{accountId}/seals".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
46
|
+
|
47
|
+
# query parameters
|
48
|
+
query_params = {}
|
49
|
+
|
50
|
+
# header parameters
|
51
|
+
header_params = {}
|
52
|
+
# HTTP header 'Accept' (if needed)
|
53
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
|
55
|
+
# form parameters
|
56
|
+
form_params = {}
|
57
|
+
|
58
|
+
# http body (model)
|
59
|
+
post_body = nil
|
60
|
+
auth_names = []
|
61
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
62
|
+
:header_params => header_params,
|
63
|
+
:query_params => query_params,
|
64
|
+
:form_params => form_params,
|
65
|
+
:body => post_body,
|
66
|
+
:auth_names => auth_names,
|
67
|
+
:return_type => 'AccountSeals')
|
68
|
+
if @api_client.config.debugging
|
69
|
+
@api_client.config.logger.debug "API called: TrustServiceProvidersApi#get_seal_providers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
+
end
|
71
|
+
return data, status_code, headers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
data/tests/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
docusign_esign (
|
4
|
+
docusign_esign (3.4.0.rc1)
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
6
6
|
jwt (~> 2.2, >= 2.2.1)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -9,25 +9,25 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
diff-lcs (1.3)
|
12
|
+
diff-lcs (1.4.3)
|
13
13
|
ethon (0.12.0)
|
14
14
|
ffi (>= 1.3.0)
|
15
|
-
ffi (1.
|
15
|
+
ffi (1.13.1)
|
16
16
|
json (2.3.0)
|
17
17
|
jwt (2.2.1)
|
18
18
|
rspec (3.9.0)
|
19
19
|
rspec-core (~> 3.9.0)
|
20
20
|
rspec-expectations (~> 3.9.0)
|
21
21
|
rspec-mocks (~> 3.9.0)
|
22
|
-
rspec-core (3.9.
|
23
|
-
rspec-support (~> 3.9.
|
24
|
-
rspec-expectations (3.9.
|
22
|
+
rspec-core (3.9.2)
|
23
|
+
rspec-support (~> 3.9.3)
|
24
|
+
rspec-expectations (3.9.2)
|
25
25
|
diff-lcs (>= 1.2.0, < 2.0)
|
26
26
|
rspec-support (~> 3.9.0)
|
27
27
|
rspec-mocks (3.9.1)
|
28
28
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
29
|
rspec-support (~> 3.9.0)
|
30
|
-
rspec-support (3.9.
|
30
|
+
rspec-support (3.9.3)
|
31
31
|
typhoeus (1.4.0)
|
32
32
|
ethon (>= 0.9.0)
|
33
33
|
|
@@ -39,4 +39,4 @@ DEPENDENCIES
|
|
39
39
|
rspec
|
40
40
|
|
41
41
|
BUNDLED WITH
|
42
|
-
|
42
|
+
1.17.2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docusign_esign
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DocuSign
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -54,82 +54,82 @@ dependencies:
|
|
54
54
|
name: json
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '2.1'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: 2.1.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '2.1'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '2.1'
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 2.1.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '2.1'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rspec-mocks
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- - "~>"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '3.8'
|
80
77
|
- - ">="
|
81
78
|
- !ruby/object:Gem::Version
|
82
79
|
version: 3.8.0
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.8'
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3.8'
|
90
87
|
- - ">="
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: 3.8.0
|
90
|
+
- - "~>"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3.8'
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: rspec-expectations
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '3.8'
|
100
97
|
- - ">="
|
101
98
|
- !ruby/object:Gem::Version
|
102
99
|
version: 3.8.0
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '3.8'
|
103
103
|
type: :development
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '3.8'
|
110
107
|
- - ">="
|
111
108
|
- !ruby/object:Gem::Version
|
112
109
|
version: 3.8.0
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '3.8'
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: rspec
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - "~>"
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '3.4'
|
120
117
|
- - ">="
|
121
118
|
- !ruby/object:Gem::Version
|
122
119
|
version: 3.4.0
|
120
|
+
- - "~>"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '3.4'
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '3.4'
|
130
127
|
- - ">="
|
131
128
|
- !ruby/object:Gem::Version
|
132
129
|
version: 3.4.0
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '3.4'
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
134
|
name: vcr
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
@@ -261,16 +261,14 @@ extra_rdoc_files: []
|
|
261
261
|
files:
|
262
262
|
- CHANGELOG.md
|
263
263
|
- Gemfile
|
264
|
-
- Gemfile.lock
|
265
264
|
- LICENSE
|
266
265
|
- README.md
|
267
266
|
- Rakefile
|
267
|
+
- docusign_esign-2.4.0.gem
|
268
|
+
- docusign_esign-3.4.0.rc1.gem
|
268
269
|
- docusign_esign.gemspec
|
269
270
|
- git_push.sh
|
270
|
-
- lib/.DS_Store
|
271
271
|
- lib/docusign_esign.rb
|
272
|
-
- lib/docusign_esign/.DS_Store
|
273
|
-
- lib/docusign_esign/api/.DS_Store
|
274
272
|
- lib/docusign_esign/api/accounts_api.rb
|
275
273
|
- lib/docusign_esign/api/authentication_api.rb
|
276
274
|
- lib/docusign_esign/api/billing_api.rb
|
@@ -288,6 +286,7 @@ files:
|
|
288
286
|
- lib/docusign_esign/api/power_forms_api.rb
|
289
287
|
- lib/docusign_esign/api/signing_groups_api.rb
|
290
288
|
- lib/docusign_esign/api/templates_api.rb
|
289
|
+
- lib/docusign_esign/api/trust_service_providers_api.rb
|
291
290
|
- lib/docusign_esign/api/tsps_api.rb
|
292
291
|
- lib/docusign_esign/api/users_api.rb
|
293
292
|
- lib/docusign_esign/api/workspaces_api.rb
|
@@ -664,7 +663,6 @@ files:
|
|
664
663
|
- lib/docusign_esign/models/workspace_user_authorization.rb
|
665
664
|
- lib/docusign_esign/models/zip.rb
|
666
665
|
- lib/docusign_esign/version.rb
|
667
|
-
- tests/.DS_Store
|
668
666
|
- tests/Gemfile
|
669
667
|
- tests/Gemfile.lock
|
670
668
|
- tests/docs/Test.pdf
|
@@ -685,12 +683,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
685
683
|
version: '1.9'
|
686
684
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
687
685
|
requirements:
|
688
|
-
- - "
|
686
|
+
- - ">"
|
689
687
|
- !ruby/object:Gem::Version
|
690
|
-
version:
|
688
|
+
version: 1.3.1
|
691
689
|
requirements: []
|
692
|
-
|
693
|
-
rubygems_version: 2.5.2.3
|
690
|
+
rubygems_version: 3.0.3
|
694
691
|
signing_key:
|
695
692
|
specification_version: 4
|
696
693
|
summary: DocuSign REST API Ruby Gem
|
data/Gemfile.lock
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
docusign_esign (3.3.0.pre.rc)
|
5
|
-
json (~> 2.1, >= 2.1.0)
|
6
|
-
jwt (~> 2.2, >= 2.2.1)
|
7
|
-
typhoeus (~> 1.0, >= 1.0.1)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
ZenTest (4.12.0)
|
13
|
-
addressable (2.7.0)
|
14
|
-
public_suffix (>= 2.0.2, < 5.0)
|
15
|
-
autotest (4.4.6)
|
16
|
-
ZenTest (>= 4.4.1)
|
17
|
-
autotest-fsevent (0.2.17)
|
18
|
-
sys-uname
|
19
|
-
autotest-growl (0.2.16)
|
20
|
-
autotest-rails-pure (4.1.2)
|
21
|
-
crack (0.4.3)
|
22
|
-
safe_yaml (~> 1.0.0)
|
23
|
-
diff-lcs (1.3)
|
24
|
-
ethon (0.12.0)
|
25
|
-
ffi (>= 1.3.0)
|
26
|
-
ffi (1.12.2)
|
27
|
-
hashdiff (1.0.1)
|
28
|
-
json (2.3.0)
|
29
|
-
jwt (2.2.1)
|
30
|
-
public_suffix (4.0.5)
|
31
|
-
rake (12.3.3)
|
32
|
-
rspec (3.9.0)
|
33
|
-
rspec-core (~> 3.9.0)
|
34
|
-
rspec-expectations (~> 3.9.0)
|
35
|
-
rspec-mocks (~> 3.9.0)
|
36
|
-
rspec-core (3.9.2)
|
37
|
-
rspec-support (~> 3.9.3)
|
38
|
-
rspec-expectations (3.9.2)
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.9.0)
|
41
|
-
rspec-mocks (3.9.1)
|
42
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.9.0)
|
44
|
-
rspec-support (3.9.3)
|
45
|
-
safe_yaml (1.0.5)
|
46
|
-
sys-uname (1.2.1)
|
47
|
-
ffi (>= 1.0.0)
|
48
|
-
typhoeus (1.4.0)
|
49
|
-
ethon (>= 0.9.0)
|
50
|
-
vcr (3.0.3)
|
51
|
-
webmock (1.24.6)
|
52
|
-
addressable (>= 2.3.6)
|
53
|
-
crack (>= 0.3.2)
|
54
|
-
hashdiff
|
55
|
-
|
56
|
-
PLATFORMS
|
57
|
-
ruby
|
58
|
-
|
59
|
-
DEPENDENCIES
|
60
|
-
autotest (~> 4.4, >= 4.4.6)
|
61
|
-
autotest-fsevent (~> 0.2, >= 0.2.11)
|
62
|
-
autotest-growl (~> 0.2, >= 0.2.16)
|
63
|
-
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
64
|
-
docusign_esign!
|
65
|
-
rake (~> 12.3.3)
|
66
|
-
rspec (~> 3.4, >= 3.4.0)
|
67
|
-
rspec-expectations (~> 3.8, >= 3.8.0)
|
68
|
-
rspec-mocks (~> 3.8, >= 3.8.0)
|
69
|
-
vcr (~> 3.0, >= 3.0.1)
|
70
|
-
webmock (~> 1.24, >= 1.24.3)
|
71
|
-
|
72
|
-
BUNDLED WITH
|
73
|
-
2.0.2
|
data/lib/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|
data/tests/.DS_Store
DELETED
Binary file
|