cloudmersive-convert-api-client 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95072e8fda632d97063f57ed270af5290f6b67a10109ea3e68dad980fbf5af0c
|
4
|
+
data.tar.gz: 80dc912fad7cb23a13bc9f3fa7cb0061b986024e9f953b1a4fd3a5c81196809e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d12ff4cb60242494390d3055abb578f2fb0b34ee698054b2769e51b68d3c7622282d8410dccd6cabf520e3bee25c001c6806e69b82672e944d5cd27ffd2e5c6
|
7
|
+
data.tar.gz: e9caced29420e24c3683b07725ef7bed3d50c60a0b5e70c79a615ba9a82cd09cbc9f5125720d0410aad618c2cc4f565ab2b60c27e8967c30ee82d0d4f1c89c77
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Convert API lets you effortlessly convert file formats and types.
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 1.7.
|
10
|
+
- Package version: 1.7.2
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build cloudmersive-convert-api-client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./cloudmersive-convert-api-client-1.7.
|
26
|
+
gem install ./cloudmersive-convert-api-client-1.7.2.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.7.
|
28
|
+
(for development, run `gem install --dev ./cloudmersive-convert-api-client-1.7.2.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 'cloudmersive-convert-api-client', '~> 1.7.
|
34
|
+
gem 'cloudmersive-convert-api-client', '~> 1.7.2'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/docs/UrlToPdfRequest.md
CHANGED
@@ -6,5 +6,6 @@ Name | Type | Description | Notes
|
|
6
6
|
**url** | **String** | URL address of the website to screenshot. HTTP and HTTPS are both supported, as are custom ports. | [optional]
|
7
7
|
**extra_loading_wait** | **Integer** | Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds) | [optional]
|
8
8
|
**include_background_graphics** | **BOOLEAN** | Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true. | [optional]
|
9
|
+
**scale_factor** | **Integer** | Optional: Set to 100 to scale at 100%, set to 50% to scale down to 50% scale, set to 200% to scale up to 200% scale, etc. Default is 100% | [optional]
|
9
10
|
|
10
11
|
|
@@ -24,13 +24,17 @@ module CloudmersiveConvertApiClient
|
|
24
24
|
# Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true.
|
25
25
|
attr_accessor :include_background_graphics
|
26
26
|
|
27
|
+
# Optional: Set to 100 to scale at 100%, set to 50% to scale down to 50% scale, set to 200% to scale up to 200% scale, etc. Default is 100%
|
28
|
+
attr_accessor :scale_factor
|
29
|
+
|
27
30
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'url' => :'Url',
|
32
35
|
:'extra_loading_wait' => :'ExtraLoadingWait',
|
33
|
-
:'include_background_graphics' => :'IncludeBackgroundGraphics'
|
36
|
+
:'include_background_graphics' => :'IncludeBackgroundGraphics',
|
37
|
+
:'scale_factor' => :'ScaleFactor'
|
34
38
|
}
|
35
39
|
end
|
36
40
|
|
@@ -39,7 +43,8 @@ module CloudmersiveConvertApiClient
|
|
39
43
|
{
|
40
44
|
:'url' => :'String',
|
41
45
|
:'extra_loading_wait' => :'Integer',
|
42
|
-
:'include_background_graphics' => :'BOOLEAN'
|
46
|
+
:'include_background_graphics' => :'BOOLEAN',
|
47
|
+
:'scale_factor' => :'Integer'
|
43
48
|
}
|
44
49
|
end
|
45
50
|
|
@@ -63,6 +68,10 @@ module CloudmersiveConvertApiClient
|
|
63
68
|
self.include_background_graphics = attributes[:'IncludeBackgroundGraphics']
|
64
69
|
end
|
65
70
|
|
71
|
+
if attributes.has_key?(:'ScaleFactor')
|
72
|
+
self.scale_factor = attributes[:'ScaleFactor']
|
73
|
+
end
|
74
|
+
|
66
75
|
end
|
67
76
|
|
68
77
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -85,7 +94,8 @@ module CloudmersiveConvertApiClient
|
|
85
94
|
self.class == o.class &&
|
86
95
|
url == o.url &&
|
87
96
|
extra_loading_wait == o.extra_loading_wait &&
|
88
|
-
include_background_graphics == o.include_background_graphics
|
97
|
+
include_background_graphics == o.include_background_graphics &&
|
98
|
+
scale_factor == o.scale_factor
|
89
99
|
end
|
90
100
|
|
91
101
|
# @see the `==` method
|
@@ -97,7 +107,7 @@ module CloudmersiveConvertApiClient
|
|
97
107
|
# Calculates hash code according to all attributes.
|
98
108
|
# @return [Fixnum] Hash code
|
99
109
|
def hash
|
100
|
-
[url, extra_loading_wait, include_background_graphics].hash
|
110
|
+
[url, extra_loading_wait, include_background_graphics, scale_factor].hash
|
101
111
|
end
|
102
112
|
|
103
113
|
# Builds the object from hash
|