groupdocs_signature_cloud 24.6 → 24.11

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: e6a82b8736c2b8db47110cf52f2b92a8f5e9521c351c2dd543053baed6b20f41
4
- data.tar.gz: 984296b34879f338d05a54e021fa5831da3b4b394c4687ac39fc5d975bdf0d5a
3
+ metadata.gz: 4ec3c3be486cdc129b0be20cc8974e42bcd0dc3709717490dfabd9765dcf6745
4
+ data.tar.gz: 99df89f56ba56fe45ddf49a55101df951eea6b2caff1326b5b088298035ce80f
5
5
  SHA512:
6
- metadata.gz: abea906a6c8b0fe8f937157fc7c79fc5fb1bbbb91e5a5687113b0dae2f38a95d6863a0bb7ae9c0e508a3258b0b1c09ae775689e0e94ba5dd7372d3c332918b18
7
- data.tar.gz: 6d6fa9b69bc7154f93d43ec32c8f60d9db2ae4de6a502f6b4d547274ebcfce93af4ce28492b17ad9e91e270e1a1e72acaf6cef1669abec05e58082a2f69bfe7d
6
+ metadata.gz: 300a143834351ead3f8efee71134b016e3c1f4eada10d8b226e1a1e4ad1b85534d9edfcf8eadd52832e7809538794a885d3d6dbf2d34fad223bf47e1851ca180
7
+ data.tar.gz: 0acbb64c184ac278bf24164a8e58ccafcbe194e107f6f2c9e2bf14c59c832e930aebd8e68e6b06200622d0d7f3abae2e67105f70aa6ccec47267679d20ef089b
@@ -40,6 +40,9 @@ module GroupDocsSignatureCloud
40
40
  # Preview images height
41
41
  attr_accessor :height
42
42
 
43
+ # Gets or sets the resolution of the preview images in DPI (dots per inch).
44
+ attr_accessor :resolution
45
+
43
46
  # Preview page numbers
44
47
  attr_accessor :page_numbers
45
48
 
@@ -79,6 +82,7 @@ module GroupDocsSignatureCloud
79
82
  :'file_info' => :'FileInfo',
80
83
  :'width' => :'Width',
81
84
  :'height' => :'Height',
85
+ :'resolution' => :'Resolution',
82
86
  :'page_numbers' => :'PageNumbers',
83
87
  :'preview_format' => :'PreviewFormat',
84
88
  :'hide_signatures' => :'HideSignatures',
@@ -92,6 +96,7 @@ module GroupDocsSignatureCloud
92
96
  :'file_info' => :'FileInfo',
93
97
  :'width' => :'Integer',
94
98
  :'height' => :'Integer',
99
+ :'resolution' => :'Integer',
95
100
  :'page_numbers' => :'Array<Integer>',
96
101
  :'preview_format' => :'String',
97
102
  :'hide_signatures' => :'BOOLEAN',
@@ -119,6 +124,10 @@ module GroupDocsSignatureCloud
119
124
  self.height = attributes[:'Height']
120
125
  end
121
126
 
127
+ if attributes.key?(:'Resolution')
128
+ self.resolution = attributes[:'Resolution']
129
+ end
130
+
122
131
  if attributes.key?(:'PageNumbers')
123
132
  if (value = attributes[:'PageNumbers']).is_a?(Array)
124
133
  self.page_numbers = value
@@ -151,6 +160,10 @@ module GroupDocsSignatureCloud
151
160
  invalid_properties.push("invalid value for 'height', height cannot be nil.")
152
161
  end
153
162
 
163
+ if @resolution.nil?
164
+ invalid_properties.push("invalid value for 'resolution', resolution cannot be nil.")
165
+ end
166
+
154
167
  if @preview_format.nil?
155
168
  invalid_properties.push("invalid value for 'preview_format', preview_format cannot be nil.")
156
169
  end
@@ -167,6 +180,7 @@ module GroupDocsSignatureCloud
167
180
  def valid?
168
181
  return false if @width.nil?
169
182
  return false if @height.nil?
183
+ return false if @resolution.nil?
170
184
  return false if @preview_format.nil?
171
185
  preview_format_validator = EnumAttributeValidator.new('String', ["PNG", "JPEG", "BMP"])
172
186
  return false unless preview_format_validator.valid?(@preview_format)
@@ -196,6 +210,7 @@ module GroupDocsSignatureCloud
196
210
  file_info == other.file_info &&
197
211
  width == other.width &&
198
212
  height == other.height &&
213
+ resolution == other.resolution &&
199
214
  page_numbers == other.page_numbers &&
200
215
  preview_format == other.preview_format &&
201
216
  hide_signatures == other.hide_signatures &&
@@ -211,7 +226,7 @@ module GroupDocsSignatureCloud
211
226
  # Calculates hash code according to all attributes.
212
227
  # @return [Fixnum] Hash code
213
228
  def hash
214
- [file_info, width, height, page_numbers, preview_format, hide_signatures, output_path].hash
229
+ [file_info, width, height, resolution, page_numbers, preview_format, hide_signatures, output_path].hash
215
230
  end
216
231
 
217
232
  # Downcases first letter.
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsSignatureCloud
28
- VERSION = "24.6".freeze
28
+ VERSION = "24.11".freeze
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_signature_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '24.6'
4
+ version: '24.11'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-24 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday