flickrie 0.4.1 → 0.5.0

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