flickrie 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/CHANGELOG.md +4 -0
  2. data/lib/flickrie/version.rb +1 -1
  3. metadata +9 -78
  4. data/doc/Flickrie.html +0 -364
  5. data/doc/Flickrie/.DS_Store +0 -0
  6. data/doc/Flickrie/ApiMethods.html +0 -1692
  7. data/doc/Flickrie/Client.html +0 -914
  8. data/doc/Flickrie/Error.html +0 -187
  9. data/doc/Flickrie/Instance.html +0 -344
  10. data/doc/Flickrie/License.html +0 -288
  11. data/doc/Flickrie/Location.html +0 -233
  12. data/doc/Flickrie/Media.html +0 -1689
  13. data/doc/Flickrie/Media/ClassMethods.html +0 -509
  14. data/doc/Flickrie/Media/Count.html +0 -314
  15. data/doc/Flickrie/Media/Exif.html +0 -276
  16. data/doc/Flickrie/Media/Note.html +0 -362
  17. data/doc/Flickrie/Media/Tag.html +0 -425
  18. data/doc/Flickrie/Media/Ticket.html +0 -425
  19. data/doc/Flickrie/Media/Visibility.html +0 -359
  20. data/doc/Flickrie/MediaCount.html +0 -314
  21. data/doc/Flickrie/OAuth.html +0 -334
  22. data/doc/Flickrie/OAuth/AccessToken.html +0 -187
  23. data/doc/Flickrie/OAuth/Error.html +0 -187
  24. data/doc/Flickrie/OAuth/ParseResponseParams.html +0 -187
  25. data/doc/Flickrie/OAuth/RequestToken.html +0 -241
  26. data/doc/Flickrie/OAuth/StatusCheck.html +0 -235
  27. data/doc/Flickrie/OAuth/Token.html +0 -227
  28. data/doc/Flickrie/OAuthStatusCheck.html +0 -236
  29. data/doc/Flickrie/Photo.html +0 -913
  30. data/doc/Flickrie/Set.html +0 -998
  31. data/doc/Flickrie/StatusCheck.html +0 -235
  32. data/doc/Flickrie/UploadClient.html +0 -284
  33. data/doc/Flickrie/UploadStatusCheck.html +0 -235
  34. data/doc/Flickrie/User.html +0 -875
  35. data/doc/Flickrie/Video.html +0 -601
  36. data/doc/Gemfile.html +0 -163
  37. data/doc/LICENSE.html +0 -165
  38. data/doc/Rakefile.html +0 -168
  39. data/doc/created.rid +0 -25
  40. data/doc/images/add.png +0 -0
  41. data/doc/images/brick.png +0 -0
  42. data/doc/images/brick_link.png +0 -0
  43. data/doc/images/bug.png +0 -0
  44. data/doc/images/bullet_black.png +0 -0
  45. data/doc/images/bullet_toggle_minus.png +0 -0
  46. data/doc/images/bullet_toggle_plus.png +0 -0
  47. data/doc/images/date.png +0 -0
  48. data/doc/images/delete.png +0 -0
  49. data/doc/images/find.png +0 -0
  50. data/doc/images/loadingAnimation.gif +0 -0
  51. data/doc/images/macFFBgHack.png +0 -0
  52. data/doc/images/package.png +0 -0
  53. data/doc/images/page_green.png +0 -0
  54. data/doc/images/page_white_text.png +0 -0
  55. data/doc/images/page_white_width.png +0 -0
  56. data/doc/images/plugin.png +0 -0
  57. data/doc/images/ruby.png +0 -0
  58. data/doc/images/tag_blue.png +0 -0
  59. data/doc/images/tag_green.png +0 -0
  60. data/doc/images/transparent.png +0 -0
  61. data/doc/images/wrench.png +0 -0
  62. data/doc/images/wrench_orange.png +0 -0
  63. data/doc/images/zoom.png +0 -0
  64. data/doc/index.html +0 -140
  65. data/doc/js/darkfish.js +0 -153
  66. data/doc/js/jquery.js +0 -18
  67. data/doc/js/navigation.js +0 -142
  68. data/doc/js/search.js +0 -94
  69. data/doc/js/search_index.js +0 -1
  70. data/doc/js/searcher.js +0 -228
  71. data/doc/rdoc.css +0 -543
  72. data/doc/table_of_contents.html +0 -642
@@ -1,913 +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::Photo - 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/photo.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-available_sizes">#available_sizes</a>
88
-
89
- <li><a href="#method-i-get_sizes">#get_sizes</a>
90
-
91
- <li><a href="#method-i-height">#height</a>
92
-
93
- <li><a href="#method-i-large">#large</a>
94
-
95
- <li><a href="#method-i-large-21">#large!</a>
96
-
97
- <li><a href="#method-i-largest">#largest</a>
98
-
99
- <li><a href="#method-i-largest-21">#largest!</a>
100
-
101
- <li><a href="#method-i-medium">#medium</a>
102
-
103
- <li><a href="#method-i-medium-21">#medium!</a>
104
-
105
- <li><a href="#method-i-original">#original</a>
106
-
107
- <li><a href="#method-i-original-21">#original!</a>
108
-
109
- <li><a href="#method-i-rotation">#rotation</a>
110
-
111
- <li><a href="#method-i-small">#small</a>
112
-
113
- <li><a href="#method-i-small-21">#small!</a>
114
-
115
- <li><a href="#method-i-source_url">#source_url</a>
116
-
117
- <li><a href="#method-i-square">#square</a>
118
-
119
- <li><a href="#method-i-square-21">#square!</a>
120
-
121
- <li><a href="#method-i-thumbnail">#thumbnail</a>
122
-
123
- <li><a href="#method-i-thumbnail-21">#thumbnail!</a>
124
-
125
- <li><a href="#method-i-width">#width</a>
126
-
127
- </ul>
128
- </nav>
129
-
130
- </div>
131
-
132
- <div id="project-metadata">
133
- <nav id="fileindex-section" class="section project-section">
134
- <h3 class="section-header">Pages</h3>
135
-
136
- <ul>
137
-
138
- <li class="file"><a href="../Gemfile.html">Gemfile</a>
139
-
140
- <li class="file"><a href="../LICENSE.html">LICENSE</a>
141
-
142
- <li class="file"><a href="../Rakefile.html">Rakefile</a>
143
-
144
- </ul>
145
- </nav>
146
-
147
- <nav id="classindex-section" class="section project-section">
148
- <h3 class="section-header">Class and Module Index</h3>
149
-
150
- <ul class="link-list">
151
-
152
- <li><a href="../Flickrie.html">Flickrie</a>
153
-
154
- <li><a href="../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
155
-
156
- <li><a href="../Flickrie/Client.html">Flickrie::Client</a>
157
-
158
- <li><a href="../Flickrie/Error.html">Flickrie::Error</a>
159
-
160
- <li><a href="../Flickrie/Instance.html">Flickrie::Instance</a>
161
-
162
- <li><a href="../Flickrie/License.html">Flickrie::License</a>
163
-
164
- <li><a href="../Flickrie/Location.html">Flickrie::Location</a>
165
-
166
- <li><a href="../Flickrie/Media.html">Flickrie::Media</a>
167
-
168
- <li><a href="../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
169
-
170
- <li><a href="../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
171
-
172
- <li><a href="../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
173
-
174
- <li><a href="../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
175
-
176
- <li><a href="../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
177
-
178
- <li><a href="../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
179
-
180
- <li><a href="../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
181
-
182
- <li><a href="../Flickrie/OAuth.html">Flickrie::OAuth</a>
183
-
184
- <li><a href="../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
185
-
186
- <li><a href="../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
187
-
188
- <li><a href="../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
189
-
190
- <li><a href="../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
191
-
192
- <li><a href="../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
193
-
194
- <li><a href="../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
195
-
196
- <li><a href="../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
197
-
198
- <li><a href="../Flickrie/Photo.html">Flickrie::Photo</a>
199
-
200
- <li><a href="../Flickrie/Set.html">Flickrie::Set</a>
201
-
202
- <li><a href="../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
203
-
204
- <li><a href="../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
205
-
206
- <li><a href="../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
207
-
208
- <li><a href="../Flickrie/User.html">Flickrie::User</a>
209
-
210
- <li><a href="../Flickrie/Video.html">Flickrie::Video</a>
211
-
212
- </ul>
213
- </nav>
214
-
215
- </div>
216
- </nav>
217
-
218
- <div id="documentation">
219
- <h1 class="class">class Flickrie::Photo</h1>
220
-
221
- <div id="description" class="description">
222
-
223
- </div><!-- description -->
224
-
225
-
226
-
227
-
228
- <section id="5Buntitled-5D" class="documentation-section">
229
-
230
-
231
-
232
-
233
-
234
- <!-- Constants -->
235
- <section id="constants-list" class="section">
236
- <h3 class="section-header">Constants</h3>
237
- <dl>
238
-
239
- <dt id="SIZES">SIZES
240
-
241
- <dd class="description">
242
-
243
-
244
- </dl>
245
- </section>
246
-
247
-
248
-
249
- <!-- Attributes -->
250
- <section id="attribute-method-details" class="method-section section">
251
- <h3 class="section-header">Attributes</h3>
252
-
253
-
254
- <div id="attribute-i-size" class="method-detail">
255
- <div class="method-heading attribute-method-heading">
256
- <span class="method-name">size</span><span
257
- class="attribute-access-type">[R]</span>
258
- </div>
259
-
260
- <div class="method-description">
261
-
262
-
263
-
264
- </div>
265
- </div>
266
-
267
- </section><!-- attribute-method-details -->
268
-
269
-
270
- <!-- Methods -->
271
-
272
- <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
273
- <h3 class="section-header">Public Class Methods</h3>
274
-
275
-
276
- <div id="method-c-new" class="method-detail ">
277
-
278
- <div class="method-heading">
279
- <span class="method-name">new</span><span
280
- class="method-args">(info = {}, size = nil)</span>
281
- <span class="method-click-advice">click to toggle source</span>
282
- </div>
283
-
284
-
285
- <div class="method-description">
286
-
287
-
288
-
289
-
290
-
291
- <div class="method-source-code" id="new-source">
292
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 96</span>
293
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">info</span> = {}, <span class="ruby-identifier">size</span> = <span class="ruby-keyword">nil</span>)
294
- <span class="ruby-keyword">super</span>(<span class="ruby-identifier">info</span>)
295
- <span class="ruby-ivar">@size</span> = <span class="ruby-identifier">size</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">largest_size</span>
296
- <span class="ruby-keyword">end</span></pre>
297
- </div><!-- new-source -->
298
-
299
- </div>
300
-
301
-
302
-
303
-
304
- </div><!-- new-method -->
305
-
306
-
307
- </section><!-- public-class-method-details -->
308
-
309
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
310
- <h3 class="section-header">Public Instance Methods</h3>
311
-
312
-
313
- <div id="method-i-available_sizes" class="method-detail ">
314
-
315
- <div class="method-heading">
316
- <span class="method-name">available_sizes</span><span
317
- class="method-args">()</span>
318
- <span class="method-click-advice">click to toggle source</span>
319
- </div>
320
-
321
-
322
- <div class="method-description">
323
-
324
-
325
-
326
-
327
-
328
- <div class="method-source-code" id="available_sizes-source">
329
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 54</span>
330
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">available_sizes</span>
331
- <span class="ruby-constant">SIZES</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">_</span>, <span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;url_#{s}&quot;</span>] }.<span class="ruby-identifier">keys</span>
332
- <span class="ruby-keyword">end</span></pre>
333
- </div><!-- available_sizes-source -->
334
-
335
- </div>
336
-
337
-
338
-
339
-
340
- </div><!-- available_sizes-method -->
341
-
342
-
343
- <div id="method-i-get_sizes" class="method-detail ">
344
-
345
- <div class="method-heading">
346
- <span class="method-name">get_sizes</span><span
347
- class="method-args">(info = nil)</span>
348
- <span class="method-click-advice">click to toggle source</span>
349
- </div>
350
-
351
-
352
- <div class="method-description">
353
-
354
-
355
-
356
-
357
-
358
- <div class="method-source-code" id="get_sizes-source">
359
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 65</span>
360
- <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>)
361
- <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>]
362
- <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">&gt;</span> <span class="ruby-identifier">info</span>[<span class="ruby-string">'canblog'</span>],
363
- <span class="ruby-string">'canprint'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">info</span>[<span class="ruby-string">'canprint'</span>],
364
- <span class="ruby-string">'candownload'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">info</span>[<span class="ruby-string">'candownload'</span>]
365
- <span class="ruby-identifier">flickr_sizes</span> = {
366
- <span class="ruby-string">'Square'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'sq'</span>,
367
- <span class="ruby-string">'Large Square'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'q'</span>,
368
- <span class="ruby-string">'Thumbnail'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'t'</span>,
369
- <span class="ruby-string">'Small'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'s'</span>,
370
- <span class="ruby-string">'Small 320'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'n'</span>,
371
- <span class="ruby-string">'Medium'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'m'</span>,
372
- <span class="ruby-string">'Medium 640'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'z'</span>,
373
- <span class="ruby-string">'Medium 800'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'c'</span>,
374
- <span class="ruby-string">'Large'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'l'</span>,
375
- <span class="ruby-string">'Original'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'o'</span>
376
- }
377
- <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">size_info</span><span class="ruby-operator">|</span>
378
- <span class="ruby-identifier">size_abbr</span> = <span class="ruby-identifier">flickr_sizes</span>[<span class="ruby-identifier">size_info</span>[<span class="ruby-string">'label'</span>]]
379
- <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;width_#{size_abbr}&quot;</span>] = <span class="ruby-identifier">size_info</span>[<span class="ruby-string">'width'</span>]
380
- <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;height_#{size_abbr}&quot;</span>] = <span class="ruby-identifier">size_info</span>[<span class="ruby-string">'height'</span>]
381
- <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;url_#{size_abbr}&quot;</span>] = <span class="ruby-identifier">size_info</span>[<span class="ruby-string">'source'</span>]
382
- <span class="ruby-keyword">end</span>
383
-
384
- <span class="ruby-ivar">@size</span> = <span class="ruby-identifier">largest_size</span>
385
- <span class="ruby-keyword">self</span>
386
- <span class="ruby-keyword">end</span></pre>
387
- </div><!-- get_sizes-source -->
388
-
389
- </div>
390
-
391
-
392
-
393
-
394
- </div><!-- get_sizes-method -->
395
-
396
-
397
- <div id="method-i-height" class="method-detail ">
398
-
399
- <div class="method-heading">
400
- <span class="method-name">height</span><span
401
- class="method-args">()</span>
402
- <span class="method-click-advice">click to toggle source</span>
403
- </div>
404
-
405
-
406
- <div class="method-description">
407
-
408
-
409
-
410
-
411
-
412
- <div class="method-source-code" id="height-source">
413
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 59</span>
414
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">height</span>; <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;height_#{size_abbr}&quot;</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;height_#{size_abbr}&quot;</span>] <span class="ruby-keyword">end</span></pre>
415
- </div><!-- height-source -->
416
-
417
- </div>
418
-
419
-
420
-
421
-
422
- </div><!-- height-method -->
423
-
424
-
425
- <div id="method-i-large" class="method-detail ">
426
-
427
- <div class="method-heading">
428
- <span class="method-name">large</span><span
429
- class="method-args">(number)</span>
430
- <span class="method-click-advice">click to toggle source</span>
431
- </div>
432
-
433
-
434
- <div class="method-description">
435
-
436
-
437
-
438
-
439
-
440
- <div class="method-source-code" id="large-source">
441
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 31</span>
442
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">large</span>(<span class="ruby-identifier">number</span>); <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">large!</span>(<span class="ruby-identifier">number</span>) <span class="ruby-keyword">end</span></pre>
443
- </div><!-- large-source -->
444
-
445
- </div>
446
-
447
-
448
-
449
-
450
- </div><!-- large-method -->
451
-
452
-
453
- <div id="method-i-large-21" class="method-detail ">
454
-
455
- <div class="method-heading">
456
- <span class="method-name">large!</span><span
457
- class="method-args">(number)</span>
458
- <span class="method-click-advice">click to toggle source</span>
459
- </div>
460
-
461
-
462
- <div class="method-description">
463
-
464
-
465
-
466
-
467
-
468
- <div class="method-source-code" id="large-21-source">
469
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 24</span>
470
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">large!</span>(<span class="ruby-identifier">number</span>); <span class="ruby-ivar">@size</span> = <span class="ruby-node">&quot;Large #{number}&quot;</span>; <span class="ruby-keyword">self</span> <span class="ruby-keyword">end</span></pre>
471
- </div><!-- large-21-source -->
472
-
473
- </div>
474
-
475
-
476
-
477
-
478
- </div><!-- large-21-method -->
479
-
480
-
481
- <div id="method-i-largest" class="method-detail ">
482
-
483
- <div class="method-heading">
484
- <span class="method-name">largest</span><span
485
- class="method-args">()</span>
486
- <span class="method-click-advice">click to toggle source</span>
487
- </div>
488
-
489
-
490
- <div class="method-description">
491
-
492
-
493
-
494
-
495
-
496
- <div class="method-source-code" id="largest-source">
497
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 52</span>
498
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">largest</span>; <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">largest!</span> <span class="ruby-keyword">end</span></pre>
499
- </div><!-- largest-source -->
500
-
501
- </div>
502
-
503
-
504
-
505
-
506
- </div><!-- largest-method -->
507
-
508
-
509
- <div id="method-i-largest-21" class="method-detail ">
510
-
511
- <div class="method-heading">
512
- <span class="method-name">largest!</span><span
513
- class="method-args">()</span>
514
- <span class="method-click-advice">click to toggle source</span>
515
- </div>
516
-
517
-
518
- <div class="method-description">
519
-
520
-
521
-
522
-
523
-
524
- <div class="method-source-code" id="largest-21-source">
525
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 51</span>
526
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">largest!</span>; <span class="ruby-ivar">@size</span> = <span class="ruby-identifier">largest_size</span>; <span class="ruby-keyword">self</span> <span class="ruby-keyword">end</span></pre>
527
- </div><!-- largest-21-source -->
528
-
529
- </div>
530
-
531
-
532
-
533
-
534
- </div><!-- largest-21-method -->
535
-
536
-
537
- <div id="method-i-medium" class="method-detail ">
538
-
539
- <div class="method-heading">
540
- <span class="method-name">medium</span><span
541
- class="method-args">(number)</span>
542
- <span class="method-click-advice">click to toggle source</span>
543
- </div>
544
-
545
-
546
- <div class="method-description">
547
-
548
-
549
-
550
-
551
-
552
- <div class="method-source-code" id="medium-source">
553
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 30</span>
554
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">medium</span>(<span class="ruby-identifier">number</span>); <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">medium!</span>(<span class="ruby-identifier">number</span>) <span class="ruby-keyword">end</span></pre>
555
- </div><!-- medium-source -->
556
-
557
- </div>
558
-
559
-
560
-
561
-
562
- </div><!-- medium-method -->
563
-
564
-
565
- <div id="method-i-medium-21" class="method-detail ">
566
-
567
- <div class="method-heading">
568
- <span class="method-name">medium!</span><span
569
- class="method-args">(number)</span>
570
- <span class="method-click-advice">click to toggle source</span>
571
- </div>
572
-
573
-
574
- <div class="method-description">
575
-
576
-
577
-
578
-
579
-
580
- <div class="method-source-code" id="medium-21-source">
581
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 23</span>
582
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">medium!</span>(<span class="ruby-identifier">number</span>); <span class="ruby-ivar">@size</span> = <span class="ruby-node">&quot;Medium #{number}&quot;</span>; <span class="ruby-keyword">self</span> <span class="ruby-keyword">end</span></pre>
583
- </div><!-- medium-21-source -->
584
-
585
- </div>
586
-
587
-
588
-
589
-
590
- </div><!-- medium-21-method -->
591
-
592
-
593
- <div id="method-i-original" class="method-detail ">
594
-
595
- <div class="method-heading">
596
- <span class="method-name">original</span><span
597
- class="method-args">()</span>
598
- <span class="method-click-advice">click to toggle source</span>
599
- </div>
600
-
601
-
602
- <div class="method-description">
603
-
604
-
605
-
606
-
607
-
608
- <div class="method-source-code" id="original-source">
609
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 32</span>
610
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">original</span>; <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">original!</span> <span class="ruby-keyword">end</span></pre>
611
- </div><!-- original-source -->
612
-
613
- </div>
614
-
615
-
616
-
617
-
618
- </div><!-- original-method -->
619
-
620
-
621
- <div id="method-i-original-21" class="method-detail ">
622
-
623
- <div class="method-heading">
624
- <span class="method-name">original!</span><span
625
- class="method-args">()</span>
626
- <span class="method-click-advice">click to toggle source</span>
627
- </div>
628
-
629
-
630
- <div class="method-description">
631
-
632
-
633
-
634
-
635
-
636
- <div class="method-source-code" id="original-21-source">
637
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 25</span>
638
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">original!</span>; <span class="ruby-ivar">@size</span> = <span class="ruby-string">&quot;Original&quot;</span>; <span class="ruby-keyword">self</span> <span class="ruby-keyword">end</span></pre>
639
- </div><!-- original-21-source -->
640
-
641
- </div>
642
-
643
-
644
-
645
-
646
- </div><!-- original-21-method -->
647
-
648
-
649
- <div id="method-i-rotation" class="method-detail ">
650
-
651
- <div class="method-heading">
652
- <span class="method-name">rotation</span><span
653
- class="method-args">()</span>
654
- <span class="method-click-advice">click to toggle source</span>
655
- </div>
656
-
657
-
658
- <div class="method-description">
659
-
660
-
661
-
662
-
663
-
664
- <div class="method-source-code" id="rotation-source">
665
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 63</span>
666
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">rotation</span>; <span class="ruby-ivar">@info</span>[<span class="ruby-string">'rotation'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@info</span>[<span class="ruby-string">'rotation'</span>] <span class="ruby-keyword">end</span></pre>
667
- </div><!-- rotation-source -->
668
-
669
- </div>
670
-
671
-
672
-
673
-
674
- </div><!-- rotation-method -->
675
-
676
-
677
- <div id="method-i-small" class="method-detail ">
678
-
679
- <div class="method-heading">
680
- <span class="method-name">small</span><span
681
- class="method-args">(number)</span>
682
- <span class="method-click-advice">click to toggle source</span>
683
- </div>
684
-
685
-
686
- <div class="method-description">
687
-
688
-
689
-
690
-
691
-
692
- <div class="method-source-code" id="small-source">
693
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 29</span>
694
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">small</span>(<span class="ruby-identifier">number</span>); <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">small!</span>(<span class="ruby-identifier">number</span>) <span class="ruby-keyword">end</span></pre>
695
- </div><!-- small-source -->
696
-
697
- </div>
698
-
699
-
700
-
701
-
702
- </div><!-- small-method -->
703
-
704
-
705
- <div id="method-i-small-21" class="method-detail ">
706
-
707
- <div class="method-heading">
708
- <span class="method-name">small!</span><span
709
- class="method-args">(number)</span>
710
- <span class="method-click-advice">click to toggle source</span>
711
- </div>
712
-
713
-
714
- <div class="method-description">
715
-
716
-
717
-
718
-
719
-
720
- <div class="method-source-code" id="small-21-source">
721
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 22</span>
722
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">small!</span>(<span class="ruby-identifier">number</span>); <span class="ruby-ivar">@size</span> = <span class="ruby-node">&quot;Small #{number}&quot;</span>; <span class="ruby-keyword">self</span> <span class="ruby-keyword">end</span></pre>
723
- </div><!-- small-21-source -->
724
-
725
- </div>
726
-
727
-
728
-
729
-
730
- </div><!-- small-21-method -->
731
-
732
-
733
- <div id="method-i-source_url" class="method-detail ">
734
-
735
- <div class="method-heading">
736
- <span class="method-name">source_url</span><span
737
- class="method-args">()</span>
738
- <span class="method-click-advice">click to toggle source</span>
739
- </div>
740
-
741
-
742
- <div class="method-description">
743
-
744
-
745
-
746
-
747
-
748
- <div class="method-source-code" id="source_url-source">
749
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 61</span>
750
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">source_url</span>; <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;url_#{size_abbr}&quot;</span>] <span class="ruby-keyword">end</span></pre>
751
- </div><!-- source_url-source -->
752
-
753
- </div>
754
-
755
-
756
-
757
-
758
- </div><!-- source_url-method -->
759
-
760
-
761
- <div id="method-i-square" class="method-detail ">
762
-
763
- <div class="method-heading">
764
- <span class="method-name">square</span><span
765
- class="method-args">(number)</span>
766
- <span class="method-click-advice">click to toggle source</span>
767
- </div>
768
-
769
-
770
- <div class="method-description">
771
-
772
-
773
-
774
-
775
-
776
- <div class="method-source-code" id="square-source">
777
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 27</span>
778
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">square</span>(<span class="ruby-identifier">number</span>); <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">square!</span>(<span class="ruby-identifier">number</span>) <span class="ruby-keyword">end</span></pre>
779
- </div><!-- square-source -->
780
-
781
- </div>
782
-
783
-
784
-
785
-
786
- </div><!-- square-method -->
787
-
788
-
789
- <div id="method-i-square-21" class="method-detail ">
790
-
791
- <div class="method-heading">
792
- <span class="method-name">square!</span><span
793
- class="method-args">(number)</span>
794
- <span class="method-click-advice">click to toggle source</span>
795
- </div>
796
-
797
-
798
- <div class="method-description">
799
-
800
-
801
-
802
-
803
-
804
- <div class="method-source-code" id="square-21-source">
805
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 20</span>
806
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">square!</span>(<span class="ruby-identifier">number</span>); <span class="ruby-ivar">@size</span> = <span class="ruby-node">&quot;Square #{number}&quot;</span>; <span class="ruby-keyword">self</span> <span class="ruby-keyword">end</span></pre>
807
- </div><!-- square-21-source -->
808
-
809
- </div>
810
-
811
-
812
-
813
-
814
- </div><!-- square-21-method -->
815
-
816
-
817
- <div id="method-i-thumbnail" class="method-detail ">
818
-
819
- <div class="method-heading">
820
- <span class="method-name">thumbnail</span><span
821
- class="method-args">()</span>
822
- <span class="method-click-advice">click to toggle source</span>
823
- </div>
824
-
825
-
826
- <div class="method-description">
827
-
828
-
829
-
830
-
831
-
832
- <div class="method-source-code" id="thumbnail-source">
833
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 28</span>
834
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">thumbnail</span>; <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">thumbnail!</span> <span class="ruby-keyword">end</span></pre>
835
- </div><!-- thumbnail-source -->
836
-
837
- </div>
838
-
839
-
840
-
841
-
842
- </div><!-- thumbnail-method -->
843
-
844
-
845
- <div id="method-i-thumbnail-21" class="method-detail ">
846
-
847
- <div class="method-heading">
848
- <span class="method-name">thumbnail!</span><span
849
- class="method-args">()</span>
850
- <span class="method-click-advice">click to toggle source</span>
851
- </div>
852
-
853
-
854
- <div class="method-description">
855
-
856
-
857
-
858
-
859
-
860
- <div class="method-source-code" id="thumbnail-21-source">
861
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 21</span>
862
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">thumbnail!</span>; <span class="ruby-ivar">@size</span> = <span class="ruby-string">&quot;Thumbnail&quot;</span>; <span class="ruby-keyword">self</span> <span class="ruby-keyword">end</span></pre>
863
- </div><!-- thumbnail-21-source -->
864
-
865
- </div>
866
-
867
-
868
-
869
-
870
- </div><!-- thumbnail-21-method -->
871
-
872
-
873
- <div id="method-i-width" class="method-detail ">
874
-
875
- <div class="method-heading">
876
- <span class="method-name">width</span><span
877
- class="method-args">()</span>
878
- <span class="method-click-advice">click to toggle source</span>
879
- </div>
880
-
881
-
882
- <div class="method-description">
883
-
884
-
885
-
886
-
887
-
888
- <div class="method-source-code" id="width-source">
889
- <pre><span class="ruby-comment"># File lib/flickrie/photo.rb, line 58</span>
890
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">width</span>; <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;width_#{size_abbr}&quot;</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@info</span>[<span class="ruby-node">&quot;width_#{size_abbr}&quot;</span>] <span class="ruby-keyword">end</span></pre>
891
- </div><!-- width-source -->
892
-
893
- </div>
894
-
895
-
896
-
897
-
898
- </div><!-- width-method -->
899
-
900
-
901
- </section><!-- public-instance-method-details -->
902
-
903
- </section><!-- 5Buntitled-5D -->
904
-
905
- </div><!-- documentation -->
906
-
907
-
908
- <footer id="validator-badges">
909
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
910
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
911
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
912
- </footer>
913
-