filestack 2.2.1 → 2.3.0

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.
@@ -5,9 +5,9 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Class: FilestackFilelink
8
-
8
+
9
9
  &mdash; Documentation by YARD 0.9.9
10
-
10
+
11
11
  </title>
12
12
 
13
13
  <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
@@ -35,16 +35,16 @@
35
35
  <div id="main" tabindex="-1">
36
36
  <div id="header">
37
37
  <div id="menu">
38
-
38
+
39
39
  <a href="_index.html">Index (F)</a> &raquo;
40
-
41
-
40
+
41
+
42
42
  <span class="title">FilestackFilelink</span>
43
-
43
+
44
44
  </div>
45
45
 
46
46
  <div id="search">
47
-
47
+
48
48
  <a class="full_list_link" id="class_list_link"
49
49
  href="class_list.html">
50
50
 
@@ -54,59 +54,59 @@
54
54
  <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
55
  </svg>
56
56
  </a>
57
-
57
+
58
58
  </div>
59
59
  <div class="clear"></div>
60
60
  </div>
61
61
 
62
62
  <div id="content"><h1>Class: FilestackFilelink
63
-
64
-
65
-
63
+
64
+
65
+
66
66
  </h1>
67
67
  <div class="box_info">
68
-
68
+
69
69
  <dl>
70
70
  <dt>Inherits:</dt>
71
71
  <dd>
72
72
  <span class="inheritName">Object</span>
73
-
73
+
74
74
  <ul class="fullTree">
75
75
  <li>Object</li>
76
-
76
+
77
77
  <li class="next">FilestackFilelink</li>
78
-
78
+
79
79
  </ul>
80
80
  <a href="#" class="inheritanceTree">show all</a>
81
-
81
+
82
82
  </dd>
83
83
  </dl>
84
-
85
84
 
86
-
87
-
88
-
89
-
85
+
86
+
87
+
88
+
89
+
90
90
  <dl>
91
91
  <dt>Includes:</dt>
92
92
  <dd><span class='object_link'><a href="FilestackCommon.html" title="FilestackCommon (module)">FilestackCommon</a></span>, <span class='object_link'><a href="UploadUtils.html" title="UploadUtils (module)">UploadUtils</a></span></dd>
93
93
  </dl>
94
-
95
-
96
94
 
97
-
98
95
 
99
-
96
+
97
+
98
+
99
+
100
100
  <dl>
101
101
  <dt>Defined in:</dt>
102
102
  <dd>lib/filestack/models/filelink.rb</dd>
103
103
  </dl>
104
-
104
+
105
105
  </div>
106
106
 
107
107
  <h2>Overview</h2><div class="docstring">
108
108
  <div class="discussion">
109
-
109
+
110
110
  <p>This class represents a file stored on your Filestack storage. Once
111
111
  initialized, you may perform transformations, conversions, get metadata,
112
112
  update, or delete it.</p>
@@ -115,7 +115,7 @@ update, or delete it.</p>
115
115
  </div>
116
116
  </div>
117
117
  <div class="tags">
118
-
118
+
119
119
 
120
120
  </div>
121
121
 
@@ -123,389 +123,389 @@ update, or delete it.</p>
123
123
 
124
124
  <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
125
125
  <ul class="summary">
126
-
126
+
127
127
  <li class="public ">
128
128
  <span class="summary_signature">
129
-
129
+
130
130
  <a href="#apikey-instance_method" title="#apikey (instance method)">#<strong>apikey</strong> &#x21d2; Object </a>
131
-
132
131
 
133
-
132
+
133
+
134
134
  </span>
135
-
136
-
137
-
138
-
135
+
136
+
137
+
138
+
139
139
  <span class="note title readonly">readonly</span>
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
149
  <span class="summary_desc"><div class='inline'>
150
150
  <p>Returns the value of attribute apikey.</p>
151
151
  </div></span>
152
-
152
+
153
153
  </li>
154
154
 
155
-
155
+
156
156
  <li class="public ">
157
157
  <span class="summary_signature">
158
-
158
+
159
159
  <a href="#handle-instance_method" title="#handle (instance method)">#<strong>handle</strong> &#x21d2; Object </a>
160
-
161
160
 
162
-
161
+
162
+
163
163
  </span>
164
-
165
-
166
-
167
-
164
+
165
+
166
+
167
+
168
168
  <span class="note title readonly">readonly</span>
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
178
  <span class="summary_desc"><div class='inline'>
179
179
  <p>Returns the value of attribute handle.</p>
180
180
  </div></span>
181
-
181
+
182
182
  </li>
183
183
 
184
-
184
+
185
185
  <li class="public ">
186
186
  <span class="summary_signature">
187
-
187
+
188
188
  <a href="#security-instance_method" title="#security (instance method)">#<strong>security</strong> &#x21d2; Object </a>
189
-
190
189
 
191
-
190
+
191
+
192
192
  </span>
193
-
194
-
195
-
196
-
193
+
194
+
195
+
196
+
197
197
  <span class="note title readonly">readonly</span>
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
207
  <span class="summary_desc"><div class='inline'>
208
208
  <p>Returns the value of attribute security.</p>
209
209
  </div></span>
210
-
210
+
211
211
  </li>
212
212
 
213
-
213
+
214
214
  </ul>
215
215
 
216
216
 
217
217
 
218
218
 
219
-
219
+
220
220
  <h2>
221
221
  Instance Method Summary
222
222
  <small><a href="#" class="summary_toggle">collapse</a></small>
223
223
  </h2>
224
224
 
225
225
  <ul class="summary">
226
-
226
+
227
227
  <li class="public ">
228
228
  <span class="summary_signature">
229
-
230
- <a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong> &#x21d2; Unirest::Response </a>
231
-
232
229
 
233
-
230
+ <a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong> &#x21d2; Typhoeus::Response </a>
231
+
232
+
233
+
234
234
  </span>
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
244
  <span class="summary_desc"><div class='inline'>
245
245
  <p>Delete filelink.</p>
246
246
  </div></span>
247
-
247
+
248
248
  </li>
249
249
 
250
-
250
+
251
251
  <li class="public ">
252
252
  <span class="summary_signature">
253
-
254
- <a href="#download-instance_method" title="#download (instance method)">#<strong>download</strong>(filepath) &#x21d2; Unirest::Response </a>
255
-
256
253
 
257
-
254
+ <a href="#download-instance_method" title="#download (instance method)">#<strong>download</strong>(filepath) &#x21d2; Typhoeus::Response </a>
255
+
256
+
257
+
258
258
  </span>
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
268
  <span class="summary_desc"><div class='inline'>
269
269
  <p>Download FilestackFilelink.</p>
270
270
  </div></span>
271
-
271
+
272
272
  </li>
273
273
 
274
-
274
+
275
275
  <li class="public ">
276
276
  <span class="summary_signature">
277
-
277
+
278
278
  <a href="#get_content-instance_method" title="#get_content (instance method)">#<strong>get_content</strong> &#x21d2; Bytes </a>
279
-
280
279
 
281
-
280
+
281
+
282
282
  </span>
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
-
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
292
  <span class="summary_desc"><div class='inline'>
293
293
  <p>Get content of filelink.</p>
294
294
  </div></span>
295
-
295
+
296
296
  </li>
297
297
 
298
-
298
+
299
299
  <li class="public ">
300
300
  <span class="summary_signature">
301
-
301
+
302
302
  <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(handle, apikey: nil, security: nil) &#x21d2; FilestackFilelink </a>
303
-
304
303
 
305
-
304
+
305
+
306
306
  </span>
307
-
308
-
307
+
308
+
309
309
  <span class="note title constructor">constructor</span>
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
318
  <span class="summary_desc"><div class='inline'>
319
319
  <p>Initialize FilestackFilelink.</p>
320
320
  </div></span>
321
-
321
+
322
322
  </li>
323
323
 
324
-
324
+
325
325
  <li class="public ">
326
326
  <span class="summary_signature">
327
-
328
- <a href="#metadata-instance_method" title="#metadata (instance method)">#<strong>metadata</strong>(params = {}) &#x21d2; Unirest::Response </a>
329
-
330
327
 
331
-
328
+ <a href="#metadata-instance_method" title="#metadata (instance method)">#<strong>metadata</strong>(params = {}) &#x21d2; Typhoeus::Response </a>
329
+
330
+
331
+
332
332
  </span>
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
-
341
-
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
342
  <span class="summary_desc"><div class='inline'>
343
343
  <p>Return metadata for file handle.</p>
344
344
  </div></span>
345
-
345
+
346
346
  </li>
347
347
 
348
-
348
+
349
349
  <li class="public ">
350
350
  <span class="summary_signature">
351
-
352
- <a href="#overwrite-instance_method" title="#overwrite (instance method)">#<strong>overwrite</strong>(filepath) &#x21d2; Unirest::Response </a>
353
-
354
351
 
355
-
352
+ <a href="#overwrite-instance_method" title="#overwrite (instance method)">#<strong>overwrite</strong>(filepath) &#x21d2; Typhoeus::Response </a>
353
+
354
+
355
+
356
356
  </span>
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
-
365
-
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
366
  <span class="summary_desc"><div class='inline'>
367
367
  <p>Ovewrite filelink by uploading local file.</p>
368
368
  </div></span>
369
-
369
+
370
370
  </li>
371
371
 
372
-
372
+
373
373
  <li class="public ">
374
374
  <span class="summary_signature">
375
-
375
+
376
376
  <a href="#sfw-instance_method" title="#sfw (instance method)">#<strong>sfw</strong> &#x21d2; Bool </a>
377
-
378
377
 
379
-
378
+
379
+
380
380
  </span>
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
390
  <span class="summary_desc"><div class='inline'>
391
391
  <p>Return true (SFW) or false (NSFW).</p>
392
392
  </div></span>
393
-
393
+
394
394
  </li>
395
395
 
396
-
396
+
397
397
  <li class="public ">
398
398
  <span class="summary_signature">
399
-
399
+
400
400
  <a href="#tags-instance_method" title="#tags (instance method)">#<strong>tags</strong> &#x21d2; Hash </a>
401
-
402
401
 
403
-
402
+
403
+
404
404
  </span>
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
414
  <span class="summary_desc"><div class='inline'>
415
415
  <p>Return auto and user tags for the filelink.</p>
416
416
  </div></span>
417
-
417
+
418
418
  </li>
419
419
 
420
-
420
+
421
421
  <li class="public ">
422
422
  <span class="summary_signature">
423
-
423
+
424
424
  <a href="#transform-instance_method" title="#transform (instance method)">#<strong>transform</strong> &#x21d2; Filestack::Transform </a>
425
-
426
425
 
427
-
426
+
427
+
428
428
  </span>
429
-
430
-
431
-
432
-
433
-
434
-
435
-
436
-
437
-
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
438
  <span class="summary_desc"><div class='inline'>
439
439
  <p>Turn the filelink into a transform object to perform transform operations.</p>
440
440
  </div></span>
441
-
441
+
442
442
  </li>
443
443
 
444
-
444
+
445
445
  <li class="public ">
446
446
  <span class="summary_signature">
447
-
447
+
448
448
  <a href="#url-instance_method" title="#url (instance method)">#<strong>url</strong> &#x21d2; String </a>
449
-
450
449
 
451
-
450
+
451
+
452
452
  </span>
453
-
454
-
455
-
456
-
457
-
458
-
459
-
460
-
461
-
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
462
  <span class="summary_desc"><div class='inline'>
463
463
  <p>Get the URL of the FilestackFilelink.</p>
464
464
  </div></span>
465
-
465
+
466
466
  </li>
467
467
 
468
-
468
+
469
469
  </ul>
470
-
471
470
 
472
471
 
473
-
474
-
475
-
476
-
477
-
478
-
479
-
480
-
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
481
  <h3 class="inherited">Methods included from <span class='object_link'><a href="UploadUtils.html" title="UploadUtils (module)">UploadUtils</a></span></h3>
482
482
  <p class="inherited"><span class='object_link'><a href="UploadUtils.html#get_url-instance_method" title="UploadUtils#get_url (method)">#get_url</a></span>, <span class='object_link'><a href="UploadUtils.html#make_call-instance_method" title="UploadUtils#make_call (method)">#make_call</a></span>, <span class='object_link'><a href="UploadUtils.html#send_upload-instance_method" title="UploadUtils#send_upload (method)">#send_upload</a></span></p>
483
483
 
484
-
485
-
486
-
487
-
488
-
489
-
490
-
491
-
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+
492
492
  <h3 class="inherited">Methods included from <span class='object_link'><a href="FilestackCommon.html" title="FilestackCommon (module)">FilestackCommon</a></span></h3>
493
493
  <p class="inherited"><span class='object_link'><a href="FilestackCommon.html#send_delete-instance_method" title="FilestackCommon#send_delete (method)">#send_delete</a></span>, <span class='object_link'><a href="FilestackCommon.html#send_download-instance_method" title="FilestackCommon#send_download (method)">#send_download</a></span>, <span class='object_link'><a href="FilestackCommon.html#send_get_content-instance_method" title="FilestackCommon#send_get_content (method)">#send_get_content</a></span>, <span class='object_link'><a href="FilestackCommon.html#send_metadata-instance_method" title="FilestackCommon#send_metadata (method)">#send_metadata</a></span>, <span class='object_link'><a href="FilestackCommon.html#send_overwrite-instance_method" title="FilestackCommon#send_overwrite (method)">#send_overwrite</a></span>, <span class='object_link'><a href="FilestackCommon.html#send_tags-instance_method" title="FilestackCommon#send_tags (method)">#send_tags</a></span></p>
494
494
  <div id="constructor_details" class="method_details_list">
495
495
  <h2>Constructor Details</h2>
496
-
496
+
497
497
  <div class="method_details first">
498
498
  <h3 class="signature first" id="initialize-instance_method">
499
-
500
- #<strong>initialize</strong>(handle, apikey: nil, security: nil) &#x21d2; <tt><span class='object_link'><a href="" title="FilestackFilelink (class)">FilestackFilelink</a></span></tt>
501
-
502
499
 
503
-
500
+ #<strong>initialize</strong>(handle, apikey: nil, security: nil) &#x21d2; <tt><span class='object_link'><a href="" title="FilestackFilelink (class)">FilestackFilelink</a></span></tt>
501
+
502
+
503
+
504
+
504
505
 
505
-
506
506
  </h3><div class="docstring">
507
507
  <div class="discussion">
508
-
508
+
509
509
  <p>Initialize FilestackFilelink</p>
510
510
 
511
511
 
@@ -514,55 +514,55 @@ update, or delete it.</p>
514
514
  <div class="tags">
515
515
  <p class="tag_title">Parameters:</p>
516
516
  <ul class="param">
517
-
517
+
518
518
  <li>
519
-
519
+
520
520
  <span class='name'>file_handle</span>
521
-
522
-
521
+
522
+
523
523
  <span class='type'>(<tt>String</tt>)</span>
524
-
525
-
526
-
524
+
525
+
526
+
527
527
  &mdash;
528
528
  <div class='inline'>
529
529
  <p>The FilestackFilelink handle</p>
530
530
  </div>
531
-
531
+
532
532
  </li>
533
-
533
+
534
534
  <li>
535
-
535
+
536
536
  <span class='name'>apikey</span>
537
-
538
-
537
+
538
+
539
539
  <span class='type'>(<tt>String</tt>)</span>
540
-
541
-
542
-
540
+
541
+
542
+
543
543
  &mdash;
544
544
  <div class='inline'>
545
545
  <p>Your Filestack API Key (optional)</p>
546
546
  </div>
547
-
547
+
548
548
  </li>
549
-
549
+
550
550
  <li>
551
-
551
+
552
552
  <span class='name'>security</span>
553
-
554
-
553
+
554
+
555
555
  <span class='type'>(<tt><span class='object_link'><a href="FilestackSecurity.html" title="FilestackSecurity (class)">FilestackSecurity</a></span></tt>)</span>
556
-
557
-
558
-
556
+
557
+
558
+
559
559
  &mdash;
560
560
  <div class='inline'>
561
561
  <p>Filestack security object, if security is enabled.</p>
562
562
  </div>
563
-
563
+
564
564
  </li>
565
-
565
+
566
566
  </ul>
567
567
 
568
568
 
@@ -590,33 +590,33 @@ update, or delete it.</p>
590
590
  </tr>
591
591
  </table>
592
592
  </div>
593
-
593
+
594
594
  </div>
595
595
 
596
596
  <div id="instance_attr_details" class="attr_details">
597
597
  <h2>Instance Attribute Details</h2>
598
-
599
-
598
+
599
+
600
600
  <span id=""></span>
601
601
  <div class="method_details first">
602
602
  <h3 class="signature first" id="apikey-instance_method">
603
-
603
+
604
604
  #<strong>apikey</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
605
-
606
605
 
607
-
608
606
 
609
-
607
+
608
+
609
+
610
610
  </h3><div class="docstring">
611
611
  <div class="discussion">
612
-
612
+
613
613
  <p>Returns the value of attribute apikey</p>
614
614
 
615
615
 
616
616
  </div>
617
617
  </div>
618
618
  <div class="tags">
619
-
619
+
620
620
 
621
621
  </div><table class="source_code">
622
622
  <tr>
@@ -638,28 +638,28 @@ update, or delete it.</p>
638
638
  </tr>
639
639
  </table>
640
640
  </div>
641
-
642
-
641
+
642
+
643
643
  <span id=""></span>
644
644
  <div class="method_details ">
645
645
  <h3 class="signature " id="handle-instance_method">
646
-
646
+
647
647
  #<strong>handle</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
648
-
649
648
 
650
-
651
649
 
652
-
650
+
651
+
652
+
653
653
  </h3><div class="docstring">
654
654
  <div class="discussion">
655
-
655
+
656
656
  <p>Returns the value of attribute handle</p>
657
657
 
658
658
 
659
659
  </div>
660
660
  </div>
661
661
  <div class="tags">
662
-
662
+
663
663
 
664
664
  </div><table class="source_code">
665
665
  <tr>
@@ -681,28 +681,28 @@ update, or delete it.</p>
681
681
  </tr>
682
682
  </table>
683
683
  </div>
684
-
685
-
684
+
685
+
686
686
  <span id=""></span>
687
687
  <div class="method_details ">
688
688
  <h3 class="signature " id="security-instance_method">
689
-
689
+
690
690
  #<strong>security</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
691
-
692
691
 
693
-
694
692
 
695
-
693
+
694
+
695
+
696
696
  </h3><div class="docstring">
697
697
  <div class="discussion">
698
-
698
+
699
699
  <p>Returns the value of attribute security</p>
700
700
 
701
701
 
702
702
  </div>
703
703
  </div>
704
704
  <div class="tags">
705
-
705
+
706
706
 
707
707
  </div><table class="source_code">
708
708
  <tr>
@@ -724,45 +724,45 @@ update, or delete it.</p>
724
724
  </tr>
725
725
  </table>
726
726
  </div>
727
-
727
+
728
728
  </div>
729
729
 
730
730
 
731
731
  <div id="instance_method_details" class="method_details_list">
732
732
  <h2>Instance Method Details</h2>
733
733
 
734
-
734
+
735
735
  <div class="method_details first">
736
736
  <h3 class="signature first" id="delete-instance_method">
737
-
738
- #<strong>delete</strong> &#x21d2; <tt>Unirest::Response</tt>
739
-
740
737
 
741
-
738
+ #<strong>delete</strong> &#x21d2; <tt>Typhoeus::Response</tt>
739
+
740
+
741
+
742
+
742
743
 
743
-
744
744
  </h3><div class="docstring">
745
745
  <div class="discussion">
746
-
746
+
747
747
  <p>Delete filelink</p>
748
748
 
749
749
 
750
750
  </div>
751
751
  </div>
752
752
  <div class="tags">
753
-
753
+
754
754
  <p class="tag_title">Returns:</p>
755
755
  <ul class="return">
756
-
756
+
757
757
  <li>
758
-
759
-
760
- <span class='type'>(<tt>Unirest::Response</tt>)</span>
761
-
762
-
763
-
758
+
759
+
760
+ <span class='type'>(<tt>Typhoeus::Response</tt>)</span>
761
+
762
+
763
+
764
764
  </li>
765
-
765
+
766
766
  </ul>
767
767
 
768
768
  </div><table class="source_code">
@@ -785,19 +785,19 @@ update, or delete it.</p>
785
785
  </tr>
786
786
  </table>
787
787
  </div>
788
-
788
+
789
789
  <div class="method_details ">
790
790
  <h3 class="signature " id="download-instance_method">
791
-
792
- #<strong>download</strong>(filepath) &#x21d2; <tt>Unirest::Response</tt>
793
-
794
791
 
795
-
792
+ #<strong>download</strong>(filepath) &#x21d2; <tt>Typhoeus::Response</tt>
793
+
794
+
795
+
796
+
796
797
 
797
-
798
798
  </h3><div class="docstring">
799
799
  <div class="discussion">
800
-
800
+
801
801
  <p>Download FilestackFilelink</p>
802
802
 
803
803
 
@@ -806,37 +806,37 @@ update, or delete it.</p>
806
806
  <div class="tags">
807
807
  <p class="tag_title">Parameters:</p>
808
808
  <ul class="param">
809
-
809
+
810
810
  <li>
811
-
811
+
812
812
  <span class='name'>filepath</span>
813
-
814
-
813
+
814
+
815
815
  <span class='type'>(<tt>String</tt>)</span>
816
-
817
-
818
-
816
+
817
+
818
+
819
819
  &mdash;
820
820
  <div class='inline'>
821
821
  <p>The local destination of the downloaded filelink</p>
822
822
  </div>
823
-
823
+
824
824
  </li>
825
-
825
+
826
826
  </ul>
827
827
 
828
828
  <p class="tag_title">Returns:</p>
829
829
  <ul class="return">
830
-
830
+
831
831
  <li>
832
-
833
-
834
- <span class='type'>(<tt>Unirest::Response</tt>)</span>
835
-
836
-
837
-
832
+
833
+
834
+ <span class='type'>(<tt>Typhoeus::Response</tt>)</span>
835
+
836
+
837
+
838
838
  </li>
839
-
839
+
840
840
  </ul>
841
841
 
842
842
  </div><table class="source_code">
@@ -859,38 +859,38 @@ update, or delete it.</p>
859
859
  </tr>
860
860
  </table>
861
861
  </div>
862
-
862
+
863
863
  <div class="method_details ">
864
864
  <h3 class="signature " id="get_content-instance_method">
865
-
866
- #<strong>get_content</strong> &#x21d2; <tt>Bytes</tt>
867
-
868
865
 
869
-
866
+ #<strong>get_content</strong> &#x21d2; <tt>Bytes</tt>
867
+
868
+
869
+
870
+
870
871
 
871
-
872
872
  </h3><div class="docstring">
873
873
  <div class="discussion">
874
-
874
+
875
875
  <p>Get content of filelink</p>
876
876
 
877
877
 
878
878
  </div>
879
879
  </div>
880
880
  <div class="tags">
881
-
881
+
882
882
  <p class="tag_title">Returns:</p>
883
883
  <ul class="return">
884
-
884
+
885
885
  <li>
886
-
887
-
886
+
887
+
888
888
  <span class='type'>(<tt>Bytes</tt>)</span>
889
-
890
-
891
-
889
+
890
+
891
+
892
892
  </li>
893
-
893
+
894
894
  </ul>
895
895
 
896
896
  </div><table class="source_code">
@@ -913,38 +913,38 @@ update, or delete it.</p>
913
913
  </tr>
914
914
  </table>
915
915
  </div>
916
-
916
+
917
917
  <div class="method_details ">
918
918
  <h3 class="signature " id="metadata-instance_method">
919
-
920
- #<strong>metadata</strong>(params = {}) &#x21d2; <tt>Unirest::Response</tt>
921
-
922
919
 
923
-
920
+ #<strong>metadata</strong>(params = {}) &#x21d2; <tt>Typhoeus::Response</tt>
921
+
922
+
923
+
924
+
924
925
 
925
-
926
926
  </h3><div class="docstring">
927
927
  <div class="discussion">
928
-
928
+
929
929
  <p>Return metadata for file handle</p>
930
930
 
931
931
 
932
932
  </div>
933
933
  </div>
934
934
  <div class="tags">
935
-
935
+
936
936
  <p class="tag_title">Returns:</p>
937
937
  <ul class="return">
938
-
938
+
939
939
  <li>
940
-
941
-
942
- <span class='type'>(<tt>Unirest::Response</tt>)</span>
943
-
944
-
945
-
940
+
941
+
942
+ <span class='type'>(<tt>Typhoeus::Response</tt>)</span>
943
+
944
+
945
+
946
946
  </li>
947
-
947
+
948
948
  </ul>
949
949
 
950
950
  </div><table class="source_code">
@@ -967,19 +967,19 @@ update, or delete it.</p>
967
967
  </tr>
968
968
  </table>
969
969
  </div>
970
-
970
+
971
971
  <div class="method_details ">
972
972
  <h3 class="signature " id="overwrite-instance_method">
973
-
974
- #<strong>overwrite</strong>(filepath) &#x21d2; <tt>Unirest::Response</tt>
975
-
976
973
 
977
-
974
+ #<strong>overwrite</strong>(filepath) &#x21d2; <tt>Typhoeus::Response</tt>
975
+
976
+
977
+
978
+
978
979
 
979
-
980
980
  </h3><div class="docstring">
981
981
  <div class="discussion">
982
-
982
+
983
983
  <p>Ovewrite filelink by uploading local file</p>
984
984
 
985
985
 
@@ -988,37 +988,37 @@ update, or delete it.</p>
988
988
  <div class="tags">
989
989
  <p class="tag_title">Parameters:</p>
990
990
  <ul class="param">
991
-
991
+
992
992
  <li>
993
-
993
+
994
994
  <span class='name'>filepath</span>
995
-
996
-
995
+
996
+
997
997
  <span class='type'>(<tt>String</tt>)</span>
998
-
999
-
1000
-
998
+
999
+
1000
+
1001
1001
  &mdash;
1002
1002
  <div class='inline'>
1003
1003
  <p>filepath of file to upload</p>
1004
1004
  </div>
1005
-
1005
+
1006
1006
  </li>
1007
-
1007
+
1008
1008
  </ul>
1009
1009
 
1010
1010
  <p class="tag_title">Returns:</p>
1011
1011
  <ul class="return">
1012
-
1012
+
1013
1013
  <li>
1014
-
1015
-
1016
- <span class='type'>(<tt>Unirest::Response</tt>)</span>
1017
-
1018
-
1019
-
1014
+
1015
+
1016
+ <span class='type'>(<tt>Typhoeus::Response</tt>)</span>
1017
+
1018
+
1019
+
1020
1020
  </li>
1021
-
1021
+
1022
1022
  </ul>
1023
1023
 
1024
1024
  </div><table class="source_code">
@@ -1041,38 +1041,38 @@ update, or delete it.</p>
1041
1041
  </tr>
1042
1042
  </table>
1043
1043
  </div>
1044
-
1044
+
1045
1045
  <div class="method_details ">
1046
1046
  <h3 class="signature " id="sfw-instance_method">
1047
-
1048
- #<strong>sfw</strong> &#x21d2; <tt>Bool</tt>
1049
-
1050
1047
 
1051
-
1048
+ #<strong>sfw</strong> &#x21d2; <tt>Bool</tt>
1049
+
1050
+
1051
+
1052
+
1052
1053
 
1053
-
1054
1054
  </h3><div class="docstring">
1055
1055
  <div class="discussion">
1056
-
1056
+
1057
1057
  <p>Return true (SFW) or false (NSFW)</p>
1058
1058
 
1059
1059
 
1060
1060
  </div>
1061
1061
  </div>
1062
1062
  <div class="tags">
1063
-
1063
+
1064
1064
  <p class="tag_title">Returns:</p>
1065
1065
  <ul class="return">
1066
-
1066
+
1067
1067
  <li>
1068
-
1069
-
1068
+
1069
+
1070
1070
  <span class='type'>(<tt>Bool</tt>)</span>
1071
-
1072
-
1073
-
1071
+
1072
+
1073
+
1074
1074
  </li>
1075
-
1075
+
1076
1076
  </ul>
1077
1077
 
1078
1078
  </div><table class="source_code">
@@ -1088,45 +1088,45 @@ update, or delete it.</p>
1088
1088
  <td>
1089
1089
  <pre class="code"><span class="info file"># File 'lib/filestack/models/filelink.rb', line 84</span>
1090
1090
 
1091
- <span class='kw'>def</span> <span class='id identifier rubyid_sfw'>sfw</span>
1091
+ <span class='kw'>def</span> <span class='id identifier rubyid_sfw'>sfw</span>
1092
1092
  <span class='id identifier rubyid_send_tags'>send_tags</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>sfw</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='ivar'>@handle</span><span class='comma'>,</span> <span class='ivar'>@security</span><span class='rparen'>)</span>
1093
1093
  <span class='kw'>end</span></pre>
1094
1094
  </td>
1095
1095
  </tr>
1096
1096
  </table>
1097
1097
  </div>
1098
-
1098
+
1099
1099
  <div class="method_details ">
1100
1100
  <h3 class="signature " id="tags-instance_method">
1101
-
1102
- #<strong>tags</strong> &#x21d2; <tt>Hash</tt>
1103
-
1104
1101
 
1105
-
1102
+ #<strong>tags</strong> &#x21d2; <tt>Hash</tt>
1103
+
1104
+
1105
+
1106
+
1106
1107
 
1107
-
1108
1108
  </h3><div class="docstring">
1109
1109
  <div class="discussion">
1110
-
1110
+
1111
1111
  <p>Return auto and user tags for the filelink</p>
1112
1112
 
1113
1113
 
1114
1114
  </div>
1115
1115
  </div>
1116
1116
  <div class="tags">
1117
-
1117
+
1118
1118
  <p class="tag_title">Returns:</p>
1119
1119
  <ul class="return">
1120
-
1120
+
1121
1121
  <li>
1122
-
1123
-
1122
+
1123
+
1124
1124
  <span class='type'>(<tt>Hash</tt>)</span>
1125
-
1126
-
1127
-
1125
+
1126
+
1127
+
1128
1128
  </li>
1129
-
1129
+
1130
1130
  </ul>
1131
1131
 
1132
1132
  </div><table class="source_code">
@@ -1149,38 +1149,38 @@ update, or delete it.</p>
1149
1149
  </tr>
1150
1150
  </table>
1151
1151
  </div>
1152
-
1152
+
1153
1153
  <div class="method_details ">
1154
1154
  <h3 class="signature " id="transform-instance_method">
1155
-
1156
- #<strong>transform</strong> &#x21d2; <tt>Filestack::Transform</tt>
1157
-
1158
1155
 
1159
-
1156
+ #<strong>transform</strong> &#x21d2; <tt>Filestack::Transform</tt>
1157
+
1158
+
1159
+
1160
+
1160
1161
 
1161
-
1162
1162
  </h3><div class="docstring">
1163
1163
  <div class="discussion">
1164
-
1164
+
1165
1165
  <p>Turn the filelink into a transform object to perform transform operations</p>
1166
1166
 
1167
1167
 
1168
1168
  </div>
1169
1169
  </div>
1170
1170
  <div class="tags">
1171
-
1171
+
1172
1172
  <p class="tag_title">Returns:</p>
1173
1173
  <ul class="return">
1174
-
1174
+
1175
1175
  <li>
1176
-
1177
-
1176
+
1177
+
1178
1178
  <span class='type'>(<tt>Filestack::Transform</tt>)</span>
1179
-
1180
-
1181
-
1179
+
1180
+
1181
+
1182
1182
  </li>
1183
-
1183
+
1184
1184
  </ul>
1185
1185
 
1186
1186
  </div><table class="source_code">
@@ -1203,38 +1203,38 @@ update, or delete it.</p>
1203
1203
  </tr>
1204
1204
  </table>
1205
1205
  </div>
1206
-
1206
+
1207
1207
  <div class="method_details ">
1208
1208
  <h3 class="signature " id="url-instance_method">
1209
-
1210
- #<strong>url</strong> &#x21d2; <tt>String</tt>
1211
-
1212
1209
 
1213
-
1210
+ #<strong>url</strong> &#x21d2; <tt>String</tt>
1211
+
1212
+
1213
+
1214
+
1214
1215
 
1215
-
1216
1216
  </h3><div class="docstring">
1217
1217
  <div class="discussion">
1218
-
1218
+
1219
1219
  <p>Get the URL of the FilestackFilelink</p>
1220
1220
 
1221
1221
 
1222
1222
  </div>
1223
1223
  </div>
1224
1224
  <div class="tags">
1225
-
1225
+
1226
1226
  <p class="tag_title">Returns:</p>
1227
1227
  <ul class="return">
1228
-
1228
+
1229
1229
  <li>
1230
-
1231
-
1230
+
1231
+
1232
1232
  <span class='type'>(<tt>String</tt>)</span>
1233
-
1234
-
1235
-
1233
+
1234
+
1235
+
1236
1236
  </li>
1237
-
1237
+
1238
1238
  </ul>
1239
1239
 
1240
1240
  </div><table class="source_code">
@@ -1261,7 +1261,7 @@ update, or delete it.</p>
1261
1261
  </tr>
1262
1262
  </table>
1263
1263
  </div>
1264
-
1264
+
1265
1265
  </div>
1266
1266
 
1267
1267
  </div>
@@ -1274,4 +1274,4 @@ update, or delete it.</p>
1274
1274
 
1275
1275
  </div>
1276
1276
  </body>
1277
- </html>
1277
+ </html>