cloudmersive-convert-api-client 1.4.9 → 1.5.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.
@@ -32,6 +32,20 @@ describe 'EditPdfApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for edit_pdf_delete_pages
36
+ # Remove / delete pages from a PDF document
37
+ # Remove one or more pages from a PDF document
38
+ # @param input_file Input file to perform the operation on.
39
+ # @param page_start Page number (1 based) to start deleting pages from (inclusive).
40
+ # @param page_end Page number (1 based) to stop deleting pages from (inclusive).
41
+ # @param [Hash] opts the optional parameters
42
+ # @return [String]
43
+ describe 'edit_pdf_delete_pages test' do
44
+ it "should work" do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
35
49
  # unit tests for edit_pdf_encrypt
36
50
  # Encrypt and password-protect a PDF
37
51
  # Encrypt a PDF document with a password. Set an owner password to control owner (editor/creator) permissions, and set a user (reader) password to control the viewer of the PDF. Set the password fields null to omit the given password.
@@ -70,6 +84,22 @@ describe 'EditPdfApi' do
70
84
  end
71
85
  end
72
86
 
87
+ # unit tests for edit_pdf_insert_pages
88
+ # Insert / copy pages from one PDF document into another
89
+ # Copy one or more pages from one PDF document (source document) and insert them into a second PDF document (destination document).
90
+ # @param source_file Source PDF file to copy pages from.
91
+ # @param destination_file Destination PDF file to copy pages into.
92
+ # @param page_start_source Page number (1 based) to start copying pages from (inclusive) in the Source file.
93
+ # @param page_end_source Page number (1 based) to stop copying pages pages from (inclusive) in the Source file.
94
+ # @param page_insert_before_desitnation Page number (1 based) to insert the pages before in the Destination file.
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [String]
97
+ describe 'edit_pdf_insert_pages 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
+
73
103
  # unit tests for edit_pdf_rasterize
74
104
  # Rasterize a PDF to an image-based PDF
75
105
  # Rasterize a PDF into an image-based PDF. The output is a PDF where each page is comprised of a high-resolution image, with all text, figures and other components removed.
@@ -99,7 +129,7 @@ describe 'EditPdfApi' do
99
129
  # Sets (writes) metadata into the input PDF document, including Title, Author, etc.
100
130
  # @param request
101
131
  # @param [Hash] opts the optional parameters
102
- # @return [Object]
132
+ # @return [String]
103
133
  describe 'edit_pdf_set_metadata test' do
104
134
  it "should work" do
105
135
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,60 @@
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.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveConvertApiClient::HtmlToPngRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'HtmlToPngRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveConvertApiClient::HtmlToPngRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of HtmlToPngRequest' do
31
+ it 'should create an instance of HtmlToPngRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveConvertApiClient::HtmlToPngRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "html"' 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 "extra_loading_wait"' 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 "screenshot_width"' 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
+ describe 'test attribute "screenshot_height"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
60
+
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: 1.4.9
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-27 00:00:00.000000000 Z
11
+ date: 2019-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -272,6 +272,7 @@ files:
272
272
  - "./docs/HtmlTemplateOperation.md"
273
273
  - "./docs/HtmlToOfficeRequest.md"
274
274
  - "./docs/HtmlToPdfRequest.md"
275
+ - "./docs/HtmlToPngRequest.md"
275
276
  - "./docs/InsertDocxInsertParagraphRequest.md"
276
277
  - "./docs/InsertDocxInsertParagraphResponse.md"
277
278
  - "./docs/InsertDocxTablesRequest.md"
@@ -385,6 +386,7 @@ files:
385
386
  - "./lib/cloudmersive-convert-api-client/models/html_template_operation.rb"
386
387
  - "./lib/cloudmersive-convert-api-client/models/html_to_office_request.rb"
387
388
  - "./lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb"
389
+ - "./lib/cloudmersive-convert-api-client/models/html_to_png_request.rb"
388
390
  - "./lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb"
389
391
  - "./lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb"
390
392
  - "./lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb"
@@ -492,6 +494,7 @@ files:
492
494
  - "./spec/models/html_template_operation_spec.rb"
493
495
  - "./spec/models/html_to_office_request_spec.rb"
494
496
  - "./spec/models/html_to_pdf_request_spec.rb"
497
+ - "./spec/models/html_to_png_request_spec.rb"
495
498
  - "./spec/models/insert_docx_insert_paragraph_request_spec.rb"
496
499
  - "./spec/models/insert_docx_insert_paragraph_response_spec.rb"
497
500
  - "./spec/models/insert_docx_tables_request_spec.rb"