Skip to content

Commit

Permalink
Merge pull request #2 from docusign/1.0.0-v2.1-1.0.0
Browse files Browse the repository at this point in the history
Version 1.0.0 release
  • Loading branch information
HobbyProjects authored Sep 16, 2021
2 parents b0eb303 + 6171650 commit 96d68f1
Show file tree
Hide file tree
Showing 116 changed files with 129 additions and 126 deletions.
16 changes: 5 additions & 11 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
# Automatically generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen)
AllCops:
TargetRubyVersion: 2.2
TargetRubyVersion: 2.6
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
# to ignore them, so only the ones explicitly set in this file are enabled.
DisabledByDefault: true
Expand All @@ -14,12 +14,6 @@ AllCops:
Style/AndOr:
Enabled: true

# Do not use braces for hash literals when they are the last argument of a
# method call.
Style/BracesAroundHashParameters:
Enabled: true
EnforcedStyle: context_dependent

# Align `when` with `case`.
Layout/CaseIndentation:
Enabled: true
Expand Down Expand Up @@ -57,7 +51,7 @@ Style/HashSyntax:
# extra level of indentation.
Layout/IndentationConsistency:
Enabled: true
EnforcedStyle: rails
EnforcedStyle: indented_internal_methods

# Two spaces, no tabs (for indentation).
Layout/IndentationWidth:
Expand Down Expand Up @@ -119,19 +113,19 @@ Layout/SpaceInsideParens:
# EnforcedStyle: single_quotes

# Detect hard tabs, no hard tabs.
Layout/Tab:
Layout/IndentationStyle:
Enabled: true

# Blank lines should not have any spaces.
Layout/TrailingBlankLines:
Layout/TrailingEmptyLines:
Enabled: true

# No trailing whitespace.
Layout/TrailingWhitespace:
Enabled: false

# Use quotes for string literals when they are enough.
Style/UnneededPercentQ:
Style/RedundantPercentQ:
Enabled: true

# Align `end` with the matching keyword or starting expression except for
Expand Down
2 changes: 1 addition & 1 deletion .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.13-SNAPSHOT
2.4.21-SNAPSHOT
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## [1.0.0] - Admin API v2.1-1.0.0 - 2021-09-16
### Changed
- Added support for version v2.1-1.0.0 of the DocuSign Admin API.
- Updated the SDK release version.


4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This client has the following external dependencies:
* Typhoeus>=1.0.1

## Code examples
You can find on our GitHub a self-executing package of code examples for the DocuSign Admin C# SDK, called a [Launcher](https://github.com/docusign/code-examples-ruby/blob/master/README.md), that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/). These examples can use either the [Authorization Code Grant](https://developers.docusign.com/docs/admin-api/guides/authentication/oauth2-code-grant) or [JSON Web Token (JWT)](https://developers.docusign.com/docs/admin-api/guides/authentication/oauth2-jsonwebtoken) authentication workflows.
You can find on our GitHub a self-executing package of code examples for the DocuSign Admin C# SDK, called a [Launcher](https://github.com/docusign/code-examples-ruby/blob/master/README.md), that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from [Quickstart](https://developers.docusign.com/docs/admin-api/quickstart/). These examples can use either the [Authorization Code Grant](https://developers.docusign.com/docs/admin-api/guides/authentication/oauth2-code-grant) or [JSON Web Token (JWT)](https://developers.docusign.com/docs/admin-api/guides/authentication/oauth2-jsonwebtoken) authentication workflows.

## OAuth implementations
For details regarding which type of OAuth grant will work best for your DocuSign integration, see [Choose OAuth Type](https://developers.docusign.com/platform/auth/choose/) in the [DocuSign Developer Center](https://developers.docusign.com/).
Expand All @@ -48,4 +48,4 @@ The DocuSign Admin Ruby Client SDK is licensed under the [MIT License](https://g
* [DocuSign Developer Center](https://developers.docusign.com/)
* [DocuSign API on Twitter](https://twitter.com/docusignapi)
* [DocuSign For Developers on LinkedIn](https://www.linkedin.com/showcase/docusign-for-developers/)
* [DocuSign For Developers on YouTube](https://www.youtube.com/channel/UCJSJ2kMs_qeQotmw4-lX2NQ)
* [DocuSign For Developers on YouTube](https://www.youtube.com/channel/UCJSJ2kMs_qeQotmw4-lX2NQ)
1 change: 1 addition & 0 deletions docusign_admin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 1.9"

s.add_runtime_dependency 'jwt', '~> 2.2', '>= 2.2.1'
s.add_runtime_dependency 'addressable', '~> 2.7', '>= 2.7.0'
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'

Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/api/accounts_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/api/bulk_exports_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/api/bulk_imports_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/api/ds_groups_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/api/identity_providers_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/api/product_permission_profiles_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/api/reserved_domains_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/api/users_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
5 changes: 3 additions & 2 deletions lib/docusign_admin/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
=end

require 'uri'
require 'addressable/uri'

module DocuSign_Admin
class Configuration
Expand Down Expand Up @@ -168,7 +169,7 @@ def base_path=(base_path)

def base_url
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
URI.encode(url)
Addressable::URI.encode(url)
end

# Gets API key (with prefix if set).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/add_ds_group_users_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/add_user_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/certificate_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/delete_membership_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/delete_membership_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/delete_memberships_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/delete_memberships_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/delete_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/delete_user_identity_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/domain_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/domains_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_add_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_and_users_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_list_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_user_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_users_add_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_users_remove_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_admin/models/ds_group_users_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#An API for an organization administrator to manage organizations, accounts and users
OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
Expand Down
Loading

0 comments on commit 96d68f1

Please sign in to comment.