groupdocs_viewer_cloud 19.3.2 → 19.4

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
  SHA1:
3
- metadata.gz: 96b5d6eed5151508c67dc14f94b5280449dbb522
4
- data.tar.gz: c3ca4cae4d76e895e3dd5efef643b0f548b6868e
3
+ metadata.gz: 30cc73fd0af09c91f494da5bddb78d409002afdf
4
+ data.tar.gz: f8353c144372c0f4b7ef2dfe0ef9f4a2218a1f83
5
5
  SHA512:
6
- metadata.gz: ef1e704304519dbc8f58c815e51885742e12e1cfbf64dc8cd10b4e658c7837a67b343c545d3acea6e2f78785178e04a914d057adfef99efa3fff59e475cb31ea
7
- data.tar.gz: aa8069582d9e2d40522960e8ac2d703cc2b80ea472c51cd7c1db174f590f0d2ee52e5a1ac5cd03e028ebebab2536de2c43e5de1251a08e70039d93e52f1e6ac1
6
+ metadata.gz: 903d74ef9beab8455b9b7fe1fb62bf7ada4d276e95f960e3468d89e68c6cc49ab88d100fc4223659d9e3e63a08b196dfd6797a18011a1e1d278cbd1fd5b8d1e1
7
+ data.tar.gz: 140024666fbb90f052319d8916c8fa989b599cb0ea81a36d5d1fe637c5fd11d98264b6661e28dc6da372129c6189f38d6b6c7faf997a8b8690cdd4aa6d169ef0
@@ -64,7 +64,7 @@ module GroupDocsViewerCloud
64
64
  return new(config)
65
65
  end
66
66
 
67
- # Create new view if it not exists
67
+ # Render document pages
68
68
  #
69
69
  # @param request create_view_request
70
70
  # @return [ViewResult]
@@ -73,7 +73,7 @@ module GroupDocsViewerCloud
73
73
  data
74
74
  end
75
75
 
76
- # Create new view if it not exists
76
+ # Render document pages
77
77
  #
78
78
  # @param request create_view_request
79
79
  # @return [Array<(ViewResult, Fixnum, Hash)>]
@@ -116,7 +116,7 @@ module GroupDocsViewerCloud
116
116
  [data, status_code, headers]
117
117
  end
118
118
 
119
- # Delete view
119
+ # Delete rendered pages
120
120
  #
121
121
  # @param request delete_view_request
122
122
  # @return [nil]
@@ -125,7 +125,7 @@ module GroupDocsViewerCloud
125
125
  nil
126
126
  end
127
127
 
128
- # Delete view
128
+ # Delete rendered pages
129
129
  #
130
130
  # @param request delete_view_request
131
131
  # @return [Array<(nil, Fixnum, Hash)>]
@@ -167,7 +167,7 @@ module GroupDocsViewerCloud
167
167
  [data, status_code, headers]
168
168
  end
169
169
 
170
- # Get information about view
170
+ # Retrieve information about document pages
171
171
  #
172
172
  # @param request get_info_request
173
173
  # @return [InfoResult]
@@ -176,7 +176,7 @@ module GroupDocsViewerCloud
176
176
  data
177
177
  end
178
178
 
179
- # Get information about view
179
+ # Retrieve information about document pages
180
180
  #
181
181
  # @param request get_info_request
182
182
  # @return [Array<(InfoResult, Fixnum, Hash)>]
@@ -219,7 +219,7 @@ module GroupDocsViewerCloud
219
219
  [data, status_code, headers]
220
220
  end
221
221
 
222
- # Get supported file formats
222
+ # List supported file formats
223
223
  #
224
224
  # @return [FormatsResult]
225
225
  def get_supported_file_formats()
@@ -227,7 +227,7 @@ module GroupDocsViewerCloud
227
227
  data
228
228
  end
229
229
 
230
- # Get supported file formats
230
+ # List supported file formats
231
231
  #
232
232
 
233
233
  # @return [Array<(FormatsResult, Fixnum, Hash)>]
@@ -37,6 +37,9 @@ module GroupDocsViewerCloud
37
37
  # View format (HTML, PNG, JPG, BMP or PDF) Default value is HTML.
38
38
  attr_accessor :view_format
39
39
 
40
+ # The output path. Default value is 'viewer\\{input file path}_{file extension}\\'
41
+ attr_accessor :output_path
42
+
40
43
  # The path to directory containing custom fonts in storage
41
44
  attr_accessor :fonts_path
42
45
 
@@ -72,6 +75,7 @@ module GroupDocsViewerCloud
72
75
  {
73
76
  :'file_info' => :'FileInfo',
74
77
  :'view_format' => :'ViewFormat',
78
+ :'output_path' => :'OutputPath',
75
79
  :'fonts_path' => :'FontsPath',
76
80
  :'watermark' => :'Watermark',
77
81
  :'render_options' => :'RenderOptions'
@@ -83,6 +87,7 @@ module GroupDocsViewerCloud
83
87
  {
84
88
  :'file_info' => :'FileInfo',
85
89
  :'view_format' => :'String',
90
+ :'output_path' => :'String',
86
91
  :'fonts_path' => :'String',
87
92
  :'watermark' => :'Watermark',
88
93
  :'render_options' => :'RenderOptions'
@@ -105,6 +110,10 @@ module GroupDocsViewerCloud
105
110
  self.view_format = attributes[:'ViewFormat']
106
111
  end
107
112
 
113
+ if attributes.key?(:'OutputPath')
114
+ self.output_path = attributes[:'OutputPath']
115
+ end
116
+
108
117
  if attributes.key?(:'FontsPath')
109
118
  self.fonts_path = attributes[:'FontsPath']
110
119
  end
@@ -160,6 +169,7 @@ module GroupDocsViewerCloud
160
169
  self.class == other.class &&
161
170
  file_info == other.file_info &&
162
171
  view_format == other.view_format &&
172
+ output_path == other.output_path &&
163
173
  fonts_path == other.fonts_path &&
164
174
  watermark == other.watermark &&
165
175
  render_options == other.render_options
@@ -174,7 +184,7 @@ module GroupDocsViewerCloud
174
184
  # Calculates hash code according to all attributes.
175
185
  # @return [Fixnum] Hash code
176
186
  def hash
177
- [file_info, view_format, fonts_path, watermark, render_options].hash
187
+ [file_info, view_format, output_path, fonts_path, watermark, render_options].hash
178
188
  end
179
189
 
180
190
  # Downcases first letter.
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsViewerCloud
28
- VERSION = "19.3.2".freeze
28
+ VERSION = "19.4".freeze
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_viewer_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.3.2
4
+ version: '19.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-04 00:00:00.000000000 Z
11
+ date: 2019-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday