form_api 1.11.0 → 1.12.0
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/Submission.md +1 -0
- data/lib/form_api/models/submission.rb +10 -1
- data/lib/form_api/version.rb +1 -1
- data/spec/models/submission_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3da6f1889a1798c01a69eaa95a18055c724840adbd047896fb4177db7a316f91
|
4
|
+
data.tar.gz: 61b0aeeb8a1ca8a1ce31e4b93268cb7d8a85a2fb7aeb2d4fc7588b982fcf60d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1363f71e0f6464932ed8bc8db18054be29a9b3078171867c42a90b6c44a5dfe6b5d68f723917d465e0ab553c635a6eaa5b5461df3faa9f19231c54566fca202d
|
7
|
+
data.tar.gz: 1983abc37c174ca3decc784c4c25475334f9dbbc6809945aff5ebb4ddf4cfab63ab2ef62dfa0d6fde0e9b89e38d5b356b243eb12fc0b1d0dda335b7179d93edc
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ FormAPI is a service that helps you fill out and sign PDF templates.
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.
|
10
|
+
- Package version: 1.12.0
|
11
11
|
- Build package: io.formapi.codegen.FormApiRubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build form_api.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./form_api-1.
|
26
|
+
gem install ./form_api-1.12.0.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./form_api-1.
|
28
|
+
(for development, run `gem install --dev ./form_api-1.12.0.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'form_api', '~> 1.
|
34
|
+
gem 'form_api', '~> 1.12.0'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/docs/Submission.md
CHANGED
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
13
13
|
**state** | **String** | |
|
14
14
|
**metadata** | **Object** | | [optional]
|
15
15
|
**download_url** | **String** | | [optional]
|
16
|
+
**permanent_download_url** | **String** | | [optional]
|
16
17
|
**batch_id** | **String** | | [optional]
|
17
18
|
**data_requests** | [**Array<SubmissionDataRequest>**](SubmissionDataRequest.md) | | [optional]
|
18
19
|
**actions** | [**Array<SubmissionAction>**](SubmissionAction.md) | | [optional]
|
@@ -34,6 +34,8 @@ module FormAPI
|
|
34
34
|
|
35
35
|
attr_accessor :download_url
|
36
36
|
|
37
|
+
attr_accessor :permanent_download_url
|
38
|
+
|
37
39
|
attr_accessor :batch_id
|
38
40
|
|
39
41
|
attr_accessor :data_requests
|
@@ -75,6 +77,7 @@ module FormAPI
|
|
75
77
|
:'state' => :'state',
|
76
78
|
:'metadata' => :'metadata',
|
77
79
|
:'download_url' => :'download_url',
|
80
|
+
:'permanent_download_url' => :'permanent_download_url',
|
78
81
|
:'batch_id' => :'batch_id',
|
79
82
|
:'data_requests' => :'data_requests',
|
80
83
|
:'actions' => :'actions'
|
@@ -94,6 +97,7 @@ module FormAPI
|
|
94
97
|
:'state' => :'String',
|
95
98
|
:'metadata' => :'Object',
|
96
99
|
:'download_url' => :'String',
|
100
|
+
:'permanent_download_url' => :'String',
|
97
101
|
:'batch_id' => :'String',
|
98
102
|
:'data_requests' => :'Array<SubmissionDataRequest>',
|
99
103
|
:'actions' => :'Array<SubmissionAction>'
|
@@ -148,6 +152,10 @@ module FormAPI
|
|
148
152
|
self.download_url = attributes[:'download_url']
|
149
153
|
end
|
150
154
|
|
155
|
+
if attributes.has_key?(:'permanent_download_url')
|
156
|
+
self.permanent_download_url = attributes[:'permanent_download_url']
|
157
|
+
end
|
158
|
+
|
151
159
|
if attributes.has_key?(:'batch_id')
|
152
160
|
self.batch_id = attributes[:'batch_id']
|
153
161
|
end
|
@@ -225,6 +233,7 @@ module FormAPI
|
|
225
233
|
state == o.state &&
|
226
234
|
metadata == o.metadata &&
|
227
235
|
download_url == o.download_url &&
|
236
|
+
permanent_download_url == o.permanent_download_url &&
|
228
237
|
batch_id == o.batch_id &&
|
229
238
|
data_requests == o.data_requests &&
|
230
239
|
actions == o.actions
|
@@ -239,7 +248,7 @@ module FormAPI
|
|
239
248
|
# Calculates hash code according to all attributes.
|
240
249
|
# @return [Fixnum] Hash code
|
241
250
|
def hash
|
242
|
-
[id, template_id, test, editable, expired, expires_at, processed_at, state, metadata, download_url, batch_id, data_requests, actions].hash
|
251
|
+
[id, template_id, test, editable, expired, expires_at, processed_at, state, metadata, download_url, permanent_download_url, batch_id, data_requests, actions].hash
|
243
252
|
end
|
244
253
|
|
245
254
|
# Builds the object from hash
|
data/lib/form_api/version.rb
CHANGED
@@ -96,6 +96,12 @@ describe 'Submission' do
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
+
describe 'test attribute "permanent_download_url"' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
99
105
|
describe 'test attribute "batch_id"' do
|
100
106
|
it 'should work' do
|
101
107
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|