Skip to content

Commit 483b2b5

Browse files
authored
Version 3.4.0.rc1 release (#49)
* Version 3.4.0.rc1-v2.1-20.2.00 release * Update CHANGELOG.md
1 parent c98ff76 commit 483b2b5

File tree

9 files changed

+316
-8
lines changed

9 files changed

+316
-8
lines changed

.rubocop.yml

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
2+
# Automatically generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen)
3+
AllCops:
4+
TargetRubyVersion: 2.2
5+
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
6+
# to ignore them, so only the ones explicitly set in this file are enabled.
7+
DisabledByDefault: true
8+
Exclude:
9+
- '**/templates/**/*'
10+
- '**/vendor/**/*'
11+
- 'actionpack/lib/action_dispatch/journey/parser.rb'
12+
13+
# Prefer &&/|| over and/or.
14+
Style/AndOr:
15+
Enabled: true
16+
17+
# Do not use braces for hash literals when they are the last argument of a
18+
# method call.
19+
Style/BracesAroundHashParameters:
20+
Enabled: true
21+
EnforcedStyle: context_dependent
22+
23+
# Align `when` with `case`.
24+
Layout/CaseIndentation:
25+
Enabled: true
26+
27+
# Align comments with method definitions.
28+
Layout/CommentIndentation:
29+
Enabled: true
30+
31+
Layout/ElseAlignment:
32+
Enabled: true
33+
34+
Layout/EmptyLineAfterMagicComment:
35+
Enabled: true
36+
37+
# In a regular class definition, no empty lines around the body.
38+
Layout/EmptyLinesAroundClassBody:
39+
Enabled: true
40+
41+
# In a regular method definition, no empty lines around the body.
42+
Layout/EmptyLinesAroundMethodBody:
43+
Enabled: true
44+
45+
# In a regular module definition, no empty lines around the body.
46+
Layout/EmptyLinesAroundModuleBody:
47+
Enabled: true
48+
49+
Layout/FirstParameterIndentation:
50+
Enabled: true
51+
52+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
53+
Style/HashSyntax:
54+
Enabled: false
55+
56+
# Method definitions after `private` or `protected` isolated calls need one
57+
# extra level of indentation.
58+
Layout/IndentationConsistency:
59+
Enabled: true
60+
EnforcedStyle: rails
61+
62+
# Two spaces, no tabs (for indentation).
63+
Layout/IndentationWidth:
64+
Enabled: true
65+
66+
Layout/LeadingCommentSpace:
67+
Enabled: true
68+
69+
Layout/SpaceAfterColon:
70+
Enabled: true
71+
72+
Layout/SpaceAfterComma:
73+
Enabled: true
74+
75+
Layout/SpaceAroundEqualsInParameterDefault:
76+
Enabled: true
77+
78+
Layout/SpaceAroundKeyword:
79+
Enabled: true
80+
81+
Layout/SpaceAroundOperators:
82+
Enabled: true
83+
84+
Layout/SpaceBeforeComma:
85+
Enabled: true
86+
87+
Layout/SpaceBeforeFirstArg:
88+
Enabled: true
89+
90+
Style/DefWithParentheses:
91+
Enabled: true
92+
93+
# Defining a method with parameters needs parentheses.
94+
Style/MethodDefParentheses:
95+
Enabled: true
96+
97+
Style/FrozenStringLiteralComment:
98+
Enabled: false
99+
EnforcedStyle: always
100+
101+
# Use `foo {}` not `foo{}`.
102+
Layout/SpaceBeforeBlockBraces:
103+
Enabled: true
104+
105+
# Use `foo { bar }` not `foo {bar}`.
106+
Layout/SpaceInsideBlockBraces:
107+
Enabled: true
108+
109+
# Use `{ a: 1 }` not `{a:1}`.
110+
Layout/SpaceInsideHashLiteralBraces:
111+
Enabled: true
112+
113+
Layout/SpaceInsideParens:
114+
Enabled: true
115+
116+
# Check quotes usage according to lint rule below.
117+
#Style/StringLiterals:
118+
# Enabled: true
119+
# EnforcedStyle: single_quotes
120+
121+
# Detect hard tabs, no hard tabs.
122+
Layout/Tab:
123+
Enabled: true
124+
125+
# Blank lines should not have any spaces.
126+
Layout/TrailingBlankLines:
127+
Enabled: true
128+
129+
# No trailing whitespace.
130+
Layout/TrailingWhitespace:
131+
Enabled: false
132+
133+
# Use quotes for string literals when they are enough.
134+
Style/UnneededPercentQ:
135+
Enabled: true
136+
137+
# Align `end` with the matching keyword or starting expression except for
138+
# assignments, where it should be aligned with the LHS.
139+
Lint/EndAlignment:
140+
Enabled: true
141+
EnforcedStyleAlignWith: variable
142+
AutoCorrect: true
143+
144+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
145+
Lint/RequireParentheses:
146+
Enabled: true
147+
148+
Style/RedundantReturn:
149+
Enabled: true
150+
AllowMultipleReturnValues: true
151+
152+
Style/Semicolon:
153+
Enabled: true
154+
AllowAsExpressionSeparator: true

.swagger-codegen-ignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Swagger Codegen Ignore
2+
3+
# Use this file to prevent files from being overwritten by the generator.
4+
# The patterns follow closely to .gitignore or .dockerignore.
5+
6+
# As an example, the C# client generator defines ApiClient.cs.
7+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
8+
#ApiClient.cs
9+
10+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
11+
#foo/*/qux
12+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
13+
14+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
15+
#foo/**/qux
16+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
17+
18+
# You can also negate patterns with an exclamation (!).
19+
# For example, you can ignore all files in a docs folder with the file extension .md:
20+
#docs/*.md
21+
# Then explicitly reverse the ignore rule for a single file:
22+
#!docs/README.md
23+
24+
# Swagger and Git files
25+
.swagger-codegen-ignore
26+
git_push.sh
27+
.gitignore
28+
README.md
29+
CHANGELOG.md
30+
best_practices.md
31+
32+
33+
# Project files
34+
LICENSE
35+
.travis.yml
36+
Gemfile
37+
Gemfile.lock
38+
Rakefile
39+
docusign_esign.gemspec
40+
41+
42+
# Specific src and test files
43+
.rspec
44+
docs/
45+
spec/
46+
tests/
47+
lib/docusign_esign/client/
48+
lib/docusign_esign/api_error.rb
49+
lib/docusign_esign/api_client.rb

.swagger-codegen/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.4.13-SNAPSHOT

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
branches:
22
only:
33
- master
4-
- v2-master
54
language: ruby
65
#before_install: openssl aes-256-cbc -K $encrypted_7aa52200b8fc_key -iv $encrypted_7aa52200b8fc_iv -in tests/keys/docusign_private_key.txt.enc -out tests/keys/docusign_private_key.txt -d
76
# command to install dependencies

lib/docusign_esign.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@
453453
require 'docusign_esign/api/power_forms_api'
454454
require 'docusign_esign/api/signing_groups_api'
455455
require 'docusign_esign/api/templates_api'
456+
require 'docusign_esign/api/trust_service_providers_api'
456457
require 'docusign_esign/api/users_api'
457458
require 'docusign_esign/api/workspaces_api'
458459

lib/docusign_esign/api/bulk_envelopes_api.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def update_bulk_send_list_with_http_info(account_id, bulk_send_list_id, bulk_sen
668668
# Adds or replaces envelope bulk recipients.
669669
# Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
670670
# @param account_id The external account number (int) or account ID GUID.
671-
# @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
671+
# @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
672672
# @param recipient_id A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`.
673673
# @param bulk_recipients_request
674674
# @return [BulkRecipientsSummaryResponse]
@@ -680,7 +680,7 @@ def update_recipients(account_id, envelope_id, recipient_id, bulk_recipients_req
680680
# Adds or replaces envelope bulk recipients.
681681
# Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
682682
# @param account_id The external account number (int) or account ID GUID.
683-
# @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
683+
# @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
684684
# @param recipient_id A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`.
685685
# @param bulk_recipients_request
686686
# @return [Array<(BulkRecipientsSummaryResponse, Fixnum, Hash)>] BulkRecipientsSummaryResponse data, response status code and response headers
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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.1
7+
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.1/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

0 commit comments

Comments
 (0)