groupdocs 1.5.8 → 1.5.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. data/CHANGELOG.md +9 -0
  2. data/examples/api-samples/public/docs/sample01.html +34 -15
  3. data/examples/api-samples/public/docs/sample02.html +36 -15
  4. data/examples/api-samples/public/docs/sample03.html +55 -34
  5. data/examples/api-samples/public/docs/sample04.html +33 -14
  6. data/examples/api-samples/public/docs/sample05.html +51 -33
  7. data/examples/api-samples/public/docs/sample06.html +86 -40
  8. data/examples/api-samples/public/docs/sample07.html +32 -13
  9. data/examples/api-samples/public/docs/sample08.html +39 -20
  10. data/examples/api-samples/public/docs/sample09.html +93 -39
  11. data/examples/api-samples/public/docs/sample10.html +39 -21
  12. data/examples/api-samples/public/docs/sample11.html +133 -88
  13. data/examples/api-samples/public/docs/sample12.html +33 -14
  14. data/examples/api-samples/public/docs/sample13.html +14 -7
  15. data/examples/api-samples/public/docs/sample14.html +37 -18
  16. data/examples/api-samples/public/docs/sample15.html +29 -10
  17. data/examples/api-samples/public/docs/sample16.html +58 -25
  18. data/examples/api-samples/public/docs/sample17.html +71 -38
  19. data/examples/api-samples/public/docs/sample18.html +98 -71
  20. data/examples/api-samples/public/docs/sample19.html +74 -42
  21. data/examples/api-samples/public/docs/sample20.html +39 -21
  22. data/examples/api-samples/public/docs/sample21.html +113 -69
  23. data/examples/api-samples/public/docs/sample22.html +89 -43
  24. data/examples/api-samples/public/docs/sample23.html +50 -32
  25. data/examples/api-samples/public/docs/sample24.html +64 -31
  26. data/examples/api-samples/public/docs/sample25.html +107 -60
  27. data/examples/api-samples/public/docs/sample26.html +29 -10
  28. data/examples/api-samples/public/docs/sample27.html +107 -61
  29. data/examples/api-samples/public/docs/sample28.html +158 -9
  30. data/examples/api-samples/public/docs/sample29.html +13 -8
  31. data/examples/api-samples/public/docs/sample30.html +34 -15
  32. data/examples/api-samples/public/docs/sample31.html +107 -76
  33. data/examples/api-samples/public/docs/sample32.html +104 -40
  34. data/examples/api-samples/public/docs/sample33.html +85 -36
  35. data/examples/api-samples/public/docs/sample34.html +30 -11
  36. data/examples/api-samples/public/docs/sample35.html +90 -27
  37. data/examples/api-samples/public/docs/sample36.html +36 -16
  38. data/examples/api-samples/public/docs/sample37.html +144 -265
  39. data/examples/api-samples/public/docs/sample38.html +113 -64
  40. data/examples/api-samples/public/docs/sample39.html +118 -45
  41. data/examples/api-samples/public/docs/sample40.html +81 -46
  42. data/examples/api-samples/public/docs/sample41.html +562 -90
  43. data/examples/api-samples/public/docs/sample42.html +94 -39
  44. data/examples/api-samples/public/docs/sample43.html +669 -0
  45. data/examples/api-samples/samples/sample01.rb +17 -10
  46. data/examples/api-samples/samples/sample02.rb +21 -12
  47. data/examples/api-samples/samples/sample03.rb +35 -29
  48. data/examples/api-samples/samples/sample04.rb +19 -12
  49. data/examples/api-samples/samples/sample05.rb +24 -17
  50. data/examples/api-samples/samples/sample06.rb +38 -32
  51. data/examples/api-samples/samples/sample07.rb +19 -12
  52. data/examples/api-samples/samples/sample08.rb +22 -15
  53. data/examples/api-samples/samples/sample09.rb +31 -29
  54. data/examples/api-samples/samples/sample10.rb +22 -15
  55. data/examples/api-samples/samples/sample11.rb +78 -81
  56. data/examples/api-samples/samples/sample12.rb +19 -21
  57. data/examples/api-samples/samples/sample13.rb +19 -21
  58. data/examples/api-samples/samples/sample14.rb +18 -12
  59. data/examples/api-samples/samples/sample15.rb +17 -10
  60. data/examples/api-samples/samples/sample16.rb +25 -17
  61. data/examples/api-samples/samples/sample17.rb +31 -23
  62. data/examples/api-samples/samples/sample18.rb +60 -55
  63. data/examples/api-samples/samples/sample19.rb +48 -42
  64. data/examples/api-samples/samples/sample20.rb +20 -13
  65. data/examples/api-samples/samples/sample21.rb +62 -54
  66. data/examples/api-samples/samples/sample22.rb +37 -31
  67. data/examples/api-samples/samples/sample23.rb +24 -17
  68. data/examples/api-samples/samples/sample24.rb +29 -22
  69. data/examples/api-samples/samples/sample25.rb +47 -40
  70. data/examples/api-samples/samples/sample26.rb +16 -9
  71. data/examples/api-samples/samples/sample27.rb +46 -39
  72. data/examples/api-samples/samples/sample28.rb +42 -11
  73. data/examples/api-samples/samples/sample29.rb +13 -8
  74. data/examples/api-samples/samples/sample30.rb +19 -12
  75. data/examples/api-samples/samples/sample31.rb +63 -58
  76. data/examples/api-samples/samples/sample32.rb +45 -42
  77. data/examples/api-samples/samples/sample33.rb +36 -25
  78. data/examples/api-samples/samples/sample34.rb +16 -9
  79. data/examples/api-samples/samples/sample35.rb +66 -53
  80. data/examples/api-samples/samples/sample36.rb +19 -15
  81. data/examples/api-samples/samples/sample37.rb +61 -99
  82. data/examples/api-samples/samples/sample38.rb +51 -43
  83. data/examples/api-samples/samples/sample39.rb +78 -62
  84. data/examples/api-samples/samples/sample40.rb +48 -38
  85. data/examples/api-samples/samples/sample41.rb +189 -67
  86. data/examples/api-samples/samples/sample42.rb +37 -29
  87. data/examples/api-samples/samples/sample43.rb +127 -0
  88. data/examples/api-samples/views/_others_samples.haml +4 -2
  89. data/examples/api-samples/views/index.haml +4 -2
  90. data/examples/api-samples/views/sample11.haml +1 -1
  91. data/examples/api-samples/views/sample28.haml +8 -0
  92. data/examples/api-samples/views/sample31.haml +1 -6
  93. data/examples/api-samples/views/sample39.haml +7 -2
  94. data/examples/api-samples/views/sample41.haml +78 -33
  95. data/examples/api-samples/views/sample42.haml +0 -1
  96. data/examples/api-samples/views/sample43.haml +91 -0
  97. data/lib/groupdocs/api/helpers/access_rights_helper.rb +6 -5
  98. data/lib/groupdocs/api/helpers/url_helper.rb +2 -1
  99. data/lib/groupdocs/document.rb +3 -3
  100. data/lib/groupdocs/version.rb +1 -1
  101. metadata +5 -2
@@ -89,9 +89,7 @@
89
89
 
90
90
  </div>
91
91
 
92
- <div class="content"><div class='highlight'><pre> raise <span class="string">'Please enter all required parameters'</span> <span class="keyword">if</span> settings.client_id.empty? <span class="keyword">or</span> settings.private_key.empty? <span class="keyword">or</span> settings.email.empty? <span class="keyword">or</span> settings.first_name.empty? <span class="keyword">or</span> settings.last_name.empty?
93
-
94
- <span class="keyword">if</span> settings.base_path.empty? <span class="keyword">then</span> settings.base_path = <span class="string">'https://api.groupdocs.com'</span> <span class="keyword">end</span></pre></div></div>
92
+ <div class="content"><div class='highlight'><pre> raise <span class="string">'Please enter all required parameters'</span> <span class="keyword">if</span> settings.client_id.empty? <span class="keyword">or</span> settings.private_key.empty? <span class="keyword">or</span> settings.email.empty? <span class="keyword">or</span> settings.first_name.empty? <span class="keyword">or</span> settings.last_name.empty?</pre></div></div>
95
93
 
96
94
  </li>
97
95
 
@@ -102,6 +100,27 @@
102
100
  <div class="pilwrap ">
103
101
  <a class="pilcrow" href="#section-5">&#182;</a>
104
102
  </div>
103
+ <p>Prepare base path</p>
104
+
105
+ </div>
106
+
107
+ <div class="content"><div class='highlight'><pre> <span class="keyword">if</span> settings.base_path.empty?
108
+ base_path = <span class="string">'https://api.groupdocs.com'</span>
109
+ <span class="keyword">elsif</span> settings.base_path.match(<span class="string">'/v2.0'</span>)
110
+ base_path = settings.base_path.split(<span class="string">'/v2.0'</span>)[<span class="number">0</span>]
111
+ <span class="keyword">else</span>
112
+ base_path = settings.base_path
113
+ <span class="keyword">end</span></pre></div></div>
114
+
115
+ </li>
116
+
117
+
118
+ <li id="section-6">
119
+ <div class="annotation">
120
+
121
+ <div class="pilwrap ">
122
+ <a class="pilcrow" href="#section-6">&#182;</a>
123
+ </div>
105
124
  <p>Configure your access to API server</p>
106
125
 
107
126
  </div>
@@ -113,30 +132,30 @@
113
132
  </li>
114
133
 
115
134
 
116
- <li id="section-6">
135
+ <li id="section-7">
117
136
  <div class="annotation">
118
137
 
119
138
  <div class="pilwrap ">
120
- <a class="pilcrow" href="#section-6">&#182;</a>
139
+ <a class="pilcrow" href="#section-7">&#182;</a>
121
140
  </div>
122
141
  <p>Optionally specify API server and version</p>
123
142
 
124
143
  </div>
125
144
 
126
- <div class="content"><div class='highlight'><pre> groupdocs.api_server = settings.base_path <span class="comment"># default is 'https://api.groupdocs.com'</span>
145
+ <div class="content"><div class='highlight'><pre> groupdocs.api_server = base_path <span class="comment"># default is 'https://api.groupdocs.com'</span>
127
146
  <span class="keyword">end</span>
128
147
  file = <span class="keyword">nil</span></pre></div></div>
129
148
 
130
149
  </li>
131
150
 
132
151
 
133
- <li id="section-7">
152
+ <li id="section-8">
134
153
  <div class="annotation">
135
154
 
136
155
  <div class="pilwrap ">
137
- <a class="pilcrow" href="#section-7">&#182;</a>
156
+ <a class="pilcrow" href="#section-8">&#182;</a>
138
157
  </div>
139
- <p>get document by file GUID</p>
158
+ <p>Get document by file GUID</p>
140
159
 
141
160
  </div>
142
161
 
@@ -146,11 +165,11 @@
146
165
  </li>
147
166
 
148
167
 
149
- <li id="section-8">
168
+ <li id="section-9">
150
169
  <div class="annotation">
151
170
 
152
171
  <div class="pilwrap ">
153
- <a class="pilcrow" href="#section-8">&#182;</a>
172
+ <a class="pilcrow" href="#section-9">&#182;</a>
154
173
  </div>
155
174
  <p>Create instance of File</p>
156
175
 
@@ -163,11 +182,11 @@
163
182
  </li>
164
183
 
165
184
 
166
- <li id="section-9">
185
+ <li id="section-10">
167
186
  <div class="annotation">
168
187
 
169
188
  <div class="pilwrap ">
170
- <a class="pilcrow" href="#section-9">&#182;</a>
189
+ <a class="pilcrow" href="#section-10">&#182;</a>
171
190
  </div>
172
191
  <p>Open file</p>
173
192
 
@@ -178,11 +197,11 @@
178
197
  </li>
179
198
 
180
199
 
181
- <li id="section-10">
200
+ <li id="section-11">
182
201
  <div class="annotation">
183
202
 
184
203
  <div class="pilwrap ">
185
- <a class="pilcrow" href="#section-10">&#182;</a>
204
+ <a class="pilcrow" href="#section-11">&#182;</a>
186
205
  </div>
187
206
  <p>Make a request to API using client_id and private_key</p>
188
207
 
@@ -194,11 +213,11 @@
194
213
  </li>
195
214
 
196
215
 
197
- <li id="section-11">
216
+ <li id="section-12">
198
217
  <div class="annotation">
199
218
 
200
219
  <div class="pilwrap ">
201
- <a class="pilcrow" href="#section-11">&#182;</a>
220
+ <a class="pilcrow" href="#section-12">&#182;</a>
202
221
  </div>
203
222
  <p>Upload file from defined url</p>
204
223
 
@@ -215,11 +234,11 @@
215
234
  </li>
216
235
 
217
236
 
218
- <li id="section-12">
237
+ <li id="section-13">
219
238
  <div class="annotation">
220
239
 
221
240
  <div class="pilwrap ">
222
- <a class="pilcrow" href="#section-12">&#182;</a>
241
+ <a class="pilcrow" href="#section-13">&#182;</a>
223
242
  </div>
224
243
  <p>Create new user</p>
225
244
 
@@ -237,11 +256,11 @@
237
256
  </li>
238
257
 
239
258
 
240
- <li id="section-13">
259
+ <li id="section-14">
241
260
  <div class="annotation">
242
261
 
243
262
  <div class="pilwrap ">
244
- <a class="pilcrow" href="#section-13">&#182;</a>
263
+ <a class="pilcrow" href="#section-14">&#182;</a>
245
264
  </div>
246
265
  <p>Update account</p>
247
266
 
@@ -252,11 +271,11 @@
252
271
  </li>
253
272
 
254
273
 
255
- <li id="section-14">
274
+ <li id="section-15">
256
275
  <div class="annotation">
257
276
 
258
277
  <div class="pilwrap ">
259
- <a class="pilcrow" href="#section-14">&#182;</a>
278
+ <a class="pilcrow" href="#section-15">&#182;</a>
260
279
  </div>
261
280
  <p>Set new collaboration</p>
262
281
 
@@ -267,11 +286,11 @@
267
286
  </li>
268
287
 
269
288
 
270
- <li id="section-15">
289
+ <li id="section-16">
271
290
  <div class="annotation">
272
291
 
273
292
  <div class="pilwrap ">
274
- <a class="pilcrow" href="#section-15">&#182;</a>
293
+ <a class="pilcrow" href="#section-16">&#182;</a>
275
294
  </div>
276
295
  <p>Get all collaborations</p>
277
296
 
@@ -282,11 +301,11 @@
282
301
  </li>
283
302
 
284
303
 
285
- <li id="section-16">
304
+ <li id="section-17">
286
305
  <div class="annotation">
287
306
 
288
307
  <div class="pilwrap ">
289
- <a class="pilcrow" href="#section-16">&#182;</a>
308
+ <a class="pilcrow" href="#section-17">&#182;</a>
290
309
  </div>
291
310
  <p>Set document reviewers</p>
292
311
 
@@ -297,42 +316,69 @@
297
316
  </li>
298
317
 
299
318
 
300
- <li id="section-17">
319
+ <li id="section-18">
301
320
  <div class="annotation">
302
321
 
303
322
  <div class="pilwrap ">
304
- <a class="pilcrow" href="#section-17">&#182;</a>
323
+ <a class="pilcrow" href="#section-18">&#182;</a>
305
324
  </div>
306
- <p>Get url from request</p>
325
+ <p>Prepare to sign url</p>
307
326
 
308
327
  </div>
309
328
 
310
- <div class="content"><div class='highlight'><pre> <span class="keyword">case</span> settings.base_path
329
+ <div class="content"><div class='highlight'><pre> iframe = <span class="string">"/document-annotation2/embed/<span class="subst">#{file.file.guid}</span>?uid = <span class="subst">#{new_user.guid}</span>&amp;download=true"</span></pre></div></div>
330
+
331
+ </li>
332
+
333
+
334
+ <li id="section-19">
335
+ <div class="annotation">
336
+
337
+ <div class="pilwrap ">
338
+ <a class="pilcrow" href="#section-19">&#182;</a>
339
+ </div>
340
+ <p>Construct result string</p>
341
+
342
+ </div>
343
+
344
+ <div class="content"><div class='highlight'><pre> url = <span class="constant">GroupDocs::Api::Request</span>.new(<span class="symbol">:path</span> =&gt; iframe).prepare_and_sign_url</pre></div></div>
345
+
346
+ </li>
347
+
348
+
349
+ <li id="section-20">
350
+ <div class="annotation">
351
+
352
+ <div class="pilwrap ">
353
+ <a class="pilcrow" href="#section-20">&#182;</a>
354
+ </div>
355
+ <p>Generate iframe URL</p>
311
356
 
357
+ </div>
358
+
359
+ <div class="content"><div class='highlight'><pre> <span class="keyword">case</span> base_path
312
360
  <span class="keyword">when</span> <span class="string">'https://stage-api-groupdocs.dynabic.com'</span>
313
- url = <span class="string">"http://stage-apps-groupdocs.dynabic.com/document-annotation2/embed/<span class="subst">#{file.file.guid}</span>?uid = <span class="subst">#{new_user.guid}</span>&amp;download=true"</span>
361
+ iframe = <span class="string">"https://stage-api-groupdocs.dynabic.com<span class="subst">#{url}</span>"</span>
314
362
  <span class="keyword">when</span> <span class="string">'https://dev-api-groupdocs.dynabic.com'</span>
315
- url = <span class="string">"http://dev-apps-groupdocs.dynabic.com/document-annotation2/embed/<span class="subst">#{file.file.guid}</span>?uid = <span class="subst">#{new_user.guid}</span>&amp;download=true"</span>
363
+ iframe = <span class="string">"https://dev-apps.groupdocs.com<span class="subst">#{url}</span>"</span>
316
364
  <span class="keyword">else</span>
317
- url = <span class="string">"https://apps.groupdocs.com/document-annotation2/embed/<span class="subst">#{file.file.guid}</span>?uid = <span class="subst">#{new_user.guid}</span>&amp;download=true"</span>
365
+ iframe = <span class="string">"https://apps.groupdocs.com<span class="subst">#{url}</span>"</span>
318
366
  <span class="keyword">end</span></pre></div></div>
319
367
 
320
368
  </li>
321
369
 
322
370
 
323
- <li id="section-18">
371
+ <li id="section-21">
324
372
  <div class="annotation">
325
373
 
326
374
  <div class="pilwrap ">
327
- <a class="pilcrow" href="#section-18">&#182;</a>
375
+ <a class="pilcrow" href="#section-21">&#182;</a>
328
376
  </div>
329
- <p>Add the signature to url the request</p>
377
+ <p>Make iframe</p>
330
378
 
331
379
  </div>
332
380
 
333
- <div class="content"><div class='highlight'><pre> iframe = <span class="constant">GroupDocs::Api::Request</span>.new(<span class="symbol">:path</span> =&gt; url).prepare_and_sign_url
334
-
335
- iframe = <span class="string">"&lt;iframe src='<span class="subst">#{iframe}</span>' frameborder='0' width='720' height='600'&gt;&lt;/iframe&gt;"</span>
381
+ <div class="content"><div class='highlight'><pre> iframe = <span class="string">"&lt;iframe id='downloadframe' src='<span class="subst">#{iframe}</span>' width='800' height='1000'&gt;&lt;/iframe&gt;"</span>
336
382
 
337
383
  <span class="keyword">rescue</span> <span class="constant">Exception</span> =&gt; e
338
384
  err = e.message
@@ -341,13 +387,13 @@
341
387
  </li>
342
388
 
343
389
 
344
- <li id="section-19">
390
+ <li id="section-22">
345
391
  <div class="annotation">
346
392
 
347
393
  <div class="pilwrap ">
348
- <a class="pilcrow" href="#section-19">&#182;</a>
394
+ <a class="pilcrow" href="#section-22">&#182;</a>
349
395
  </div>
350
- <p>set variables for template</p>
396
+ <p>Set variables for template</p>
351
397
 
352
398
  </div>
353
399
 
@@ -59,12 +59,11 @@
59
59
  <div class="pilwrap ">
60
60
  <a class="pilcrow" href="#section-3">&#182;</a>
61
61
  </div>
62
- <p>set variables</p>
62
+ <p>Set variables</p>
63
63
 
64
64
  </div>
65
65
 
66
- <div class="content"><div class='highlight'><pre>
67
- set <span class="symbol">:client_id</span>, params[<span class="symbol">:clientId</span>]
66
+ <div class="content"><div class='highlight'><pre> set <span class="symbol">:client_id</span>, params[<span class="symbol">:clientId</span>]
68
67
  set <span class="symbol">:private_key</span>, params[<span class="symbol">:privateKey</span>]
69
68
  set <span class="symbol">:source</span>, params[<span class="symbol">:source</span>]
70
69
  set <span class="symbol">:file_id</span>, params[<span class="symbol">:fileId</span>]
@@ -82,13 +81,11 @@
82
81
  <div class="pilwrap ">
83
82
  <a class="pilcrow" href="#section-4">&#182;</a>
84
83
  </div>
85
- <p>check required variables</p>
84
+ <p>Check required variables</p>
86
85
 
87
86
  </div>
88
87
 
89
- <div class="content"><div class='highlight'><pre> raise <span class="string">'Please enter all required parameters'</span> <span class="keyword">if</span> settings.client_id.empty? <span class="keyword">or</span> settings.private_key.empty?
90
-
91
- <span class="keyword">if</span> settings.base_path.empty? <span class="keyword">then</span> settings.base_path = <span class="string">'https://api.groupdocs.com'</span> <span class="keyword">end</span></pre></div></div>
88
+ <div class="content"><div class='highlight'><pre> raise <span class="string">'Please enter all required parameters'</span> <span class="keyword">if</span> settings.client_id.empty? <span class="keyword">or</span> settings.private_key.empty?</pre></div></div>
92
89
 
93
90
  </li>
94
91
 
@@ -99,6 +96,27 @@
99
96
  <div class="pilwrap ">
100
97
  <a class="pilcrow" href="#section-5">&#182;</a>
101
98
  </div>
99
+ <p>Prepare base path</p>
100
+
101
+ </div>
102
+
103
+ <div class="content"><div class='highlight'><pre> <span class="keyword">if</span> settings.base_path.empty?
104
+ base_path = <span class="string">'https://api.groupdocs.com'</span>
105
+ <span class="keyword">elsif</span> settings.base_path.match(<span class="string">'/v2.0'</span>)
106
+ base_path = settings.base_path.split(<span class="string">'/v2.0'</span>)[<span class="number">0</span>]
107
+ <span class="keyword">else</span>
108
+ base_path = settings.base_path
109
+ <span class="keyword">end</span></pre></div></div>
110
+
111
+ </li>
112
+
113
+
114
+ <li id="section-6">
115
+ <div class="annotation">
116
+
117
+ <div class="pilwrap ">
118
+ <a class="pilcrow" href="#section-6">&#182;</a>
119
+ </div>
102
120
  <p>Configure your access to API server</p>
103
121
 
104
122
  </div>
@@ -110,29 +128,29 @@
110
128
  </li>
111
129
 
112
130
 
113
- <li id="section-6">
131
+ <li id="section-7">
114
132
  <div class="annotation">
115
133
 
116
134
  <div class="pilwrap ">
117
- <a class="pilcrow" href="#section-6">&#182;</a>
135
+ <a class="pilcrow" href="#section-7">&#182;</a>
118
136
  </div>
119
137
  <p>Optionally specify API server and version</p>
120
138
 
121
139
  </div>
122
140
 
123
- <div class="content"><div class='highlight'><pre> groupdocs.api_server = settings.base_path <span class="comment"># default is 'https://api.groupdocs.com'</span>
141
+ <div class="content"><div class='highlight'><pre> groupdocs.api_server = base_path <span class="comment"># default is 'https://api.groupdocs.com'</span>
124
142
  <span class="keyword">end</span></pre></div></div>
125
143
 
126
144
  </li>
127
145
 
128
146
 
129
- <li id="section-7">
147
+ <li id="section-8">
130
148
  <div class="annotation">
131
149
 
132
150
  <div class="pilwrap ">
133
- <a class="pilcrow" href="#section-7">&#182;</a>
151
+ <a class="pilcrow" href="#section-8">&#182;</a>
134
152
  </div>
135
- <p>get document by file GUID</p>
153
+ <p>Get document by file GUID</p>
136
154
 
137
155
  </div>
138
156
 
@@ -142,11 +160,11 @@
142
160
  </li>
143
161
 
144
162
 
145
- <li id="section-8">
163
+ <li id="section-9">
146
164
  <div class="annotation">
147
165
 
148
166
  <div class="pilwrap ">
149
- <a class="pilcrow" href="#section-8">&#182;</a>
167
+ <a class="pilcrow" href="#section-9">&#182;</a>
150
168
  </div>
151
169
  <p>Create instance of File</p>
152
170
 
@@ -158,11 +176,11 @@
158
176
  </li>
159
177
 
160
178
 
161
- <li id="section-9">
179
+ <li id="section-10">
162
180
  <div class="annotation">
163
181
 
164
182
  <div class="pilwrap ">
165
- <a class="pilcrow" href="#section-9">&#182;</a>
183
+ <a class="pilcrow" href="#section-10">&#182;</a>
166
184
  </div>
167
185
  <p>Construct path</p>
168
186
 
@@ -173,11 +191,11 @@
173
191
  </li>
174
192
 
175
193
 
176
- <li id="section-10">
194
+ <li id="section-11">
177
195
  <div class="annotation">
178
196
 
179
197
  <div class="pilwrap ">
180
- <a class="pilcrow" href="#section-10">&#182;</a>
198
+ <a class="pilcrow" href="#section-11">&#182;</a>
181
199
  </div>
182
200
  <p>Open file</p>
183
201
 
@@ -188,11 +206,11 @@
188
206
  </li>
189
207
 
190
208
 
191
- <li id="section-11">
209
+ <li id="section-12">
192
210
  <div class="annotation">
193
211
 
194
212
  <div class="pilwrap ">
195
- <a class="pilcrow" href="#section-11">&#182;</a>
213
+ <a class="pilcrow" href="#section-12">&#182;</a>
196
214
  </div>
197
215
  <p>Make a request to API using client_id and private_key</p>
198
216
 
@@ -204,11 +222,11 @@
204
222
  </li>
205
223
 
206
224
 
207
- <li id="section-12">
225
+ <li id="section-13">
208
226
  <div class="annotation">
209
227
 
210
228
  <div class="pilwrap ">
211
- <a class="pilcrow" href="#section-12">&#182;</a>
229
+ <a class="pilcrow" href="#section-13">&#182;</a>
212
230
  </div>
213
231
  <p>Upload file from defined url</p>
214
232
 
@@ -222,11 +240,11 @@
222
240
  </li>
223
241
 
224
242
 
225
- <li id="section-13">
243
+ <li id="section-14">
226
244
  <div class="annotation">
227
245
 
228
246
  <div class="pilwrap ">
229
- <a class="pilcrow" href="#section-13">&#182;</a>
247
+ <a class="pilcrow" href="#section-14">&#182;</a>
230
248
  </div>
231
249
  <p>Raise exception if something went wrong</p>
232
250
 
@@ -237,11 +255,11 @@
237
255
  </li>
238
256
 
239
257
 
240
- <li id="section-14">
258
+ <li id="section-15">
241
259
  <div class="annotation">
242
260
 
243
261
  <div class="pilwrap ">
244
- <a class="pilcrow" href="#section-14">&#182;</a>
262
+ <a class="pilcrow" href="#section-15">&#182;</a>
245
263
  </div>
246
264
  <p>Make GroupDocs::Storage::Document instance</p>
247
265
 
@@ -252,11 +270,11 @@
252
270
  </li>
253
271
 
254
272
 
255
- <li id="section-15">
273
+ <li id="section-16">
256
274
  <div class="annotation">
257
275
 
258
276
  <div class="pilwrap ">
259
- <a class="pilcrow" href="#section-15">&#182;</a>
277
+ <a class="pilcrow" href="#section-16">&#182;</a>
260
278
  </div>
261
279
  <p>Create new page</p>
262
280
 
@@ -271,13 +289,13 @@
271
289
  </li>
272
290
 
273
291
 
274
- <li id="section-16">
292
+ <li id="section-17">
275
293
  <div class="annotation">
276
294
 
277
295
  <div class="pilwrap ">
278
- <a class="pilcrow" href="#section-16">&#182;</a>
296
+ <a class="pilcrow" href="#section-17">&#182;</a>
279
297
  </div>
280
- <p>set variables for template</p>
298
+ <p>Set variables for template</p>
281
299
 
282
300
  </div>
283
301