flickrie 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/flickrie/version.rb +1 -1
- metadata +9 -78
- data/doc/Flickrie.html +0 -364
- data/doc/Flickrie/.DS_Store +0 -0
- data/doc/Flickrie/ApiMethods.html +0 -1692
- data/doc/Flickrie/Client.html +0 -914
- data/doc/Flickrie/Error.html +0 -187
- data/doc/Flickrie/Instance.html +0 -344
- data/doc/Flickrie/License.html +0 -288
- data/doc/Flickrie/Location.html +0 -233
- data/doc/Flickrie/Media.html +0 -1689
- data/doc/Flickrie/Media/ClassMethods.html +0 -509
- data/doc/Flickrie/Media/Count.html +0 -314
- data/doc/Flickrie/Media/Exif.html +0 -276
- data/doc/Flickrie/Media/Note.html +0 -362
- data/doc/Flickrie/Media/Tag.html +0 -425
- data/doc/Flickrie/Media/Ticket.html +0 -425
- data/doc/Flickrie/Media/Visibility.html +0 -359
- data/doc/Flickrie/MediaCount.html +0 -314
- data/doc/Flickrie/OAuth.html +0 -334
- data/doc/Flickrie/OAuth/AccessToken.html +0 -187
- data/doc/Flickrie/OAuth/Error.html +0 -187
- data/doc/Flickrie/OAuth/ParseResponseParams.html +0 -187
- data/doc/Flickrie/OAuth/RequestToken.html +0 -241
- data/doc/Flickrie/OAuth/StatusCheck.html +0 -235
- data/doc/Flickrie/OAuth/Token.html +0 -227
- data/doc/Flickrie/OAuthStatusCheck.html +0 -236
- data/doc/Flickrie/Photo.html +0 -913
- data/doc/Flickrie/Set.html +0 -998
- data/doc/Flickrie/StatusCheck.html +0 -235
- data/doc/Flickrie/UploadClient.html +0 -284
- data/doc/Flickrie/UploadStatusCheck.html +0 -235
- data/doc/Flickrie/User.html +0 -875
- data/doc/Flickrie/Video.html +0 -601
- data/doc/Gemfile.html +0 -163
- data/doc/LICENSE.html +0 -165
- data/doc/Rakefile.html +0 -168
- data/doc/created.rid +0 -25
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -140
- data/doc/js/darkfish.js +0 -153
- data/doc/js/jquery.js +0 -18
- data/doc/js/navigation.js +0 -142
- data/doc/js/search.js +0 -94
- data/doc/js/search_index.js +0 -1
- data/doc/js/searcher.js +0 -228
- data/doc/rdoc.css +0 -543
- data/doc/table_of_contents.html +0 -642
data/doc/Flickrie/Video.html
DELETED
@@ -1,601 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>class Flickrie::Video - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "../";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body id="top" class="class">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="../index.html">Home</a>
|
28
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="file-metadata">
|
47
|
-
<nav id="file-list-section" class="section">
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
49
|
-
<ul>
|
50
|
-
<li>lib/flickrie/video.rb
|
51
|
-
</ul>
|
52
|
-
</nav>
|
53
|
-
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<div id="class-metadata">
|
58
|
-
|
59
|
-
<nav id="parent-class-section" class="section">
|
60
|
-
<h3 class="section-header">Parent</h3>
|
61
|
-
|
62
|
-
<p class="link">Object
|
63
|
-
|
64
|
-
</nav>
|
65
|
-
|
66
|
-
<!-- Included Modules -->
|
67
|
-
<nav id="includes-section" class="section">
|
68
|
-
<h3 class="section-header">Included Modules</h3>
|
69
|
-
|
70
|
-
<ul class="link-list">
|
71
|
-
|
72
|
-
|
73
|
-
<li><a class="include" href="Media.html">Flickrie::Media</a>
|
74
|
-
|
75
|
-
|
76
|
-
</ul>
|
77
|
-
</nav>
|
78
|
-
|
79
|
-
<!-- Method Quickref -->
|
80
|
-
<nav id="method-list-section" class="section">
|
81
|
-
<h3 class="section-header">Methods</h3>
|
82
|
-
|
83
|
-
<ul class="link-list">
|
84
|
-
|
85
|
-
<li><a href="#method-c-new">::new</a>
|
86
|
-
|
87
|
-
<li><a href="#method-i-download_url">#download_url</a>
|
88
|
-
|
89
|
-
<li><a href="#method-i-duration">#duration</a>
|
90
|
-
|
91
|
-
<li><a href="#method-i-failed-3F">#failed?</a>
|
92
|
-
|
93
|
-
<li><a href="#method-i-get_info">#get_info</a>
|
94
|
-
|
95
|
-
<li><a href="#method-i-get_sizes">#get_sizes</a>
|
96
|
-
|
97
|
-
<li><a href="#method-i-height">#height</a>
|
98
|
-
|
99
|
-
<li><a href="#method-i-mobile_download_url">#mobile_download_url</a>
|
100
|
-
|
101
|
-
<li><a href="#method-i-pending-3F">#pending?</a>
|
102
|
-
|
103
|
-
<li><a href="#method-i-ready-3F">#ready?</a>
|
104
|
-
|
105
|
-
<li><a href="#method-i-source_url">#source_url</a>
|
106
|
-
|
107
|
-
<li><a href="#method-i-width">#width</a>
|
108
|
-
|
109
|
-
</ul>
|
110
|
-
</nav>
|
111
|
-
|
112
|
-
</div>
|
113
|
-
|
114
|
-
<div id="project-metadata">
|
115
|
-
<nav id="fileindex-section" class="section project-section">
|
116
|
-
<h3 class="section-header">Pages</h3>
|
117
|
-
|
118
|
-
<ul>
|
119
|
-
|
120
|
-
<li class="file"><a href="../Gemfile.html">Gemfile</a>
|
121
|
-
|
122
|
-
<li class="file"><a href="../LICENSE.html">LICENSE</a>
|
123
|
-
|
124
|
-
<li class="file"><a href="../Rakefile.html">Rakefile</a>
|
125
|
-
|
126
|
-
</ul>
|
127
|
-
</nav>
|
128
|
-
|
129
|
-
<nav id="classindex-section" class="section project-section">
|
130
|
-
<h3 class="section-header">Class and Module Index</h3>
|
131
|
-
|
132
|
-
<ul class="link-list">
|
133
|
-
|
134
|
-
<li><a href="../Flickrie.html">Flickrie</a>
|
135
|
-
|
136
|
-
<li><a href="../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
|
137
|
-
|
138
|
-
<li><a href="../Flickrie/Client.html">Flickrie::Client</a>
|
139
|
-
|
140
|
-
<li><a href="../Flickrie/Error.html">Flickrie::Error</a>
|
141
|
-
|
142
|
-
<li><a href="../Flickrie/Instance.html">Flickrie::Instance</a>
|
143
|
-
|
144
|
-
<li><a href="../Flickrie/License.html">Flickrie::License</a>
|
145
|
-
|
146
|
-
<li><a href="../Flickrie/Location.html">Flickrie::Location</a>
|
147
|
-
|
148
|
-
<li><a href="../Flickrie/Media.html">Flickrie::Media</a>
|
149
|
-
|
150
|
-
<li><a href="../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
|
151
|
-
|
152
|
-
<li><a href="../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
|
153
|
-
|
154
|
-
<li><a href="../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
|
155
|
-
|
156
|
-
<li><a href="../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
|
157
|
-
|
158
|
-
<li><a href="../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
|
159
|
-
|
160
|
-
<li><a href="../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
|
161
|
-
|
162
|
-
<li><a href="../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
|
163
|
-
|
164
|
-
<li><a href="../Flickrie/OAuth.html">Flickrie::OAuth</a>
|
165
|
-
|
166
|
-
<li><a href="../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
|
167
|
-
|
168
|
-
<li><a href="../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
|
169
|
-
|
170
|
-
<li><a href="../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
|
171
|
-
|
172
|
-
<li><a href="../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
|
173
|
-
|
174
|
-
<li><a href="../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
|
175
|
-
|
176
|
-
<li><a href="../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
|
177
|
-
|
178
|
-
<li><a href="../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
|
179
|
-
|
180
|
-
<li><a href="../Flickrie/Photo.html">Flickrie::Photo</a>
|
181
|
-
|
182
|
-
<li><a href="../Flickrie/Set.html">Flickrie::Set</a>
|
183
|
-
|
184
|
-
<li><a href="../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
|
185
|
-
|
186
|
-
<li><a href="../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
|
187
|
-
|
188
|
-
<li><a href="../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
|
189
|
-
|
190
|
-
<li><a href="../Flickrie/User.html">Flickrie::User</a>
|
191
|
-
|
192
|
-
<li><a href="../Flickrie/Video.html">Flickrie::Video</a>
|
193
|
-
|
194
|
-
</ul>
|
195
|
-
</nav>
|
196
|
-
|
197
|
-
</div>
|
198
|
-
</nav>
|
199
|
-
|
200
|
-
<div id="documentation">
|
201
|
-
<h1 class="class">class Flickrie::Video</h1>
|
202
|
-
|
203
|
-
<div id="description" class="description">
|
204
|
-
|
205
|
-
</div><!-- description -->
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
<!-- Methods -->
|
220
|
-
|
221
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
222
|
-
<h3 class="section-header">Public Class Methods</h3>
|
223
|
-
|
224
|
-
|
225
|
-
<div id="method-c-new" class="method-detail ">
|
226
|
-
|
227
|
-
<div class="method-heading">
|
228
|
-
<span class="method-name">new</span><span
|
229
|
-
class="method-args">(info = {})</span>
|
230
|
-
<span class="method-click-advice">click to toggle source</span>
|
231
|
-
</div>
|
232
|
-
|
233
|
-
|
234
|
-
<div class="method-description">
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
<div class="method-source-code" id="new-source">
|
241
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 44</span>
|
242
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">info</span> = {})
|
243
|
-
<span class="ruby-keyword">super</span>
|
244
|
-
<span class="ruby-ivar">@video</span> = {}
|
245
|
-
<span class="ruby-keyword">end</span></pre>
|
246
|
-
</div><!-- new-source -->
|
247
|
-
|
248
|
-
</div>
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
</div><!-- new-method -->
|
254
|
-
|
255
|
-
|
256
|
-
</section><!-- public-class-method-details -->
|
257
|
-
|
258
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
259
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
260
|
-
|
261
|
-
|
262
|
-
<div id="method-i-download_url" class="method-detail ">
|
263
|
-
|
264
|
-
<div class="method-heading">
|
265
|
-
<span class="method-name">download_url</span><span
|
266
|
-
class="method-args">()</span>
|
267
|
-
<span class="method-click-advice">click to toggle source</span>
|
268
|
-
</div>
|
269
|
-
|
270
|
-
|
271
|
-
<div class="method-description">
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
<div class="method-source-code" id="download_url-source">
|
278
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 15</span>
|
279
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">download_url</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'download_url'</span>] <span class="ruby-keyword">end</span></pre>
|
280
|
-
</div><!-- download_url-source -->
|
281
|
-
|
282
|
-
</div>
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
</div><!-- download_url-method -->
|
288
|
-
|
289
|
-
|
290
|
-
<div id="method-i-duration" class="method-detail ">
|
291
|
-
|
292
|
-
<div class="method-heading">
|
293
|
-
<span class="method-name">duration</span><span
|
294
|
-
class="method-args">()</span>
|
295
|
-
<span class="method-click-advice">click to toggle source</span>
|
296
|
-
</div>
|
297
|
-
|
298
|
-
|
299
|
-
<div class="method-description">
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
<div class="method-source-code" id="duration-source">
|
306
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 9</span>
|
307
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">duration</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'duration'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'duration'</span>] <span class="ruby-keyword">end</span></pre>
|
308
|
-
</div><!-- duration-source -->
|
309
|
-
|
310
|
-
</div>
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
</div><!-- duration-method -->
|
316
|
-
|
317
|
-
|
318
|
-
<div id="method-i-failed-3F" class="method-detail ">
|
319
|
-
|
320
|
-
<div class="method-heading">
|
321
|
-
<span class="method-name">failed?</span><span
|
322
|
-
class="method-args">()</span>
|
323
|
-
<span class="method-click-advice">click to toggle source</span>
|
324
|
-
</div>
|
325
|
-
|
326
|
-
|
327
|
-
<div class="method-description">
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
<div class="method-source-code" id="failed-3F-source">
|
334
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 6</span>
|
335
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">failed?</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'failed'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'failed'</span>] <span class="ruby-keyword">end</span></pre>
|
336
|
-
</div><!-- failed-3F-source -->
|
337
|
-
|
338
|
-
</div>
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
</div><!-- failed-3F-method -->
|
344
|
-
|
345
|
-
|
346
|
-
<div id="method-i-get_info" class="method-detail ">
|
347
|
-
|
348
|
-
<div class="method-heading">
|
349
|
-
<span class="method-name">get_info</span><span
|
350
|
-
class="method-args">(info = nil)</span>
|
351
|
-
<span class="method-click-advice">click to toggle source</span>
|
352
|
-
</div>
|
353
|
-
|
354
|
-
|
355
|
-
<div class="method-description">
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
<div class="method-source-code" id="get_info-source">
|
362
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 35</span>
|
363
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_info</span>(<span class="ruby-identifier">info</span> = <span class="ruby-keyword">nil</span>)
|
364
|
-
<span class="ruby-keyword">super</span>
|
365
|
-
<span class="ruby-ivar">@video</span> = <span class="ruby-ivar">@info</span>[<span class="ruby-string">'video'</span>]
|
366
|
-
|
367
|
-
<span class="ruby-keyword">self</span>
|
368
|
-
<span class="ruby-keyword">end</span></pre>
|
369
|
-
</div><!-- get_info-source -->
|
370
|
-
|
371
|
-
</div>
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
</div><!-- get_info-method -->
|
377
|
-
|
378
|
-
|
379
|
-
<div id="method-i-get_sizes" class="method-detail ">
|
380
|
-
|
381
|
-
<div class="method-heading">
|
382
|
-
<span class="method-name">get_sizes</span><span
|
383
|
-
class="method-args">(info = nil)</span>
|
384
|
-
<span class="method-click-advice">click to toggle source</span>
|
385
|
-
</div>
|
386
|
-
|
387
|
-
|
388
|
-
<div class="method-description">
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
<div class="method-source-code" id="get_sizes-source">
|
395
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 18</span>
|
396
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_sizes</span>(<span class="ruby-identifier">info</span> = <span class="ruby-keyword">nil</span>)
|
397
|
-
<span class="ruby-identifier">info</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Flickrie</span>.<span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_media_sizes</span>(<span class="ruby-identifier">id</span>).<span class="ruby-identifier">body</span>[<span class="ruby-string">'sizes'</span>]
|
398
|
-
<span class="ruby-ivar">@info</span>[<span class="ruby-string">'usage'</span>].<span class="ruby-identifier">update</span> <span class="ruby-string">'canblog'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">info</span>[<span class="ruby-string">'canblog'</span>],
|
399
|
-
<span class="ruby-string">'canprint'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">info</span>[<span class="ruby-string">'canprint'</span>],
|
400
|
-
<span class="ruby-string">'candownload'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">info</span>[<span class="ruby-string">'candownload'</span>]
|
401
|
-
<span class="ruby-identifier">info</span>[<span class="ruby-string">'size'</span>].<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hash</span><span class="ruby-operator">|</span>
|
402
|
-
<span class="ruby-keyword">case</span> <span class="ruby-identifier">hash</span>[<span class="ruby-string">'label'</span>]
|
403
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">'Video Player'</span> <span class="ruby-keyword">then</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'source_url'</span>] = <span class="ruby-identifier">hash</span>[<span class="ruby-string">'source'</span>]
|
404
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">'Site MP4'</span> <span class="ruby-keyword">then</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'download_url'</span>] = <span class="ruby-identifier">hash</span>[<span class="ruby-string">'source'</span>]
|
405
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">'Mobile MP4'</span> <span class="ruby-keyword">then</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'mobile_download_url'</span>] = <span class="ruby-identifier">hash</span>[<span class="ruby-string">'source'</span>]
|
406
|
-
<span class="ruby-keyword">end</span>
|
407
|
-
<span class="ruby-keyword">end</span>
|
408
|
-
|
409
|
-
<span class="ruby-keyword">self</span>
|
410
|
-
<span class="ruby-keyword">end</span></pre>
|
411
|
-
</div><!-- get_sizes-source -->
|
412
|
-
|
413
|
-
</div>
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
</div><!-- get_sizes-method -->
|
419
|
-
|
420
|
-
|
421
|
-
<div id="method-i-height" class="method-detail ">
|
422
|
-
|
423
|
-
<div class="method-heading">
|
424
|
-
<span class="method-name">height</span><span
|
425
|
-
class="method-args">()</span>
|
426
|
-
<span class="method-click-advice">click to toggle source</span>
|
427
|
-
</div>
|
428
|
-
|
429
|
-
|
430
|
-
<div class="method-description">
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
<div class="method-source-code" id="height-source">
|
437
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 12</span>
|
438
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">height</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'height'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'height'</span>] <span class="ruby-keyword">end</span></pre>
|
439
|
-
</div><!-- height-source -->
|
440
|
-
|
441
|
-
</div>
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
</div><!-- height-method -->
|
447
|
-
|
448
|
-
|
449
|
-
<div id="method-i-mobile_download_url" class="method-detail ">
|
450
|
-
|
451
|
-
<div class="method-heading">
|
452
|
-
<span class="method-name">mobile_download_url</span><span
|
453
|
-
class="method-args">()</span>
|
454
|
-
<span class="method-click-advice">click to toggle source</span>
|
455
|
-
</div>
|
456
|
-
|
457
|
-
|
458
|
-
<div class="method-description">
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
<div class="method-source-code" id="mobile_download_url-source">
|
465
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 16</span>
|
466
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">mobile_download_url</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'mobile_download_url'</span>] <span class="ruby-keyword">end</span></pre>
|
467
|
-
</div><!-- mobile_download_url-source -->
|
468
|
-
|
469
|
-
</div>
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
</div><!-- mobile_download_url-method -->
|
475
|
-
|
476
|
-
|
477
|
-
<div id="method-i-pending-3F" class="method-detail ">
|
478
|
-
|
479
|
-
<div class="method-heading">
|
480
|
-
<span class="method-name">pending?</span><span
|
481
|
-
class="method-args">()</span>
|
482
|
-
<span class="method-click-advice">click to toggle source</span>
|
483
|
-
</div>
|
484
|
-
|
485
|
-
|
486
|
-
<div class="method-description">
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
<div class="method-source-code" id="pending-3F-source">
|
493
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 7</span>
|
494
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">pending?</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'pending'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'pending'</span>] <span class="ruby-keyword">end</span></pre>
|
495
|
-
</div><!-- pending-3F-source -->
|
496
|
-
|
497
|
-
</div>
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
</div><!-- pending-3F-method -->
|
503
|
-
|
504
|
-
|
505
|
-
<div id="method-i-ready-3F" class="method-detail ">
|
506
|
-
|
507
|
-
<div class="method-heading">
|
508
|
-
<span class="method-name">ready?</span><span
|
509
|
-
class="method-args">()</span>
|
510
|
-
<span class="method-click-advice">click to toggle source</span>
|
511
|
-
</div>
|
512
|
-
|
513
|
-
|
514
|
-
<div class="method-description">
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
<div class="method-source-code" id="ready-3F-source">
|
521
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 5</span>
|
522
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">ready?</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'ready'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'ready'</span>] <span class="ruby-keyword">end</span></pre>
|
523
|
-
</div><!-- ready-3F-source -->
|
524
|
-
|
525
|
-
</div>
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
</div><!-- ready-3F-method -->
|
531
|
-
|
532
|
-
|
533
|
-
<div id="method-i-source_url" class="method-detail ">
|
534
|
-
|
535
|
-
<div class="method-heading">
|
536
|
-
<span class="method-name">source_url</span><span
|
537
|
-
class="method-args">()</span>
|
538
|
-
<span class="method-click-advice">click to toggle source</span>
|
539
|
-
</div>
|
540
|
-
|
541
|
-
|
542
|
-
<div class="method-description">
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
<div class="method-source-code" id="source_url-source">
|
549
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 14</span>
|
550
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">source_url</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'source_url'</span>] <span class="ruby-keyword">end</span></pre>
|
551
|
-
</div><!-- source_url-source -->
|
552
|
-
|
553
|
-
</div>
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
</div><!-- source_url-method -->
|
559
|
-
|
560
|
-
|
561
|
-
<div id="method-i-width" class="method-detail ">
|
562
|
-
|
563
|
-
<div class="method-heading">
|
564
|
-
<span class="method-name">width</span><span
|
565
|
-
class="method-args">()</span>
|
566
|
-
<span class="method-click-advice">click to toggle source</span>
|
567
|
-
</div>
|
568
|
-
|
569
|
-
|
570
|
-
<div class="method-description">
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
<div class="method-source-code" id="width-source">
|
577
|
-
<pre><span class="ruby-comment"># File lib/flickrie/video.rb, line 11</span>
|
578
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">width</span>; <span class="ruby-ivar">@video</span>[<span class="ruby-string">'width'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@video</span>[<span class="ruby-string">'width'</span>] <span class="ruby-keyword">end</span></pre>
|
579
|
-
</div><!-- width-source -->
|
580
|
-
|
581
|
-
</div>
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
</div><!-- width-method -->
|
587
|
-
|
588
|
-
|
589
|
-
</section><!-- public-instance-method-details -->
|
590
|
-
|
591
|
-
</section><!-- 5Buntitled-5D -->
|
592
|
-
|
593
|
-
</div><!-- documentation -->
|
594
|
-
|
595
|
-
|
596
|
-
<footer id="validator-badges">
|
597
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
598
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
599
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
600
|
-
</footer>
|
601
|
-
|