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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '080c6ad5e07b710188158e45db7ecfbffd37b02c05e731278d51b80af49e668c'
4
- data.tar.gz: ae91e06d7589ecc6cebe94a78a431110b7568075331bc838c3f940de2c5d088a
3
+ metadata.gz: 3da6f1889a1798c01a69eaa95a18055c724840adbd047896fb4177db7a316f91
4
+ data.tar.gz: 61b0aeeb8a1ca8a1ce31e4b93268cb7d8a85a2fb7aeb2d4fc7588b982fcf60d2
5
5
  SHA512:
6
- metadata.gz: ff818be54ca54f3ae63767ac6b0928280dcd670bc00c4691b565b14dbdac0a5a7120016163834a441a66320bab8b9bf2f089ca7945f04b0ba75705e6a887c06b
7
- data.tar.gz: 07e4434c1e642b08e5dea6275a39dbdea5ec2b97b91f13183b65ebc977bd9f7589219b786d48a5a3c95afc8e3df3b35671d7f695dd256973ec45528c8f6a30b3
6
+ metadata.gz: 1363f71e0f6464932ed8bc8db18054be29a9b3078171867c42a90b6c44a5dfe6b5d68f723917d465e0ab553c635a6eaa5b5461df3faa9f19231c54566fca202d
7
+ data.tar.gz: 1983abc37c174ca3decc784c4c25475334f9dbbc6809945aff5ebb4ddf4cfab63ab2ef62dfa0d6fde0e9b89e38d5b356b243eb12fc0b1d0dda335b7179d93edc
@@ -1,3 +1,7 @@
1
+ ### 1.12.0 [October 10, 2019]
2
+
3
+ - Add permanent_download_url attribute to Submission model
4
+
1
5
  ### 1.11.0 [October 9, 2019]
2
6
 
3
7
  - Add parent folder ID and path params to GET template response
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- form_api (1.11.0)
4
+ form_api (1.12.0)
5
5
  ffi (~> 1.0, >= 1.9.24)
6
6
  json (>= 1.8)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
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.11.0
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.11.0.gem
26
+ gem install ./form_api-1.12.0.gem
27
27
  ```
28
- (for development, run `gem install --dev ./form_api-1.11.0.gem` to install the development dependencies)
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.11.0'
34
+ gem 'form_api', '~> 1.12.0'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 3.3.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module FormAPI
14
- VERSION = '1.11.0'
14
+ VERSION = '1.12.0'
15
15
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: form_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Form Applications, Inc.