cloudmersive-convert-api-client 2.2.2 → 2.2.6
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/README.md +20 -4
- data/docs/DocxContentControl.md +8 -0
- data/docs/DocxSetFormFieldsRequest.md +10 -0
- data/docs/DocxTableSingleTableFill.md +10 -0
- data/docs/DocxTableTableFillMultiRequest.md +10 -0
- data/docs/EditDocumentApi.md +165 -0
- data/docs/FillHandlebarFormField.md +9 -0
- data/docs/GetDocxContentControlsResponse.md +9 -0
- data/docs/GetDocxGetFormFieldsResponse.md +10 -0
- data/docs/HandlebarFormField.md +8 -0
- data/docs/TransformDocumentApi.md +55 -0
- data/docs/ValidateDocumentApi.md +220 -0
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +164 -0
- data/lib/cloudmersive-convert-api-client/api/transform_document_api.rb +54 -0
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +220 -0
- data/lib/cloudmersive-convert-api-client/models/docx_content_control.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_form_fields_request.rb +223 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_single_table_fill.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_table_fill_multi_request.rb +223 -0
- data/lib/cloudmersive-convert-api-client/models/fill_handlebar_form_field.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_content_controls_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_form_fields_response.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/handlebar_form_field.rb +186 -0
- data/lib/cloudmersive-convert-api-client/version.rb +1 -1
- data/lib/cloudmersive-convert-api-client.rb +8 -0
- data/spec/api/edit_document_api_spec.rb +36 -0
- data/spec/api/transform_document_api_spec.rb +12 -0
- data/spec/api/validate_document_api_spec.rb +48 -0
- data/spec/models/docx_content_control_spec.rb +41 -0
- data/spec/models/docx_set_form_fields_request_spec.rb +53 -0
- data/spec/models/docx_table_single_table_fill_spec.rb +53 -0
- data/spec/models/docx_table_table_fill_multi_request_spec.rb +53 -0
- data/spec/models/fill_handlebar_form_field_spec.rb +47 -0
- data/spec/models/get_docx_content_controls_response_spec.rb +47 -0
- data/spec/models/get_docx_get_form_fields_response_spec.rb +53 -0
- data/spec/models/handlebar_form_field_spec.rb +41 -0
- metadata +26 -2
@@ -88,6 +88,18 @@ describe 'TransformDocumentApi' do
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
+
# unit tests for transform_document_docx_table_fill_in_multi
|
92
|
+
# Fill in data in multiple tables in a Word DOCX document, return result
|
93
|
+
# Replace placeholder rows in multiple tables in an Office Word Document (docx) using one or more templates
|
94
|
+
# @param request
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [String]
|
97
|
+
describe 'transform_document_docx_table_fill_in_multi test' do
|
98
|
+
it 'should work' do
|
99
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
91
103
|
# unit tests for transform_document_pptx_replace
|
92
104
|
# Replace string in PowerPoint PPTX presentation, return result
|
93
105
|
# Replace all instances of a string in an Office PowerPoint Document (pptx)
|
@@ -56,6 +56,18 @@ describe 'ValidateDocumentApi' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
# unit tests for validate_document_doc_validation
|
60
|
+
# Validate a Word 97-2003 Legacy document (DOC)
|
61
|
+
# Validate a Word 97-2003 Legacy document (DOC)
|
62
|
+
# @param input_file Input file to perform the operation on.
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [DocumentValidationResult]
|
65
|
+
describe 'validate_document_doc_validation test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
59
71
|
# unit tests for validate_document_docx_validation
|
60
72
|
# Validate a Word document (DOCX)
|
61
73
|
# Validate a Word document (DOCX); if the document is not valid, identifies the errors in the document
|
@@ -200,6 +212,18 @@ describe 'ValidateDocumentApi' do
|
|
200
212
|
end
|
201
213
|
end
|
202
214
|
|
215
|
+
# unit tests for validate_document_ppt_validation
|
216
|
+
# Validate a PowerPoint 97-2003 Legacy presentation (PPT)
|
217
|
+
# Validate a PowerPoint 97-2003 Legacy presentation (PPT)
|
218
|
+
# @param input_file Input file to perform the operation on.
|
219
|
+
# @param [Hash] opts the optional parameters
|
220
|
+
# @return [DocumentValidationResult]
|
221
|
+
describe 'validate_document_ppt_validation test' do
|
222
|
+
it 'should work' do
|
223
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
203
227
|
# unit tests for validate_document_pptx_validation
|
204
228
|
# Validate a PowerPoint presentation (PPTX)
|
205
229
|
# Validate a PowerPoint presentation (PPTX); if the document is not valid, identifies the errors in the document
|
@@ -224,6 +248,18 @@ describe 'ValidateDocumentApi' do
|
|
224
248
|
end
|
225
249
|
end
|
226
250
|
|
251
|
+
# unit tests for validate_document_rtf_validation
|
252
|
+
# Validate a Rich Text Format document (RTF)
|
253
|
+
# Validate a Rich Text Format document (RTF)
|
254
|
+
# @param input_file Input file to perform the operation on.
|
255
|
+
# @param [Hash] opts the optional parameters
|
256
|
+
# @return [DocumentValidationResult]
|
257
|
+
describe 'validate_document_rtf_validation test' do
|
258
|
+
it 'should work' do
|
259
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
227
263
|
# unit tests for validate_document_tar_validation
|
228
264
|
# Validate a TAR Tarball Archive file (TAR)
|
229
265
|
# Validate a TAR tarball archive file (TAR)
|
@@ -248,6 +284,18 @@ describe 'ValidateDocumentApi' do
|
|
248
284
|
end
|
249
285
|
end
|
250
286
|
|
287
|
+
# unit tests for validate_document_xls_validation
|
288
|
+
# Validate a Excel 97-2003 Legacy spreadsheet (XLS)
|
289
|
+
# Validate a Excel 97-2003 Legacy spreadsheet (XLS)
|
290
|
+
# @param input_file Input file to perform the operation on.
|
291
|
+
# @param [Hash] opts the optional parameters
|
292
|
+
# @return [DocumentValidationResult]
|
293
|
+
describe 'validate_document_xls_validation test' do
|
294
|
+
it 'should work' do
|
295
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
251
299
|
# unit tests for validate_document_xlsx_validation
|
252
300
|
# Validate a Excel document (XLSX)
|
253
301
|
# Validate a Excel document (XLSX); if the document is not valid, identifies the errors in the document
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxContentControl
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxContentControl' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxContentControl.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxContentControl' do
|
31
|
+
it 'should create an instance of DocxContentControl' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxContentControl)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "value"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxSetFormFieldsRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxSetFormFieldsRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxSetFormFieldsRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxSetFormFieldsRequest' do
|
31
|
+
it 'should create an instance of DocxSetFormFieldsRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxSetFormFieldsRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "input_file_bytes"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "input_file_url"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "handlebar_fields_to_fill"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxTableSingleTableFill
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxTableSingleTableFill' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxTableSingleTableFill.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxTableSingleTableFill' do
|
31
|
+
it 'should create an instance of DocxTableSingleTableFill' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxTableSingleTableFill)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "table_start_tag"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "table_end_tag"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "data_to_fill_in"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::DocxTableTableFillMultiRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DocxTableTableFillMultiRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::DocxTableTableFillMultiRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DocxTableTableFillMultiRequest' do
|
31
|
+
it 'should create an instance of DocxTableTableFillMultiRequest' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::DocxTableTableFillMultiRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "input_file_url"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "input_file_data"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "tables_to_fill"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::FillHandlebarFormField
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FillHandlebarFormField' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::FillHandlebarFormField.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FillHandlebarFormField' do
|
31
|
+
it 'should create an instance of FillHandlebarFormField' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::FillHandlebarFormField)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "field_name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "value_to_fill"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::GetDocxContentControlsResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetDocxContentControlsResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::GetDocxContentControlsResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetDocxContentControlsResponse' do
|
31
|
+
it 'should create an instance of GetDocxContentControlsResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::GetDocxContentControlsResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "content_controls"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::GetDocxGetFormFieldsResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GetDocxGetFormFieldsResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::GetDocxGetFormFieldsResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GetDocxGetFormFieldsResponse' do
|
31
|
+
it 'should create an instance of GetDocxGetFormFieldsResponse' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::GetDocxGetFormFieldsResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "content_controls"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "handlebar_form_fields"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveConvertApiClient::HandlebarFormField
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'HandlebarFormField' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveConvertApiClient::HandlebarFormField.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of HandlebarFormField' do
|
31
|
+
it 'should create an instance of HandlebarFormField' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HandlebarFormField)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "form_field_title"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-convert-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -253,6 +253,7 @@ files:
|
|
253
253
|
- "./docs/DocxBody.md"
|
254
254
|
- "./docs/DocxCellStyle.md"
|
255
255
|
- "./docs/DocxComment.md"
|
256
|
+
- "./docs/DocxContentControl.md"
|
256
257
|
- "./docs/DocxFooter.md"
|
257
258
|
- "./docs/DocxHeader.md"
|
258
259
|
- "./docs/DocxImage.md"
|
@@ -270,12 +271,15 @@ files:
|
|
270
271
|
- "./docs/DocxSetFooterAddPageNumberRequest.md"
|
271
272
|
- "./docs/DocxSetFooterRequest.md"
|
272
273
|
- "./docs/DocxSetFooterResponse.md"
|
274
|
+
- "./docs/DocxSetFormFieldsRequest.md"
|
273
275
|
- "./docs/DocxSetHeaderRequest.md"
|
274
276
|
- "./docs/DocxSetHeaderResponse.md"
|
275
277
|
- "./docs/DocxStyle.md"
|
276
278
|
- "./docs/DocxTable.md"
|
277
279
|
- "./docs/DocxTableCell.md"
|
278
280
|
- "./docs/DocxTableRow.md"
|
281
|
+
- "./docs/DocxTableSingleTableFill.md"
|
282
|
+
- "./docs/DocxTableTableFillMultiRequest.md"
|
279
283
|
- "./docs/DocxTableTableFillRequest.md"
|
280
284
|
- "./docs/DocxTableTableFillTableCell.md"
|
281
285
|
- "./docs/DocxTableTableFillTableRow.md"
|
@@ -296,6 +300,7 @@ files:
|
|
296
300
|
- "./docs/EnableSharedWorkbookRequest.md"
|
297
301
|
- "./docs/EnableSharedWorkbookResponse.md"
|
298
302
|
- "./docs/ExifValue.md"
|
303
|
+
- "./docs/FillHandlebarFormField.md"
|
299
304
|
- "./docs/FindDocxParagraphRequest.md"
|
300
305
|
- "./docs/FindDocxParagraphResponse.md"
|
301
306
|
- "./docs/FindRegexMatch.md"
|
@@ -309,8 +314,10 @@ files:
|
|
309
314
|
- "./docs/GetDocxBodyResponse.md"
|
310
315
|
- "./docs/GetDocxCommentsHierarchicalResponse.md"
|
311
316
|
- "./docs/GetDocxCommentsResponse.md"
|
317
|
+
- "./docs/GetDocxContentControlsResponse.md"
|
312
318
|
- "./docs/GetDocxGetCommentsHierarchicalRequest.md"
|
313
319
|
- "./docs/GetDocxGetCommentsRequest.md"
|
320
|
+
- "./docs/GetDocxGetFormFieldsResponse.md"
|
314
321
|
- "./docs/GetDocxHeadersAndFootersRequest.md"
|
315
322
|
- "./docs/GetDocxHeadersAndFootersResponse.md"
|
316
323
|
- "./docs/GetDocxImagesRequest.md"
|
@@ -348,6 +355,7 @@ files:
|
|
348
355
|
- "./docs/GetXlsxStylesResponse.md"
|
349
356
|
- "./docs/GetXlsxWorksheetsRequest.md"
|
350
357
|
- "./docs/GetXlsxWorksheetsResponse.md"
|
358
|
+
- "./docs/HandlebarFormField.md"
|
351
359
|
- "./docs/HtmlGetLanguageResult.md"
|
352
360
|
- "./docs/HtmlGetLinksResponse.md"
|
353
361
|
- "./docs/HtmlGetRelCanonicalUrlResult.md"
|
@@ -541,6 +549,7 @@ files:
|
|
541
549
|
- "./lib/cloudmersive-convert-api-client/models/docx_body.rb"
|
542
550
|
- "./lib/cloudmersive-convert-api-client/models/docx_cell_style.rb"
|
543
551
|
- "./lib/cloudmersive-convert-api-client/models/docx_comment.rb"
|
552
|
+
- "./lib/cloudmersive-convert-api-client/models/docx_content_control.rb"
|
544
553
|
- "./lib/cloudmersive-convert-api-client/models/docx_footer.rb"
|
545
554
|
- "./lib/cloudmersive-convert-api-client/models/docx_header.rb"
|
546
555
|
- "./lib/cloudmersive-convert-api-client/models/docx_image.rb"
|
@@ -558,12 +567,15 @@ files:
|
|
558
567
|
- "./lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb"
|
559
568
|
- "./lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb"
|
560
569
|
- "./lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb"
|
570
|
+
- "./lib/cloudmersive-convert-api-client/models/docx_set_form_fields_request.rb"
|
561
571
|
- "./lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb"
|
562
572
|
- "./lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb"
|
563
573
|
- "./lib/cloudmersive-convert-api-client/models/docx_style.rb"
|
564
574
|
- "./lib/cloudmersive-convert-api-client/models/docx_table.rb"
|
565
575
|
- "./lib/cloudmersive-convert-api-client/models/docx_table_cell.rb"
|
566
576
|
- "./lib/cloudmersive-convert-api-client/models/docx_table_row.rb"
|
577
|
+
- "./lib/cloudmersive-convert-api-client/models/docx_table_single_table_fill.rb"
|
578
|
+
- "./lib/cloudmersive-convert-api-client/models/docx_table_table_fill_multi_request.rb"
|
567
579
|
- "./lib/cloudmersive-convert-api-client/models/docx_table_table_fill_request.rb"
|
568
580
|
- "./lib/cloudmersive-convert-api-client/models/docx_table_table_fill_table_cell.rb"
|
569
581
|
- "./lib/cloudmersive-convert-api-client/models/docx_table_table_fill_table_row.rb"
|
@@ -580,6 +592,7 @@ files:
|
|
580
592
|
- "./lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb"
|
581
593
|
- "./lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb"
|
582
594
|
- "./lib/cloudmersive-convert-api-client/models/exif_value.rb"
|
595
|
+
- "./lib/cloudmersive-convert-api-client/models/fill_handlebar_form_field.rb"
|
583
596
|
- "./lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb"
|
584
597
|
- "./lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb"
|
585
598
|
- "./lib/cloudmersive-convert-api-client/models/find_regex_match.rb"
|
@@ -593,8 +606,10 @@ files:
|
|
593
606
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb"
|
594
607
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb"
|
595
608
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb"
|
609
|
+
- "./lib/cloudmersive-convert-api-client/models/get_docx_content_controls_response.rb"
|
596
610
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb"
|
597
611
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb"
|
612
|
+
- "./lib/cloudmersive-convert-api-client/models/get_docx_get_form_fields_response.rb"
|
598
613
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb"
|
599
614
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb"
|
600
615
|
- "./lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb"
|
@@ -632,6 +647,7 @@ files:
|
|
632
647
|
- "./lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb"
|
633
648
|
- "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb"
|
634
649
|
- "./lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb"
|
650
|
+
- "./lib/cloudmersive-convert-api-client/models/handlebar_form_field.rb"
|
635
651
|
- "./lib/cloudmersive-convert-api-client/models/html_get_language_result.rb"
|
636
652
|
- "./lib/cloudmersive-convert-api-client/models/html_get_links_response.rb"
|
637
653
|
- "./lib/cloudmersive-convert-api-client/models/html_get_rel_canonical_url_result.rb"
|
@@ -817,6 +833,7 @@ files:
|
|
817
833
|
- "./spec/models/docx_body_spec.rb"
|
818
834
|
- "./spec/models/docx_cell_style_spec.rb"
|
819
835
|
- "./spec/models/docx_comment_spec.rb"
|
836
|
+
- "./spec/models/docx_content_control_spec.rb"
|
820
837
|
- "./spec/models/docx_footer_spec.rb"
|
821
838
|
- "./spec/models/docx_header_spec.rb"
|
822
839
|
- "./spec/models/docx_image_spec.rb"
|
@@ -834,12 +851,15 @@ files:
|
|
834
851
|
- "./spec/models/docx_set_footer_add_page_number_request_spec.rb"
|
835
852
|
- "./spec/models/docx_set_footer_request_spec.rb"
|
836
853
|
- "./spec/models/docx_set_footer_response_spec.rb"
|
854
|
+
- "./spec/models/docx_set_form_fields_request_spec.rb"
|
837
855
|
- "./spec/models/docx_set_header_request_spec.rb"
|
838
856
|
- "./spec/models/docx_set_header_response_spec.rb"
|
839
857
|
- "./spec/models/docx_style_spec.rb"
|
840
858
|
- "./spec/models/docx_table_cell_spec.rb"
|
841
859
|
- "./spec/models/docx_table_row_spec.rb"
|
860
|
+
- "./spec/models/docx_table_single_table_fill_spec.rb"
|
842
861
|
- "./spec/models/docx_table_spec.rb"
|
862
|
+
- "./spec/models/docx_table_table_fill_multi_request_spec.rb"
|
843
863
|
- "./spec/models/docx_table_table_fill_request_spec.rb"
|
844
864
|
- "./spec/models/docx_table_table_fill_table_cell_spec.rb"
|
845
865
|
- "./spec/models/docx_table_table_fill_table_row_spec.rb"
|
@@ -856,6 +876,7 @@ files:
|
|
856
876
|
- "./spec/models/enable_shared_workbook_request_spec.rb"
|
857
877
|
- "./spec/models/enable_shared_workbook_response_spec.rb"
|
858
878
|
- "./spec/models/exif_value_spec.rb"
|
879
|
+
- "./spec/models/fill_handlebar_form_field_spec.rb"
|
859
880
|
- "./spec/models/find_docx_paragraph_request_spec.rb"
|
860
881
|
- "./spec/models/find_docx_paragraph_response_spec.rb"
|
861
882
|
- "./spec/models/find_regex_match_spec.rb"
|
@@ -869,8 +890,10 @@ files:
|
|
869
890
|
- "./spec/models/get_docx_body_response_spec.rb"
|
870
891
|
- "./spec/models/get_docx_comments_hierarchical_response_spec.rb"
|
871
892
|
- "./spec/models/get_docx_comments_response_spec.rb"
|
893
|
+
- "./spec/models/get_docx_content_controls_response_spec.rb"
|
872
894
|
- "./spec/models/get_docx_get_comments_hierarchical_request_spec.rb"
|
873
895
|
- "./spec/models/get_docx_get_comments_request_spec.rb"
|
896
|
+
- "./spec/models/get_docx_get_form_fields_response_spec.rb"
|
874
897
|
- "./spec/models/get_docx_headers_and_footers_request_spec.rb"
|
875
898
|
- "./spec/models/get_docx_headers_and_footers_response_spec.rb"
|
876
899
|
- "./spec/models/get_docx_images_request_spec.rb"
|
@@ -908,6 +931,7 @@ files:
|
|
908
931
|
- "./spec/models/get_xlsx_styles_response_spec.rb"
|
909
932
|
- "./spec/models/get_xlsx_worksheets_request_spec.rb"
|
910
933
|
- "./spec/models/get_xlsx_worksheets_response_spec.rb"
|
934
|
+
- "./spec/models/handlebar_form_field_spec.rb"
|
911
935
|
- "./spec/models/html_get_language_result_spec.rb"
|
912
936
|
- "./spec/models/html_get_links_response_spec.rb"
|
913
937
|
- "./spec/models/html_get_rel_canonical_url_result_spec.rb"
|