cloudmersive-convert-api-client 1.7.1 → 1.7.2

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: ccfa3a1a055b851db8bcc419067d2cb26b7654322e58511aaa2dd5c78538602d
4
- data.tar.gz: 67aecc13db25b107754c2ebfb7eeaba770f180127bb47245d1c1631111762113
3
+ metadata.gz: 95072e8fda632d97063f57ed270af5290f6b67a10109ea3e68dad980fbf5af0c
4
+ data.tar.gz: 80dc912fad7cb23a13bc9f3fa7cb0061b986024e9f953b1a4fd3a5c81196809e
5
5
  SHA512:
6
- metadata.gz: daa76fb88020e4c05bb7df466ecdd9c9e9ebdd9e2a45f33b8c8011ba8ab91e98f3e633b94e7ce2c7a55687567387c9f7023a74b12cc59a3fa8cf96379de503be
7
- data.tar.gz: 53ab55fdfc99bac247c8dd112cf2d650a359659b3859ea94c956fb4337e92ad9f2422e6e58aa168a8eb578c7400fdc133776b52361d3a9509f59b4e4f34a0bf3
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.1
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.1.gem
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.1.gem` to install the development dependencies)
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.1'
34
+ gem 'cloudmersive-convert-api-client', '~> 1.7.2'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.3.1
11
11
  =end
12
12
 
13
13
  module CloudmersiveConvertApiClient
14
- VERSION = "1.7.1"
14
+ VERSION = "1.7.2"
15
15
  end
@@ -50,5 +50,11 @@ describe 'UrlToPdfRequest' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "scale_factor"' 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
+
53
59
  end
54
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-convert-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive