Skip to content

Commit d1daf45

Browse files
author
Chris Jackson
authored
Merge pull request #2 from SignRequest/v1.1.0
v1.1.0
2 parents eeb6ed5 + dfae1a3 commit d1daf45

File tree

94 files changed

+2899
-1524
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+2899
-1524
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by: https://github.com/swagger-api/swagger-codegen.git
2-
#
2+
#
33

44
*.gem
55
*.rbc

.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/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.1
1+
2.4.8

README.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SignRequest API Client
1+
# SignRequest Ruby Client
22

33
SignRequestClient - the offical Ruby client for [SignRequest.com](https://signrequest.com/)
44

@@ -8,13 +8,14 @@ SignRequestClient - the offical Ruby client for [SignRequest.com](https://signre
88

99
Add this to the Gemfile:
1010

11-
gem 'signrequest_client', '~> 1.0.0'
11+
gem 'signrequest_client', '~> 1.1.0'
1212

1313
And then run:
1414

1515
bundle install
16-
16+
1717
## API Documentation
18+
1819
Full API documentation, including code samples, can be found here:
1920
https://signrequest.com/api/v1/docs/
2021

@@ -43,14 +44,11 @@ end
4344

4445
## Documentation for API Endpoints
4546

46-
All URIs are relative to _https://signrequest.com/api/v1_
47+
All URIs are relative to *https://signrequest.com/api/v1*
4748

4849
Class | Method | HTTP request | Description
4950
------------ | ------------- | ------------- | -------------
50-
*SignRequestClient::ApiTokensApi* | [**api_tokens_create**](docs/ApiTokensApi.md#api_tokens_create) | **POST** /api-tokens/ | Create an API token
51-
*SignRequestClient::ApiTokensApi* | [**api_tokens_delete**](docs/ApiTokensApi.md#api_tokens_delete) | **DELETE** /api-tokens/{key}/ | Delete an API token
5251
*SignRequestClient::ApiTokensApi* | [**api_tokens_list**](docs/ApiTokensApi.md#api_tokens_list) | **GET** /api-tokens/ | Retrieve a list of API tokens
53-
*SignRequestClient::ApiTokensApi* | [**api_tokens_read**](docs/ApiTokensApi.md#api_tokens_read) | **GET** /api-tokens/{key}/ | Retrieve an API token
5452
*SignRequestClient::DocumentAttachmentsApi* | [**document_attachments_create**](docs/DocumentAttachmentsApi.md#document_attachments_create) | **POST** /document-attachments/ | Create a Document Attachment
5553
*SignRequestClient::DocumentAttachmentsApi* | [**document_attachments_list**](docs/DocumentAttachmentsApi.md#document_attachments_list) | **GET** /document-attachments/ | Retrieve a list of Document Attachments
5654
*SignRequestClient::DocumentAttachmentsApi* | [**document_attachments_read**](docs/DocumentAttachmentsApi.md#document_attachments_read) | **GET** /document-attachments/{uuid}/ | Retrieve a Document Attachment
@@ -70,6 +68,7 @@ Class | Method | HTTP request | Description
7068
*SignRequestClient::TeamMembersApi* | [**team_members_list**](docs/TeamMembersApi.md#team_members_list) | **GET** /team-members/ | Retrieve a list of Team Members
7169
*SignRequestClient::TeamMembersApi* | [**team_members_read**](docs/TeamMembersApi.md#team_members_read) | **GET** /team-members/{uuid}/ | Retrieve a Team Member
7270
*SignRequestClient::TeamsApi* | [**teams_create**](docs/TeamsApi.md#teams_create) | **POST** /teams/ | Create a Team
71+
*SignRequestClient::TeamsApi* | [**teams_delete**](docs/TeamsApi.md#teams_delete) | **DELETE** /teams/{subdomain}/ | Delete a Team
7372
*SignRequestClient::TeamsApi* | [**teams_invite_member**](docs/TeamsApi.md#teams_invite_member) | **POST** /teams/{subdomain}/invite_member/ | Invite a Team Member
7473
*SignRequestClient::TeamsApi* | [**teams_list**](docs/TeamsApi.md#teams_list) | **GET** /teams/ | Retrieve a list of Teams
7574
*SignRequestClient::TeamsApi* | [**teams_partial_update**](docs/TeamsApi.md#teams_partial_update) | **PATCH** /teams/{subdomain}/ | Update a Team
@@ -91,6 +90,9 @@ Class | Method | HTTP request | Description
9190
- [SignRequestClient::DocumentAttachment](docs/DocumentAttachment.md)
9291
- [SignRequestClient::DocumentSearch](docs/DocumentSearch.md)
9392
- [SignRequestClient::DocumentSignerTemplateConf](docs/DocumentSignerTemplateConf.md)
93+
- [SignRequestClient::DocumentSigningLog](docs/DocumentSigningLog.md)
94+
- [SignRequestClient::DocumentSignrequest](docs/DocumentSignrequest.md)
95+
- [SignRequestClient::DocumentTeam](docs/DocumentTeam.md)
9496
- [SignRequestClient::Event](docs/Event.md)
9597
- [SignRequestClient::FileFromSf](docs/FileFromSf.md)
9698
- [SignRequestClient::InlineDocumentSignerIntegrationData](docs/InlineDocumentSignerIntegrationData.md)
@@ -126,3 +128,13 @@ Class | Method | HTTP request | Description
126128
- [SignRequestClient::User](docs/User.md)
127129
- [SignRequestClient::WebhookSubscription](docs/WebhookSubscription.md)
128130

131+
132+
## Documentation for Authorization
133+
134+
135+
### Token
136+
137+
- **Type**: API key
138+
- **API key parameter name**: Authorization
139+
- **Location**: HTTP header
140+

Rakefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
begin
2-
require 'bundler/gem_tasks'
32
require 'rspec/core/rake_task'
43

54
RSpec::Core::RakeTask.new(:spec)

0 commit comments

Comments
 (0)