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
Binary file
@@ -0,0 +1,1692 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module Flickrie::ApiMethods - 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="module">
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/api_methods.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+ <!-- Method Quickref -->
62
+ <nav id="method-list-section" class="section">
63
+ <h3 class="section-header">Methods</h3>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="#method-i-add_media_tags">#add_media_tags</a>
68
+
69
+ <li><a href="#method-i-add_photo_tags">#add_photo_tags</a>
70
+
71
+ <li><a href="#method-i-add_video_tags">#add_video_tags</a>
72
+
73
+ <li><a href="#method-i-check_upload_tickets">#check_upload_tickets</a>
74
+
75
+ <li><a href="#method-i-delete_media">#delete_media</a>
76
+
77
+ <li><a href="#method-i-delete_photo">#delete_photo</a>
78
+
79
+ <li><a href="#method-i-delete_video">#delete_video</a>
80
+
81
+ <li><a href="#method-i-find_user_by_email">#find_user_by_email</a>
82
+
83
+ <li><a href="#method-i-find_user_by_username">#find_user_by_username</a>
84
+
85
+ <li><a href="#method-i-get_licenses">#get_licenses</a>
86
+
87
+ <li><a href="#method-i-get_media_context">#get_media_context</a>
88
+
89
+ <li><a href="#method-i-get_media_counts">#get_media_counts</a>
90
+
91
+ <li><a href="#method-i-get_media_info">#get_media_info</a>
92
+
93
+ <li><a href="#method-i-get_photo_context">#get_photo_context</a>
94
+
95
+ <li><a href="#method-i-get_photo_exif">#get_photo_exif</a>
96
+
97
+ <li><a href="#method-i-get_photo_info">#get_photo_info</a>
98
+
99
+ <li><a href="#method-i-get_photo_sizes">#get_photo_sizes</a>
100
+
101
+ <li><a href="#method-i-get_photos_counts">#get_photos_counts</a>
102
+
103
+ <li><a href="#method-i-get_set_info">#get_set_info</a>
104
+
105
+ <li><a href="#method-i-get_user_info">#get_user_info</a>
106
+
107
+ <li><a href="#method-i-get_video_context">#get_video_context</a>
108
+
109
+ <li><a href="#method-i-get_video_exif">#get_video_exif</a>
110
+
111
+ <li><a href="#method-i-get_video_info">#get_video_info</a>
112
+
113
+ <li><a href="#method-i-get_video_sizes">#get_video_sizes</a>
114
+
115
+ <li><a href="#method-i-get_videos_counts">#get_videos_counts</a>
116
+
117
+ <li><a href="#method-i-media_from_contacts">#media_from_contacts</a>
118
+
119
+ <li><a href="#method-i-media_from_set">#media_from_set</a>
120
+
121
+ <li><a href="#method-i-photos_from_contacts">#photos_from_contacts</a>
122
+
123
+ <li><a href="#method-i-photos_from_set">#photos_from_set</a>
124
+
125
+ <li><a href="#method-i-public_media_from_user">#public_media_from_user</a>
126
+
127
+ <li><a href="#method-i-public_media_from_user_contacts">#public_media_from_user_contacts</a>
128
+
129
+ <li><a href="#method-i-public_photos_from_user">#public_photos_from_user</a>
130
+
131
+ <li><a href="#method-i-public_photos_from_user_contacts">#public_photos_from_user_contacts</a>
132
+
133
+ <li><a href="#method-i-public_videos_from_user">#public_videos_from_user</a>
134
+
135
+ <li><a href="#method-i-public_videos_from_user_contacts">#public_videos_from_user_contacts</a>
136
+
137
+ <li><a href="#method-i-remove_media_tag">#remove_media_tag</a>
138
+
139
+ <li><a href="#method-i-remove_photo_tag">#remove_photo_tag</a>
140
+
141
+ <li><a href="#method-i-remove_video_tag">#remove_video_tag</a>
142
+
143
+ <li><a href="#method-i-replace">#replace</a>
144
+
145
+ <li><a href="#method-i-search_media">#search_media</a>
146
+
147
+ <li><a href="#method-i-search_photos">#search_photos</a>
148
+
149
+ <li><a href="#method-i-search_videos">#search_videos</a>
150
+
151
+ <li><a href="#method-i-sets_from_user">#sets_from_user</a>
152
+
153
+ <li><a href="#method-i-upload">#upload</a>
154
+
155
+ <li><a href="#method-i-videos_from_contacts">#videos_from_contacts</a>
156
+
157
+ <li><a href="#method-i-videos_from_set">#videos_from_set</a>
158
+
159
+ </ul>
160
+ </nav>
161
+
162
+ </div>
163
+
164
+ <div id="project-metadata">
165
+ <nav id="fileindex-section" class="section project-section">
166
+ <h3 class="section-header">Pages</h3>
167
+
168
+ <ul>
169
+
170
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
171
+
172
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
173
+
174
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
175
+
176
+ </ul>
177
+ </nav>
178
+
179
+ <nav id="classindex-section" class="section project-section">
180
+ <h3 class="section-header">Class and Module Index</h3>
181
+
182
+ <ul class="link-list">
183
+
184
+ <li><a href="../Flickrie.html">Flickrie</a>
185
+
186
+ <li><a href="../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
187
+
188
+ <li><a href="../Flickrie/Client.html">Flickrie::Client</a>
189
+
190
+ <li><a href="../Flickrie/Error.html">Flickrie::Error</a>
191
+
192
+ <li><a href="../Flickrie/Instance.html">Flickrie::Instance</a>
193
+
194
+ <li><a href="../Flickrie/License.html">Flickrie::License</a>
195
+
196
+ <li><a href="../Flickrie/Location.html">Flickrie::Location</a>
197
+
198
+ <li><a href="../Flickrie/Media.html">Flickrie::Media</a>
199
+
200
+ <li><a href="../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
201
+
202
+ <li><a href="../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
203
+
204
+ <li><a href="../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
205
+
206
+ <li><a href="../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
207
+
208
+ <li><a href="../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
209
+
210
+ <li><a href="../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
211
+
212
+ <li><a href="../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
213
+
214
+ <li><a href="../Flickrie/OAuth.html">Flickrie::OAuth</a>
215
+
216
+ <li><a href="../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
217
+
218
+ <li><a href="../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
219
+
220
+ <li><a href="../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
221
+
222
+ <li><a href="../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
223
+
224
+ <li><a href="../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
225
+
226
+ <li><a href="../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
227
+
228
+ <li><a href="../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
229
+
230
+ <li><a href="../Flickrie/Photo.html">Flickrie::Photo</a>
231
+
232
+ <li><a href="../Flickrie/Set.html">Flickrie::Set</a>
233
+
234
+ <li><a href="../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
235
+
236
+ <li><a href="../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
237
+
238
+ <li><a href="../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
239
+
240
+ <li><a href="../Flickrie/User.html">Flickrie::User</a>
241
+
242
+ <li><a href="../Flickrie/Video.html">Flickrie::Video</a>
243
+
244
+ </ul>
245
+ </nav>
246
+
247
+ </div>
248
+ </nav>
249
+
250
+ <div id="documentation">
251
+ <h1 class="module">module Flickrie::ApiMethods</h1>
252
+
253
+ <div id="description" class="description">
254
+
255
+ </div><!-- description -->
256
+
257
+
258
+
259
+
260
+ <section id="5Buntitled-5D" class="documentation-section">
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+ <!-- Methods -->
270
+
271
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
272
+ <h3 class="section-header">Public Instance Methods</h3>
273
+
274
+
275
+ <div id="method-i-add_media_tags" class="method-detail ">
276
+
277
+ <div class="method-heading">
278
+ <span class="method-name">add_media_tags</span><span
279
+ class="method-args">(media_id, tags)</span>
280
+ <span class="method-click-advice">click to toggle source</span>
281
+ </div>
282
+
283
+
284
+ <div class="method-description">
285
+
286
+ <p>photos</p>
287
+
288
+
289
+
290
+ <div class="method-source-code" id="add_media_tags-source">
291
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 62</span>
292
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">add_media_tags</span>(<span class="ruby-identifier">media_id</span>, <span class="ruby-identifier">tags</span>)
293
+ <span class="ruby-identifier">client</span>.<span class="ruby-identifier">add_media_tags</span>(<span class="ruby-identifier">media_id</span>, <span class="ruby-identifier">tags</span>)
294
+ <span class="ruby-keyword">end</span></pre>
295
+ </div><!-- add_media_tags-source -->
296
+
297
+ </div>
298
+
299
+
300
+ <div class="aliases">
301
+ Also aliased as: <a href="ApiMethods.html#method-i-add_photo_tags">add_photo_tags</a>, <a href="ApiMethods.html#method-i-add_video_tags">add_video_tags</a>
302
+ </div>
303
+
304
+
305
+
306
+ </div><!-- add_media_tags-method -->
307
+
308
+
309
+ <div id="method-i-add_photo_tags" class="method-detail method-alias">
310
+
311
+ <div class="method-heading">
312
+ <span class="method-name">add_photo_tags</span><span
313
+ class="method-args">(media_id, tags)</span>
314
+ <span class="method-click-advice">click to toggle source</span>
315
+ </div>
316
+
317
+
318
+ <div class="method-description">
319
+
320
+
321
+
322
+
323
+
324
+ </div>
325
+
326
+
327
+
328
+
329
+ <div class="aliases">
330
+ Alias for: <a href="ApiMethods.html#method-i-add_media_tags">add_media_tags</a>
331
+ </div>
332
+
333
+ </div><!-- add_photo_tags-method -->
334
+
335
+
336
+ <div id="method-i-add_video_tags" class="method-detail method-alias">
337
+
338
+ <div class="method-heading">
339
+ <span class="method-name">add_video_tags</span><span
340
+ class="method-args">(media_id, tags)</span>
341
+ <span class="method-click-advice">click to toggle source</span>
342
+ </div>
343
+
344
+
345
+ <div class="method-description">
346
+
347
+
348
+
349
+
350
+
351
+ </div>
352
+
353
+
354
+
355
+
356
+ <div class="aliases">
357
+ Alias for: <a href="ApiMethods.html#method-i-add_media_tags">add_media_tags</a>
358
+ </div>
359
+
360
+ </div><!-- add_video_tags-method -->
361
+
362
+
363
+ <div id="method-i-check_upload_tickets" class="method-detail ">
364
+
365
+ <div class="method-heading">
366
+ <span class="method-name">check_upload_tickets</span><span
367
+ class="method-args">(tickets)</span>
368
+ <span class="method-click-advice">click to toggle source</span>
369
+ </div>
370
+
371
+
372
+ <div class="method-description">
373
+
374
+ <p>photos.upload</p>
375
+
376
+
377
+
378
+ <div class="method-source-code" id="check_upload_tickets-source">
379
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 157</span>
380
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">check_upload_tickets</span>(<span class="ruby-identifier">tickets</span>)
381
+ <span class="ruby-identifier">tickets</span> = <span class="ruby-identifier">tickets</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">','</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">tickets</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-value">:join</span>)
382
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">check_upload_tickets</span>(<span class="ruby-identifier">tickets</span>)
383
+ <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'uploader'</span>][<span class="ruby-string">'ticket'</span>].
384
+ <span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">info</span><span class="ruby-operator">|</span> <span class="ruby-constant">Media</span><span class="ruby-operator">::</span><span class="ruby-constant">Ticket</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">info</span>) }
385
+ <span class="ruby-keyword">end</span></pre>
386
+ </div><!-- check_upload_tickets-source -->
387
+
388
+ </div>
389
+
390
+
391
+
392
+
393
+ </div><!-- check_upload_tickets-method -->
394
+
395
+
396
+ <div id="method-i-delete_media" class="method-detail ">
397
+
398
+ <div class="method-heading">
399
+ <span class="method-name">delete_media</span><span
400
+ class="method-args">(media_id)</span>
401
+ <span class="method-click-advice">click to toggle source</span>
402
+ </div>
403
+
404
+
405
+ <div class="method-description">
406
+
407
+
408
+
409
+
410
+
411
+ <div class="method-source-code" id="delete_media-source">
412
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 68</span>
413
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_media</span>(<span class="ruby-identifier">media_id</span>)
414
+ <span class="ruby-identifier">client</span>.<span class="ruby-identifier">delete_media</span>(<span class="ruby-identifier">media_id</span>)
415
+ <span class="ruby-identifier">media_id</span>
416
+ <span class="ruby-keyword">end</span></pre>
417
+ </div><!-- delete_media-source -->
418
+
419
+ </div>
420
+
421
+
422
+ <div class="aliases">
423
+ Also aliased as: <a href="ApiMethods.html#method-i-delete_photo">delete_photo</a>, <a href="ApiMethods.html#method-i-delete_video">delete_video</a>
424
+ </div>
425
+
426
+
427
+
428
+ </div><!-- delete_media-method -->
429
+
430
+
431
+ <div id="method-i-delete_photo" class="method-detail method-alias">
432
+
433
+ <div class="method-heading">
434
+ <span class="method-name">delete_photo</span><span
435
+ class="method-args">(media_id)</span>
436
+ <span class="method-click-advice">click to toggle source</span>
437
+ </div>
438
+
439
+
440
+ <div class="method-description">
441
+
442
+
443
+
444
+
445
+
446
+ </div>
447
+
448
+
449
+
450
+
451
+ <div class="aliases">
452
+ Alias for: <a href="ApiMethods.html#method-i-delete_media">delete_media</a>
453
+ </div>
454
+
455
+ </div><!-- delete_photo-method -->
456
+
457
+
458
+ <div id="method-i-delete_video" class="method-detail method-alias">
459
+
460
+ <div class="method-heading">
461
+ <span class="method-name">delete_video</span><span
462
+ class="method-args">(media_id)</span>
463
+ <span class="method-click-advice">click to toggle source</span>
464
+ </div>
465
+
466
+
467
+ <div class="method-description">
468
+
469
+
470
+
471
+
472
+
473
+ </div>
474
+
475
+
476
+
477
+
478
+ <div class="aliases">
479
+ Alias for: <a href="ApiMethods.html#method-i-delete_media">delete_media</a>
480
+ </div>
481
+
482
+ </div><!-- delete_video-method -->
483
+
484
+
485
+ <div id="method-i-find_user_by_email" class="method-detail ">
486
+
487
+ <div class="method-heading">
488
+ <span class="method-name">find_user_by_email</span><span
489
+ class="method-args">(email)</span>
490
+ <span class="method-click-advice">click to toggle source</span>
491
+ </div>
492
+
493
+
494
+ <div class="method-description">
495
+
496
+ <p>people</p>
497
+
498
+
499
+
500
+ <div class="method-source-code" id="find_user_by_email-source">
501
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 33</span>
502
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">find_user_by_email</span>(<span class="ruby-identifier">email</span>)
503
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">find_user_by_email</span>(<span class="ruby-identifier">email</span>)
504
+ <span class="ruby-constant">User</span>.<span class="ruby-identifier">from_find</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'user'</span>])
505
+ <span class="ruby-keyword">end</span></pre>
506
+ </div><!-- find_user_by_email-source -->
507
+
508
+ </div>
509
+
510
+
511
+
512
+
513
+ </div><!-- find_user_by_email-method -->
514
+
515
+
516
+ <div id="method-i-find_user_by_username" class="method-detail ">
517
+
518
+ <div class="method-heading">
519
+ <span class="method-name">find_user_by_username</span><span
520
+ class="method-args">(username)</span>
521
+ <span class="method-click-advice">click to toggle source</span>
522
+ </div>
523
+
524
+
525
+ <div class="method-description">
526
+
527
+
528
+
529
+
530
+
531
+ <div class="method-source-code" id="find_user_by_username-source">
532
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 38</span>
533
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">find_user_by_username</span>(<span class="ruby-identifier">username</span>)
534
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">find_user_by_username</span>(<span class="ruby-identifier">username</span>)
535
+ <span class="ruby-constant">User</span>.<span class="ruby-identifier">from_find</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'user'</span>])
536
+ <span class="ruby-keyword">end</span></pre>
537
+ </div><!-- find_user_by_username-source -->
538
+
539
+ </div>
540
+
541
+
542
+
543
+
544
+ </div><!-- find_user_by_username-method -->
545
+
546
+
547
+ <div id="method-i-get_licenses" class="method-detail ">
548
+
549
+ <div class="method-heading">
550
+ <span class="method-name">get_licenses</span><span
551
+ class="method-args">()</span>
552
+ <span class="method-click-advice">click to toggle source</span>
553
+ </div>
554
+
555
+
556
+ <div class="method-description">
557
+
558
+ <p>licenses</p>
559
+
560
+
561
+
562
+ <div class="method-source-code" id="get_licenses-source">
563
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 165</span>
564
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_licenses</span>
565
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_licenses</span>
566
+ <span class="ruby-constant">License</span>.<span class="ruby-identifier">from_hash</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'licenses'</span>][<span class="ruby-string">'license'</span>])
567
+ <span class="ruby-keyword">end</span></pre>
568
+ </div><!-- get_licenses-source -->
569
+
570
+ </div>
571
+
572
+
573
+
574
+
575
+ </div><!-- get_licenses-method -->
576
+
577
+
578
+ <div id="method-i-get_media_context" class="method-detail ">
579
+
580
+ <div class="method-heading">
581
+ <span class="method-name">get_media_context</span><span
582
+ class="method-args">(media_id)</span>
583
+ <span class="method-click-advice">click to toggle source</span>
584
+ </div>
585
+
586
+
587
+ <div class="method-description">
588
+
589
+
590
+
591
+
592
+
593
+ <div class="method-source-code" id="get_media_context-source">
594
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 99</span>
595
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_media_context</span>(<span class="ruby-identifier">media_id</span>)
596
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_media_context</span>(<span class="ruby-identifier">media_id</span>)
597
+ <span class="ruby-constant">Media</span>.<span class="ruby-identifier">from_context</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>)
598
+ <span class="ruby-keyword">end</span></pre>
599
+ </div><!-- get_media_context-source -->
600
+
601
+ </div>
602
+
603
+
604
+ <div class="aliases">
605
+ Also aliased as: <a href="ApiMethods.html#method-i-get_photo_context">get_photo_context</a>, <a href="ApiMethods.html#method-i-get_video_context">get_video_context</a>
606
+ </div>
607
+
608
+
609
+
610
+ </div><!-- get_media_context-method -->
611
+
612
+
613
+ <div id="method-i-get_media_counts" class="method-detail ">
614
+
615
+ <div class="method-heading">
616
+ <span class="method-name">get_media_counts</span><span
617
+ class="method-args">(params = {})</span>
618
+ <span class="method-click-advice">click to toggle source</span>
619
+ </div>
620
+
621
+
622
+ <div class="method-description">
623
+
624
+
625
+
626
+
627
+
628
+ <div class="method-source-code" id="get_media_counts-source">
629
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 106</span>
630
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_media_counts</span>(<span class="ruby-identifier">params</span> = {})
631
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_media_counts</span>(<span class="ruby-identifier">params</span>)
632
+ <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photocounts'</span>][<span class="ruby-string">'photocount'</span>].
633
+ <span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">info</span><span class="ruby-operator">|</span> <span class="ruby-constant">MediaCount</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">info</span>, <span class="ruby-identifier">params</span>) }
634
+ <span class="ruby-keyword">end</span></pre>
635
+ </div><!-- get_media_counts-source -->
636
+
637
+ </div>
638
+
639
+
640
+ <div class="aliases">
641
+ Also aliased as: <a href="ApiMethods.html#method-i-get_photos_counts">get_photos_counts</a>, <a href="ApiMethods.html#method-i-get_videos_counts">get_videos_counts</a>
642
+ </div>
643
+
644
+
645
+
646
+ </div><!-- get_media_counts-method -->
647
+
648
+
649
+ <div id="method-i-get_media_info" class="method-detail ">
650
+
651
+ <div class="method-heading">
652
+ <span class="method-name">get_media_info</span><span
653
+ class="method-args">(media_id)</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="get_media_info-source">
665
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 123</span>
666
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_media_info</span>(<span class="ruby-identifier">media_id</span>)
667
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_media_info</span>(<span class="ruby-identifier">media_id</span>)
668
+ <span class="ruby-constant">Media</span>.<span class="ruby-identifier">from_info</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photo'</span>])
669
+ <span class="ruby-keyword">end</span></pre>
670
+ </div><!-- get_media_info-source -->
671
+
672
+ </div>
673
+
674
+
675
+ <div class="aliases">
676
+ Also aliased as: <a href="ApiMethods.html#method-i-get_photo_info">get_photo_info</a>, <a href="ApiMethods.html#method-i-get_video_info">get_video_info</a>
677
+ </div>
678
+
679
+
680
+
681
+ </div><!-- get_media_info-method -->
682
+
683
+
684
+ <div id="method-i-get_photo_context" class="method-detail method-alias">
685
+
686
+ <div class="method-heading">
687
+ <span class="method-name">get_photo_context</span><span
688
+ class="method-args">(media_id)</span>
689
+ <span class="method-click-advice">click to toggle source</span>
690
+ </div>
691
+
692
+
693
+ <div class="method-description">
694
+
695
+
696
+
697
+
698
+
699
+ </div>
700
+
701
+
702
+
703
+
704
+ <div class="aliases">
705
+ Alias for: <a href="ApiMethods.html#method-i-get_media_context">get_media_context</a>
706
+ </div>
707
+
708
+ </div><!-- get_photo_context-method -->
709
+
710
+
711
+ <div id="method-i-get_photo_exif" class="method-detail ">
712
+
713
+ <div class="method-heading">
714
+ <span class="method-name">get_photo_exif</span><span
715
+ class="method-args">(photo_id, params = {})</span>
716
+ <span class="method-click-advice">click to toggle source</span>
717
+ </div>
718
+
719
+
720
+ <div class="method-description">
721
+
722
+
723
+
724
+
725
+
726
+ <div class="method-source-code" id="get_photo_exif-source">
727
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 114</span>
728
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_photo_exif</span>(<span class="ruby-identifier">photo_id</span>, <span class="ruby-identifier">params</span> = {})
729
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_media_exif</span>(<span class="ruby-identifier">photo_id</span>, <span class="ruby-identifier">params</span>)
730
+ <span class="ruby-constant">Photo</span>.<span class="ruby-identifier">from_exif</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photo'</span>].<span class="ruby-identifier">merge</span>(<span class="ruby-string">'media'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'photo'</span>))
731
+ <span class="ruby-keyword">end</span></pre>
732
+ </div><!-- get_photo_exif-source -->
733
+
734
+ </div>
735
+
736
+
737
+
738
+
739
+ </div><!-- get_photo_exif-method -->
740
+
741
+
742
+ <div id="method-i-get_photo_info" class="method-detail method-alias">
743
+
744
+ <div class="method-heading">
745
+ <span class="method-name">get_photo_info</span><span
746
+ class="method-args">(media_id)</span>
747
+ <span class="method-click-advice">click to toggle source</span>
748
+ </div>
749
+
750
+
751
+ <div class="method-description">
752
+
753
+
754
+
755
+
756
+
757
+ </div>
758
+
759
+
760
+
761
+
762
+ <div class="aliases">
763
+ Alias for: <a href="ApiMethods.html#method-i-get_media_info">get_media_info</a>
764
+ </div>
765
+
766
+ </div><!-- get_photo_info-method -->
767
+
768
+
769
+ <div id="method-i-get_photo_sizes" class="method-detail ">
770
+
771
+ <div class="method-heading">
772
+ <span class="method-name">get_photo_sizes</span><span
773
+ class="method-args">(photo_id)</span>
774
+ <span class="method-click-advice">click to toggle source</span>
775
+ </div>
776
+
777
+
778
+ <div class="method-description">
779
+
780
+
781
+
782
+
783
+
784
+ <div class="method-source-code" id="get_photo_sizes-source">
785
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 130</span>
786
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_photo_sizes</span>(<span class="ruby-identifier">photo_id</span>)
787
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_media_sizes</span>(<span class="ruby-identifier">photo_id</span>)
788
+ <span class="ruby-constant">Photo</span>.<span class="ruby-identifier">from_sizes</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'sizes'</span>])
789
+ <span class="ruby-keyword">end</span></pre>
790
+ </div><!-- get_photo_sizes-source -->
791
+
792
+ </div>
793
+
794
+
795
+
796
+
797
+ </div><!-- get_photo_sizes-method -->
798
+
799
+
800
+ <div id="method-i-get_photos_counts" class="method-detail method-alias">
801
+
802
+ <div class="method-heading">
803
+ <span class="method-name">get_photos_counts</span><span
804
+ class="method-args">(params = {})</span>
805
+ <span class="method-click-advice">click to toggle source</span>
806
+ </div>
807
+
808
+
809
+ <div class="method-description">
810
+
811
+
812
+
813
+
814
+
815
+ </div>
816
+
817
+
818
+
819
+
820
+ <div class="aliases">
821
+ Alias for: <a href="ApiMethods.html#method-i-get_media_counts">get_media_counts</a>
822
+ </div>
823
+
824
+ </div><!-- get_photos_counts-method -->
825
+
826
+
827
+ <div id="method-i-get_set_info" class="method-detail ">
828
+
829
+ <div class="method-heading">
830
+ <span class="method-name">get_set_info</span><span
831
+ class="method-args">(set_id)</span>
832
+ <span class="method-click-advice">click to toggle source</span>
833
+ </div>
834
+
835
+
836
+ <div class="method-description">
837
+
838
+ <p>photosets</p>
839
+
840
+
841
+
842
+ <div class="method-source-code" id="get_set_info-source">
843
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 171</span>
844
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_set_info</span>(<span class="ruby-identifier">set_id</span>)
845
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_set_info</span>(<span class="ruby-identifier">set_id</span>)
846
+ <span class="ruby-constant">Set</span>.<span class="ruby-identifier">from_info</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photoset'</span>])
847
+ <span class="ruby-keyword">end</span></pre>
848
+ </div><!-- get_set_info-source -->
849
+
850
+ </div>
851
+
852
+
853
+
854
+
855
+ </div><!-- get_set_info-method -->
856
+
857
+
858
+ <div id="method-i-get_user_info" class="method-detail ">
859
+
860
+ <div class="method-heading">
861
+ <span class="method-name">get_user_info</span><span
862
+ class="method-args">(user_nsid)</span>
863
+ <span class="method-click-advice">click to toggle source</span>
864
+ </div>
865
+
866
+
867
+ <div class="method-description">
868
+
869
+
870
+
871
+
872
+
873
+ <div class="method-source-code" id="get_user_info-source">
874
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 43</span>
875
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_user_info</span>(<span class="ruby-identifier">user_nsid</span>)
876
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_user_info</span>(<span class="ruby-identifier">user_nsid</span>)
877
+ <span class="ruby-constant">User</span>.<span class="ruby-identifier">from_info</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'person'</span>])
878
+ <span class="ruby-keyword">end</span></pre>
879
+ </div><!-- get_user_info-source -->
880
+
881
+ </div>
882
+
883
+
884
+
885
+
886
+ </div><!-- get_user_info-method -->
887
+
888
+
889
+ <div id="method-i-get_video_context" class="method-detail method-alias">
890
+
891
+ <div class="method-heading">
892
+ <span class="method-name">get_video_context</span><span
893
+ class="method-args">(media_id)</span>
894
+ <span class="method-click-advice">click to toggle source</span>
895
+ </div>
896
+
897
+
898
+ <div class="method-description">
899
+
900
+
901
+
902
+
903
+
904
+ </div>
905
+
906
+
907
+
908
+
909
+ <div class="aliases">
910
+ Alias for: <a href="ApiMethods.html#method-i-get_media_context">get_media_context</a>
911
+ </div>
912
+
913
+ </div><!-- get_video_context-method -->
914
+
915
+
916
+ <div id="method-i-get_video_exif" class="method-detail ">
917
+
918
+ <div class="method-heading">
919
+ <span class="method-name">get_video_exif</span><span
920
+ class="method-args">(video_id, params = {})</span>
921
+ <span class="method-click-advice">click to toggle source</span>
922
+ </div>
923
+
924
+
925
+ <div class="method-description">
926
+
927
+
928
+
929
+
930
+
931
+ <div class="method-source-code" id="get_video_exif-source">
932
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 118</span>
933
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_video_exif</span>(<span class="ruby-identifier">video_id</span>, <span class="ruby-identifier">params</span> = {})
934
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_media_exif</span>(<span class="ruby-identifier">video_id</span>, <span class="ruby-identifier">params</span>)
935
+ <span class="ruby-constant">Video</span>.<span class="ruby-identifier">from_exif</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photo'</span>].<span class="ruby-identifier">merge</span>(<span class="ruby-string">'media'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'video'</span>))
936
+ <span class="ruby-keyword">end</span></pre>
937
+ </div><!-- get_video_exif-source -->
938
+
939
+ </div>
940
+
941
+
942
+
943
+
944
+ </div><!-- get_video_exif-method -->
945
+
946
+
947
+ <div id="method-i-get_video_info" class="method-detail method-alias">
948
+
949
+ <div class="method-heading">
950
+ <span class="method-name">get_video_info</span><span
951
+ class="method-args">(media_id)</span>
952
+ <span class="method-click-advice">click to toggle source</span>
953
+ </div>
954
+
955
+
956
+ <div class="method-description">
957
+
958
+
959
+
960
+
961
+
962
+ </div>
963
+
964
+
965
+
966
+
967
+ <div class="aliases">
968
+ Alias for: <a href="ApiMethods.html#method-i-get_media_info">get_media_info</a>
969
+ </div>
970
+
971
+ </div><!-- get_video_info-method -->
972
+
973
+
974
+ <div id="method-i-get_video_sizes" class="method-detail ">
975
+
976
+ <div class="method-heading">
977
+ <span class="method-name">get_video_sizes</span><span
978
+ class="method-args">(video_id)</span>
979
+ <span class="method-click-advice">click to toggle source</span>
980
+ </div>
981
+
982
+
983
+ <div class="method-description">
984
+
985
+
986
+
987
+
988
+
989
+ <div class="method-source-code" id="get_video_sizes-source">
990
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 134</span>
991
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_video_sizes</span>(<span class="ruby-identifier">video_id</span>)
992
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">get_media_sizes</span>(<span class="ruby-identifier">video_id</span>)
993
+ <span class="ruby-constant">Video</span>.<span class="ruby-identifier">from_sizes</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'sizes'</span>])
994
+ <span class="ruby-keyword">end</span></pre>
995
+ </div><!-- get_video_sizes-source -->
996
+
997
+ </div>
998
+
999
+
1000
+
1001
+
1002
+ </div><!-- get_video_sizes-method -->
1003
+
1004
+
1005
+ <div id="method-i-get_videos_counts" class="method-detail method-alias">
1006
+
1007
+ <div class="method-heading">
1008
+ <span class="method-name">get_videos_counts</span><span
1009
+ class="method-args">(params = {})</span>
1010
+ <span class="method-click-advice">click to toggle source</span>
1011
+ </div>
1012
+
1013
+
1014
+ <div class="method-description">
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+ </div>
1021
+
1022
+
1023
+
1024
+
1025
+ <div class="aliases">
1026
+ Alias for: <a href="ApiMethods.html#method-i-get_media_counts">get_media_counts</a>
1027
+ </div>
1028
+
1029
+ </div><!-- get_videos_counts-method -->
1030
+
1031
+
1032
+ <div id="method-i-media_from_contacts" class="method-detail ">
1033
+
1034
+ <div class="method-heading">
1035
+ <span class="method-name">media_from_contacts</span><span
1036
+ class="method-args">(params = {})</span>
1037
+ <span class="method-click-advice">click to toggle source</span>
1038
+ </div>
1039
+
1040
+
1041
+ <div class="method-description">
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+ <div class="method-source-code" id="media_from_contacts-source">
1048
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 75</span>
1049
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">media_from_contacts</span>(<span class="ruby-identifier">params</span> = {})
1050
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">media_from_contacts</span>(<span class="ruby-identifier">params</span>)
1051
+ <span class="ruby-constant">Media</span>.<span class="ruby-identifier">from_contacts</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photos'</span>])
1052
+ <span class="ruby-keyword">end</span></pre>
1053
+ </div><!-- media_from_contacts-source -->
1054
+
1055
+ </div>
1056
+
1057
+
1058
+
1059
+
1060
+ </div><!-- media_from_contacts-method -->
1061
+
1062
+
1063
+ <div id="method-i-media_from_set" class="method-detail ">
1064
+
1065
+ <div class="method-heading">
1066
+ <span class="method-name">media_from_set</span><span
1067
+ class="method-args">(set_id, params = {})</span>
1068
+ <span class="method-click-advice">click to toggle source</span>
1069
+ </div>
1070
+
1071
+
1072
+ <div class="method-description">
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+ <div class="method-source-code" id="media_from_set-source">
1079
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 181</span>
1080
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">media_from_set</span>(<span class="ruby-identifier">set_id</span>, <span class="ruby-identifier">params</span> = {})
1081
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">media_from_set</span>(<span class="ruby-identifier">set_id</span>, <span class="ruby-identifier">params</span>)
1082
+ <span class="ruby-constant">Media</span>.<span class="ruby-identifier">from_set</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photoset'</span>])
1083
+ <span class="ruby-keyword">end</span></pre>
1084
+ </div><!-- media_from_set-source -->
1085
+
1086
+ </div>
1087
+
1088
+
1089
+
1090
+
1091
+ </div><!-- media_from_set-method -->
1092
+
1093
+
1094
+ <div id="method-i-photos_from_contacts" class="method-detail ">
1095
+
1096
+ <div class="method-heading">
1097
+ <span class="method-name">photos_from_contacts</span><span
1098
+ class="method-args">(params = {})</span>
1099
+ <span class="method-click-advice">click to toggle source</span>
1100
+ </div>
1101
+
1102
+
1103
+ <div class="method-description">
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+ <div class="method-source-code" id="photos_from_contacts-source">
1110
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 79</span>
1111
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">photos_from_contacts</span>(<span class="ruby-identifier">params</span> = {})
1112
+ <span class="ruby-identifier">media_from_contacts</span>(<span class="ruby-identifier">params</span>).<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">media</span><span class="ruby-operator">|</span> <span class="ruby-identifier">media</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Photo</span>) }
1113
+ <span class="ruby-keyword">end</span></pre>
1114
+ </div><!-- photos_from_contacts-source -->
1115
+
1116
+ </div>
1117
+
1118
+
1119
+
1120
+
1121
+ </div><!-- photos_from_contacts-method -->
1122
+
1123
+
1124
+ <div id="method-i-photos_from_set" class="method-detail ">
1125
+
1126
+ <div class="method-heading">
1127
+ <span class="method-name">photos_from_set</span><span
1128
+ class="method-args">(set_id, params = {})</span>
1129
+ <span class="method-click-advice">click to toggle source</span>
1130
+ </div>
1131
+
1132
+
1133
+ <div class="method-description">
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+ <div class="method-source-code" id="photos_from_set-source">
1140
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 185</span>
1141
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">photos_from_set</span>(<span class="ruby-identifier">set_id</span>, <span class="ruby-identifier">params</span> = {})
1142
+ <span class="ruby-identifier">media_from_set</span>(<span class="ruby-identifier">set_id</span>, <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-value">:media</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'photos'</span>))
1143
+ <span class="ruby-keyword">end</span></pre>
1144
+ </div><!-- photos_from_set-source -->
1145
+
1146
+ </div>
1147
+
1148
+
1149
+
1150
+
1151
+ </div><!-- photos_from_set-method -->
1152
+
1153
+
1154
+ <div id="method-i-public_media_from_user" class="method-detail ">
1155
+
1156
+ <div class="method-heading">
1157
+ <span class="method-name">public_media_from_user</span><span
1158
+ class="method-args">(user_nsid, params = {})</span>
1159
+ <span class="method-click-advice">click to toggle source</span>
1160
+ </div>
1161
+
1162
+
1163
+ <div class="method-description">
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+ <div class="method-source-code" id="public_media_from_user-source">
1170
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 48</span>
1171
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">public_media_from_user</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span> = {})
1172
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">public_media_from_user</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span>)
1173
+ <span class="ruby-constant">Media</span>.<span class="ruby-identifier">from_user</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photos'</span>])
1174
+ <span class="ruby-keyword">end</span></pre>
1175
+ </div><!-- public_media_from_user-source -->
1176
+
1177
+ </div>
1178
+
1179
+
1180
+
1181
+
1182
+ </div><!-- public_media_from_user-method -->
1183
+
1184
+
1185
+ <div id="method-i-public_media_from_user_contacts" class="method-detail ">
1186
+
1187
+ <div class="method-heading">
1188
+ <span class="method-name">public_media_from_user_contacts</span><span
1189
+ class="method-args">(user_nsid, params = {})</span>
1190
+ <span class="method-click-advice">click to toggle source</span>
1191
+ </div>
1192
+
1193
+
1194
+ <div class="method-description">
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+ <div class="method-source-code" id="public_media_from_user_contacts-source">
1201
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 86</span>
1202
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">public_media_from_user_contacts</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span> = {})
1203
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">public_media_from_user_contacts</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span>)
1204
+ <span class="ruby-constant">Media</span>.<span class="ruby-identifier">from_contacts</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photos'</span>])
1205
+ <span class="ruby-keyword">end</span></pre>
1206
+ </div><!-- public_media_from_user_contacts-source -->
1207
+
1208
+ </div>
1209
+
1210
+
1211
+
1212
+
1213
+ </div><!-- public_media_from_user_contacts-method -->
1214
+
1215
+
1216
+ <div id="method-i-public_photos_from_user" class="method-detail ">
1217
+
1218
+ <div class="method-heading">
1219
+ <span class="method-name">public_photos_from_user</span><span
1220
+ class="method-args">(user_nsid, params = {})</span>
1221
+ <span class="method-click-advice">click to toggle source</span>
1222
+ </div>
1223
+
1224
+
1225
+ <div class="method-description">
1226
+
1227
+
1228
+
1229
+
1230
+
1231
+ <div class="method-source-code" id="public_photos_from_user-source">
1232
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 52</span>
1233
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">public_photos_from_user</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span> = {})
1234
+ <span class="ruby-identifier">public_media_from_user</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span>).
1235
+ <span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">media</span><span class="ruby-operator">|</span> <span class="ruby-identifier">media</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Photo</span>) }
1236
+ <span class="ruby-keyword">end</span></pre>
1237
+ </div><!-- public_photos_from_user-source -->
1238
+
1239
+ </div>
1240
+
1241
+
1242
+
1243
+
1244
+ </div><!-- public_photos_from_user-method -->
1245
+
1246
+
1247
+ <div id="method-i-public_photos_from_user_contacts" class="method-detail ">
1248
+
1249
+ <div class="method-heading">
1250
+ <span class="method-name">public_photos_from_user_contacts</span><span
1251
+ class="method-args">(user_nsid, params = {})</span>
1252
+ <span class="method-click-advice">click to toggle source</span>
1253
+ </div>
1254
+
1255
+
1256
+ <div class="method-description">
1257
+
1258
+
1259
+
1260
+
1261
+
1262
+ <div class="method-source-code" id="public_photos_from_user_contacts-source">
1263
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 90</span>
1264
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">public_photos_from_user_contacts</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span> = {})
1265
+ <span class="ruby-identifier">public_media_from_user_contacts</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span>).
1266
+ <span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">media</span><span class="ruby-operator">|</span> <span class="ruby-identifier">media</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Photo</span>) }
1267
+ <span class="ruby-keyword">end</span></pre>
1268
+ </div><!-- public_photos_from_user_contacts-source -->
1269
+
1270
+ </div>
1271
+
1272
+
1273
+
1274
+
1275
+ </div><!-- public_photos_from_user_contacts-method -->
1276
+
1277
+
1278
+ <div id="method-i-public_videos_from_user" class="method-detail ">
1279
+
1280
+ <div class="method-heading">
1281
+ <span class="method-name">public_videos_from_user</span><span
1282
+ class="method-args">(user_nsid, params = {})</span>
1283
+ <span class="method-click-advice">click to toggle source</span>
1284
+ </div>
1285
+
1286
+
1287
+ <div class="method-description">
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+ <div class="method-source-code" id="public_videos_from_user-source">
1294
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 56</span>
1295
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">public_videos_from_user</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span> = {})
1296
+ <span class="ruby-identifier">public_media_from_user</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span>).
1297
+ <span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">media</span><span class="ruby-operator">|</span> <span class="ruby-identifier">media</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Video</span>) }
1298
+ <span class="ruby-keyword">end</span></pre>
1299
+ </div><!-- public_videos_from_user-source -->
1300
+
1301
+ </div>
1302
+
1303
+
1304
+
1305
+
1306
+ </div><!-- public_videos_from_user-method -->
1307
+
1308
+
1309
+ <div id="method-i-public_videos_from_user_contacts" class="method-detail ">
1310
+
1311
+ <div class="method-heading">
1312
+ <span class="method-name">public_videos_from_user_contacts</span><span
1313
+ class="method-args">(user_nsid, params = {})</span>
1314
+ <span class="method-click-advice">click to toggle source</span>
1315
+ </div>
1316
+
1317
+
1318
+ <div class="method-description">
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+ <div class="method-source-code" id="public_videos_from_user_contacts-source">
1325
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 94</span>
1326
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">public_videos_from_user_contacts</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span> = {})
1327
+ <span class="ruby-identifier">public_media_from_user_contacts</span>(<span class="ruby-identifier">user_nsid</span>, <span class="ruby-identifier">params</span>).
1328
+ <span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">media</span><span class="ruby-operator">|</span> <span class="ruby-identifier">media</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Photo</span>) }
1329
+ <span class="ruby-keyword">end</span></pre>
1330
+ </div><!-- public_videos_from_user_contacts-source -->
1331
+
1332
+ </div>
1333
+
1334
+
1335
+
1336
+
1337
+ </div><!-- public_videos_from_user_contacts-method -->
1338
+
1339
+
1340
+ <div id="method-i-remove_media_tag" class="method-detail ">
1341
+
1342
+ <div class="method-heading">
1343
+ <span class="method-name">remove_media_tag</span><span
1344
+ class="method-args">(tag_id)</span>
1345
+ <span class="method-click-advice">click to toggle source</span>
1346
+ </div>
1347
+
1348
+
1349
+ <div class="method-description">
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+ <div class="method-source-code" id="remove_media_tag-source">
1356
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 139</span>
1357
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_media_tag</span>(<span class="ruby-identifier">tag_id</span>)
1358
+ <span class="ruby-identifier">client</span>.<span class="ruby-identifier">remove_media_tag</span>(<span class="ruby-identifier">tag_id</span>)
1359
+ <span class="ruby-keyword">end</span></pre>
1360
+ </div><!-- remove_media_tag-source -->
1361
+
1362
+ </div>
1363
+
1364
+
1365
+ <div class="aliases">
1366
+ Also aliased as: <a href="ApiMethods.html#method-i-remove_photo_tag">remove_photo_tag</a>, <a href="ApiMethods.html#method-i-remove_video_tag">remove_video_tag</a>
1367
+ </div>
1368
+
1369
+
1370
+
1371
+ </div><!-- remove_media_tag-method -->
1372
+
1373
+
1374
+ <div id="method-i-remove_photo_tag" class="method-detail method-alias">
1375
+
1376
+ <div class="method-heading">
1377
+ <span class="method-name">remove_photo_tag</span><span
1378
+ class="method-args">(tag_id)</span>
1379
+ <span class="method-click-advice">click to toggle source</span>
1380
+ </div>
1381
+
1382
+
1383
+ <div class="method-description">
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+ </div>
1390
+
1391
+
1392
+
1393
+
1394
+ <div class="aliases">
1395
+ Alias for: <a href="ApiMethods.html#method-i-remove_media_tag">remove_media_tag</a>
1396
+ </div>
1397
+
1398
+ </div><!-- remove_photo_tag-method -->
1399
+
1400
+
1401
+ <div id="method-i-remove_video_tag" class="method-detail method-alias">
1402
+
1403
+ <div class="method-heading">
1404
+ <span class="method-name">remove_video_tag</span><span
1405
+ class="method-args">(tag_id)</span>
1406
+ <span class="method-click-advice">click to toggle source</span>
1407
+ </div>
1408
+
1409
+
1410
+ <div class="method-description">
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+ </div>
1417
+
1418
+
1419
+
1420
+
1421
+ <div class="aliases">
1422
+ Alias for: <a href="ApiMethods.html#method-i-remove_media_tag">remove_media_tag</a>
1423
+ </div>
1424
+
1425
+ </div><!-- remove_video_tag-method -->
1426
+
1427
+
1428
+ <div id="method-i-replace" class="method-detail ">
1429
+
1430
+ <div class="method-heading">
1431
+ <span class="method-name">replace</span><span
1432
+ class="method-args">(media, media_id, params = {})</span>
1433
+ <span class="method-click-advice">click to toggle source</span>
1434
+ </div>
1435
+
1436
+
1437
+ <div class="method-description">
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+ <div class="method-source-code" id="replace-source">
1444
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 23</span>
1445
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">replace</span>(<span class="ruby-identifier">media</span>, <span class="ruby-identifier">media_id</span>, <span class="ruby-identifier">params</span> = {})
1446
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">upload_client</span>.<span class="ruby-identifier">replace</span>(<span class="ruby-identifier">media</span>, <span class="ruby-identifier">media_id</span>, <span class="ruby-identifier">params</span>)
1447
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:async</span>] <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
1448
+ <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'rsp'</span>][<span class="ruby-string">'ticketid'</span>]
1449
+ <span class="ruby-keyword">else</span>
1450
+ <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'rsp'</span>][<span class="ruby-string">'photoid'</span>]
1451
+ <span class="ruby-keyword">end</span>
1452
+ <span class="ruby-keyword">end</span></pre>
1453
+ </div><!-- replace-source -->
1454
+
1455
+ </div>
1456
+
1457
+
1458
+
1459
+
1460
+ </div><!-- replace-method -->
1461
+
1462
+
1463
+ <div id="method-i-search_media" class="method-detail ">
1464
+
1465
+ <div class="method-heading">
1466
+ <span class="method-name">search_media</span><span
1467
+ class="method-args">(search_params = {})</span>
1468
+ <span class="method-click-advice">click to toggle source</span>
1469
+ </div>
1470
+
1471
+
1472
+ <div class="method-description">
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+ <div class="method-source-code" id="search_media-source">
1479
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 145</span>
1480
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">search_media</span>(<span class="ruby-identifier">search_params</span> = {})
1481
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">search_media</span>(<span class="ruby-identifier">search_params</span>)
1482
+ <span class="ruby-constant">Media</span>.<span class="ruby-identifier">from_search</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photos'</span>])
1483
+ <span class="ruby-keyword">end</span></pre>
1484
+ </div><!-- search_media-source -->
1485
+
1486
+ </div>
1487
+
1488
+
1489
+
1490
+
1491
+ </div><!-- search_media-method -->
1492
+
1493
+
1494
+ <div id="method-i-search_photos" class="method-detail ">
1495
+
1496
+ <div class="method-heading">
1497
+ <span class="method-name">search_photos</span><span
1498
+ class="method-args">(search_params = {})</span>
1499
+ <span class="method-click-advice">click to toggle source</span>
1500
+ </div>
1501
+
1502
+
1503
+ <div class="method-description">
1504
+
1505
+
1506
+
1507
+
1508
+
1509
+ <div class="method-source-code" id="search_photos-source">
1510
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 149</span>
1511
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">search_photos</span>(<span class="ruby-identifier">search_params</span> = {})
1512
+ <span class="ruby-identifier">search_media</span>(<span class="ruby-identifier">search_params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-value">:media</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'photos'</span>))
1513
+ <span class="ruby-keyword">end</span></pre>
1514
+ </div><!-- search_photos-source -->
1515
+
1516
+ </div>
1517
+
1518
+
1519
+
1520
+
1521
+ </div><!-- search_photos-method -->
1522
+
1523
+
1524
+ <div id="method-i-search_videos" class="method-detail ">
1525
+
1526
+ <div class="method-heading">
1527
+ <span class="method-name">search_videos</span><span
1528
+ class="method-args">(search_params = {})</span>
1529
+ <span class="method-click-advice">click to toggle source</span>
1530
+ </div>
1531
+
1532
+
1533
+ <div class="method-description">
1534
+
1535
+
1536
+
1537
+
1538
+
1539
+ <div class="method-source-code" id="search_videos-source">
1540
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 152</span>
1541
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">search_videos</span>(<span class="ruby-identifier">search_params</span> = {})
1542
+ <span class="ruby-identifier">search_media</span>(<span class="ruby-identifier">search_params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-value">:media</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'videos'</span>))
1543
+ <span class="ruby-keyword">end</span></pre>
1544
+ </div><!-- search_videos-source -->
1545
+
1546
+ </div>
1547
+
1548
+
1549
+
1550
+
1551
+ </div><!-- search_videos-method -->
1552
+
1553
+
1554
+ <div id="method-i-sets_from_user" class="method-detail ">
1555
+
1556
+ <div class="method-heading">
1557
+ <span class="method-name">sets_from_user</span><span
1558
+ class="method-args">(user_nsid)</span>
1559
+ <span class="method-click-advice">click to toggle source</span>
1560
+ </div>
1561
+
1562
+
1563
+ <div class="method-description">
1564
+
1565
+
1566
+
1567
+
1568
+
1569
+ <div class="method-source-code" id="sets_from_user-source">
1570
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 176</span>
1571
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">sets_from_user</span>(<span class="ruby-identifier">user_nsid</span>)
1572
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">client</span>.<span class="ruby-identifier">sets_from_user</span>(<span class="ruby-identifier">user_nsid</span>)
1573
+ <span class="ruby-constant">Set</span>.<span class="ruby-identifier">from_user</span>(<span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'photosets'</span>][<span class="ruby-string">'photoset'</span>], <span class="ruby-identifier">user_nsid</span>)
1574
+ <span class="ruby-keyword">end</span></pre>
1575
+ </div><!-- sets_from_user-source -->
1576
+
1577
+ </div>
1578
+
1579
+
1580
+
1581
+
1582
+ </div><!-- sets_from_user-method -->
1583
+
1584
+
1585
+ <div id="method-i-upload" class="method-detail ">
1586
+
1587
+ <div class="method-heading">
1588
+ <span class="method-name">upload</span><span
1589
+ class="method-args">(media, params = {})</span>
1590
+ <span class="method-click-advice">click to toggle source</span>
1591
+ </div>
1592
+
1593
+
1594
+ <div class="method-description">
1595
+
1596
+
1597
+
1598
+
1599
+
1600
+ <div class="method-source-code" id="upload-source">
1601
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 14</span>
1602
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">media</span>, <span class="ruby-identifier">params</span> = {})
1603
+ <span class="ruby-identifier">response</span> = <span class="ruby-identifier">upload_client</span>.<span class="ruby-identifier">upload</span>(<span class="ruby-identifier">media</span>, <span class="ruby-identifier">params</span>)
1604
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">params</span>[<span class="ruby-value">:async</span>] <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
1605
+ <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'rsp'</span>][<span class="ruby-string">'ticketid'</span>]
1606
+ <span class="ruby-keyword">else</span>
1607
+ <span class="ruby-identifier">response</span>.<span class="ruby-identifier">body</span>[<span class="ruby-string">'rsp'</span>][<span class="ruby-string">'photoid'</span>]
1608
+ <span class="ruby-keyword">end</span>
1609
+ <span class="ruby-keyword">end</span></pre>
1610
+ </div><!-- upload-source -->
1611
+
1612
+ </div>
1613
+
1614
+
1615
+
1616
+
1617
+ </div><!-- upload-method -->
1618
+
1619
+
1620
+ <div id="method-i-videos_from_contacts" class="method-detail ">
1621
+
1622
+ <div class="method-heading">
1623
+ <span class="method-name">videos_from_contacts</span><span
1624
+ class="method-args">(params = {})</span>
1625
+ <span class="method-click-advice">click to toggle source</span>
1626
+ </div>
1627
+
1628
+
1629
+ <div class="method-description">
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+ <div class="method-source-code" id="videos_from_contacts-source">
1636
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 82</span>
1637
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">videos_from_contacts</span>(<span class="ruby-identifier">params</span> = {})
1638
+ <span class="ruby-identifier">media_from_contacts</span>(<span class="ruby-identifier">params</span>).<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">media</span><span class="ruby-operator">|</span> <span class="ruby-identifier">media</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Video</span>) }
1639
+ <span class="ruby-keyword">end</span></pre>
1640
+ </div><!-- videos_from_contacts-source -->
1641
+
1642
+ </div>
1643
+
1644
+
1645
+
1646
+
1647
+ </div><!-- videos_from_contacts-method -->
1648
+
1649
+
1650
+ <div id="method-i-videos_from_set" class="method-detail ">
1651
+
1652
+ <div class="method-heading">
1653
+ <span class="method-name">videos_from_set</span><span
1654
+ class="method-args">(set_id, params = {})</span>
1655
+ <span class="method-click-advice">click to toggle source</span>
1656
+ </div>
1657
+
1658
+
1659
+ <div class="method-description">
1660
+
1661
+
1662
+
1663
+
1664
+
1665
+ <div class="method-source-code" id="videos_from_set-source">
1666
+ <pre><span class="ruby-comment"># File lib/flickrie/api_methods.rb, line 188</span>
1667
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">videos_from_set</span>(<span class="ruby-identifier">set_id</span>, <span class="ruby-identifier">params</span> = {})
1668
+ <span class="ruby-identifier">media_from_set</span>(<span class="ruby-identifier">set_id</span>, <span class="ruby-identifier">params</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-value">:media</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'videos'</span>))
1669
+ <span class="ruby-keyword">end</span></pre>
1670
+ </div><!-- videos_from_set-source -->
1671
+
1672
+ </div>
1673
+
1674
+
1675
+
1676
+
1677
+ </div><!-- videos_from_set-method -->
1678
+
1679
+
1680
+ </section><!-- public-instance-method-details -->
1681
+
1682
+ </section><!-- 5Buntitled-5D -->
1683
+
1684
+ </div><!-- documentation -->
1685
+
1686
+
1687
+ <footer id="validator-badges">
1688
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
1689
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
1690
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
1691
+ </footer>
1692
+