cloudmersive-convert-api-client 1.3.1 → 1.3.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: 833bc0da807f8c74578f0507fb03b9a09146db1fc3f2e4ac7fb69d21af436c80
4
- data.tar.gz: 1c5f5e2c7d727019c7f64eedee82ff4af3cea72675633bc82e032a3ff30a2635
3
+ metadata.gz: '08035cf1ff95731b3cbac8d472f7b8a876635b6ac935d6de4c12751b043800a4'
4
+ data.tar.gz: eb0c4bf586e155a1fb0d549d4c062deda31edb86fed1ae3ecd824bed62575b98
5
5
  SHA512:
6
- metadata.gz: 5fa0a42e167151c0d31a99d6ed947869999e7a8aad72af87caebe2e42ccd0e192793921074950b866aba80300d25c76bb50354db09313b61e21bdf46b9cdf012
7
- data.tar.gz: 3af85f73a846e216567e11316874593f5931ddf4d96d9b7c351ed6b55f268b480844294eeb5f152c660035eb4051ee5aad56fb9322c365a3007f24d593300274
6
+ metadata.gz: 2870a5e42011fd7570fa07c15509dd4fa6bc3516ba413f53761ff4aa98c76d8f3cc45938a6196cf7fe4f1ade0721dc617606ac0c53d271290d9bb2a6e1190c77
7
+ data.tar.gz: 8658edb111ff6e4915ac59a37b2c7127650f68c070f3d9568a38b18225847cf711148c21e180e6ce27a8cf0ec7b9be2d832206952a21c4060b4e43f76be13212
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.3.1
10
+ - Package version: 1.3.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.3.1.gem
26
+ gem install ./cloudmersive-convert-api-client-1.3.2.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-convert-api-client-1.3.1.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-convert-api-client-1.3.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.3.1'
34
+ gem 'cloudmersive-convert-api-client', '~> 1.3.2'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -5,5 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **url** | **String** | | [optional]
7
7
  **extra_loading_wait** | **Integer** | | [optional]
8
+ **screenshot_width** | **Integer** | | [optional]
9
+ **screenshot_height** | **Integer** | | [optional]
8
10
 
9
11
 
@@ -19,12 +19,18 @@ module CloudmersiveConvertApiClient
19
19
 
20
20
  attr_accessor :extra_loading_wait
21
21
 
22
+ attr_accessor :screenshot_width
23
+
24
+ attr_accessor :screenshot_height
25
+
22
26
 
23
27
  # Attribute mapping from ruby-style variable name to JSON key.
24
28
  def self.attribute_map
25
29
  {
26
30
  :'url' => :'Url',
27
- :'extra_loading_wait' => :'ExtraLoadingWait'
31
+ :'extra_loading_wait' => :'ExtraLoadingWait',
32
+ :'screenshot_width' => :'ScreenshotWidth',
33
+ :'screenshot_height' => :'ScreenshotHeight'
28
34
  }
29
35
  end
30
36
 
@@ -32,7 +38,9 @@ module CloudmersiveConvertApiClient
32
38
  def self.swagger_types
33
39
  {
34
40
  :'url' => :'String',
35
- :'extra_loading_wait' => :'Integer'
41
+ :'extra_loading_wait' => :'Integer',
42
+ :'screenshot_width' => :'Integer',
43
+ :'screenshot_height' => :'Integer'
36
44
  }
37
45
  end
38
46
 
@@ -52,6 +60,14 @@ module CloudmersiveConvertApiClient
52
60
  self.extra_loading_wait = attributes[:'ExtraLoadingWait']
53
61
  end
54
62
 
63
+ if attributes.has_key?(:'ScreenshotWidth')
64
+ self.screenshot_width = attributes[:'ScreenshotWidth']
65
+ end
66
+
67
+ if attributes.has_key?(:'ScreenshotHeight')
68
+ self.screenshot_height = attributes[:'ScreenshotHeight']
69
+ end
70
+
55
71
  end
56
72
 
57
73
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -73,7 +89,9 @@ module CloudmersiveConvertApiClient
73
89
  return true if self.equal?(o)
74
90
  self.class == o.class &&
75
91
  url == o.url &&
76
- extra_loading_wait == o.extra_loading_wait
92
+ extra_loading_wait == o.extra_loading_wait &&
93
+ screenshot_width == o.screenshot_width &&
94
+ screenshot_height == o.screenshot_height
77
95
  end
78
96
 
79
97
  # @see the `==` method
@@ -85,7 +103,7 @@ module CloudmersiveConvertApiClient
85
103
  # Calculates hash code according to all attributes.
86
104
  # @return [Fixnum] Hash code
87
105
  def hash
88
- [url, extra_loading_wait].hash
106
+ [url, extra_loading_wait, screenshot_width, screenshot_height].hash
89
107
  end
90
108
 
91
109
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: unset
11
11
  =end
12
12
 
13
13
  module CloudmersiveConvertApiClient
14
- VERSION = "1.3.1"
14
+ VERSION = "1.3.2"
15
15
  end
@@ -44,5 +44,17 @@ describe 'ScreenshotRequest' do
44
44
  end
45
45
  end
46
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
+
47
59
  end
48
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.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-09 00:00:00.000000000 Z
11
+ date: 2019-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus