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,914 @@
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::Client - 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/client.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">Faraday::Connection
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-i-add_media_tags">#add_media_tags</a>
74
+
75
+ <li><a href="#method-i-check_upload_tickets">#check_upload_tickets</a>
76
+
77
+ <li><a href="#method-i-delete_media">#delete_media</a>
78
+
79
+ <li><a href="#method-i-find_user_by_email">#find_user_by_email</a>
80
+
81
+ <li><a href="#method-i-find_user_by_username">#find_user_by_username</a>
82
+
83
+ <li><a href="#method-i-get">#get</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_exif">#get_media_exif</a>
92
+
93
+ <li><a href="#method-i-get_media_info">#get_media_info</a>
94
+
95
+ <li><a href="#method-i-get_media_sizes">#get_media_sizes</a>
96
+
97
+ <li><a href="#method-i-get_set_info">#get_set_info</a>
98
+
99
+ <li><a href="#method-i-get_user_info">#get_user_info</a>
100
+
101
+ <li><a href="#method-i-media_from_contacts">#media_from_contacts</a>
102
+
103
+ <li><a href="#method-i-media_from_set">#media_from_set</a>
104
+
105
+ <li><a href="#method-i-post">#post</a>
106
+
107
+ <li><a href="#method-i-public_media_from_user">#public_media_from_user</a>
108
+
109
+ <li><a href="#method-i-public_media_from_user_contacts">#public_media_from_user_contacts</a>
110
+
111
+ <li><a href="#method-i-remove_media_tag">#remove_media_tag</a>
112
+
113
+ <li><a href="#method-i-search_media">#search_media</a>
114
+
115
+ <li><a href="#method-i-sets_from_user">#sets_from_user</a>
116
+
117
+ </ul>
118
+ </nav>
119
+
120
+ </div>
121
+
122
+ <div id="project-metadata">
123
+ <nav id="fileindex-section" class="section project-section">
124
+ <h3 class="section-header">Pages</h3>
125
+
126
+ <ul>
127
+
128
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
129
+
130
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
131
+
132
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
133
+
134
+ </ul>
135
+ </nav>
136
+
137
+ <nav id="classindex-section" class="section project-section">
138
+ <h3 class="section-header">Class and Module Index</h3>
139
+
140
+ <ul class="link-list">
141
+
142
+ <li><a href="../Flickrie.html">Flickrie</a>
143
+
144
+ <li><a href="../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
145
+
146
+ <li><a href="../Flickrie/Client.html">Flickrie::Client</a>
147
+
148
+ <li><a href="../Flickrie/Error.html">Flickrie::Error</a>
149
+
150
+ <li><a href="../Flickrie/Instance.html">Flickrie::Instance</a>
151
+
152
+ <li><a href="../Flickrie/License.html">Flickrie::License</a>
153
+
154
+ <li><a href="../Flickrie/Location.html">Flickrie::Location</a>
155
+
156
+ <li><a href="../Flickrie/Media.html">Flickrie::Media</a>
157
+
158
+ <li><a href="../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
159
+
160
+ <li><a href="../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
161
+
162
+ <li><a href="../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
163
+
164
+ <li><a href="../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
165
+
166
+ <li><a href="../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
167
+
168
+ <li><a href="../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
169
+
170
+ <li><a href="../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
171
+
172
+ <li><a href="../Flickrie/OAuth.html">Flickrie::OAuth</a>
173
+
174
+ <li><a href="../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
175
+
176
+ <li><a href="../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
177
+
178
+ <li><a href="../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
179
+
180
+ <li><a href="../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
181
+
182
+ <li><a href="../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
183
+
184
+ <li><a href="../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
185
+
186
+ <li><a href="../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
187
+
188
+ <li><a href="../Flickrie/Photo.html">Flickrie::Photo</a>
189
+
190
+ <li><a href="../Flickrie/Set.html">Flickrie::Set</a>
191
+
192
+ <li><a href="../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
193
+
194
+ <li><a href="../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
195
+
196
+ <li><a href="../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
197
+
198
+ <li><a href="../Flickrie/User.html">Flickrie::User</a>
199
+
200
+ <li><a href="../Flickrie/Video.html">Flickrie::Video</a>
201
+
202
+ </ul>
203
+ </nav>
204
+
205
+ </div>
206
+ </nav>
207
+
208
+ <div id="documentation">
209
+ <h1 class="class">class Flickrie::Client</h1>
210
+
211
+ <div id="description" class="description">
212
+
213
+ </div><!-- description -->
214
+
215
+
216
+
217
+
218
+ <section id="5Buntitled-5D" class="documentation-section">
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+ <!-- Methods -->
228
+
229
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
230
+ <h3 class="section-header">Public Instance Methods</h3>
231
+
232
+
233
+ <div id="method-i-add_media_tags" class="method-detail ">
234
+
235
+ <div class="method-heading">
236
+ <span class="method-name">add_media_tags</span><span
237
+ class="method-args">(media_id, tags)</span>
238
+ <span class="method-click-advice">click to toggle source</span>
239
+ </div>
240
+
241
+
242
+ <div class="method-description">
243
+
244
+ <p>photos</p>
245
+
246
+
247
+
248
+ <div class="method-source-code" id="add_media_tags-source">
249
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 110</span>
250
+ <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>)
251
+ <span class="ruby-identifier">post</span> <span class="ruby-string">'flickr.photos.addTags'</span>, <span class="ruby-value">:photo_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">media_id</span>, <span class="ruby-value">:tags</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">tags</span>
252
+ <span class="ruby-keyword">end</span></pre>
253
+ </div><!-- add_media_tags-source -->
254
+
255
+ </div>
256
+
257
+
258
+
259
+
260
+ </div><!-- add_media_tags-method -->
261
+
262
+
263
+ <div id="method-i-check_upload_tickets" class="method-detail ">
264
+
265
+ <div class="method-heading">
266
+ <span class="method-name">check_upload_tickets</span><span
267
+ class="method-args">(tickets)</span>
268
+ <span class="method-click-advice">click to toggle source</span>
269
+ </div>
270
+
271
+
272
+ <div class="method-description">
273
+
274
+ <p>photos.upload</p>
275
+
276
+
277
+
278
+ <div class="method-source-code" id="check_upload_tickets-source">
279
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 156</span>
280
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">check_upload_tickets</span>(<span class="ruby-identifier">tickets</span>)
281
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.upload.checkTickets'</span>, <span class="ruby-value">:tickets</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">tickets</span>
282
+ <span class="ruby-keyword">end</span></pre>
283
+ </div><!-- check_upload_tickets-source -->
284
+
285
+ </div>
286
+
287
+
288
+
289
+
290
+ </div><!-- check_upload_tickets-method -->
291
+
292
+
293
+ <div id="method-i-delete_media" class="method-detail ">
294
+
295
+ <div class="method-heading">
296
+ <span class="method-name">delete_media</span><span
297
+ class="method-args">(media_id)</span>
298
+ <span class="method-click-advice">click to toggle source</span>
299
+ </div>
300
+
301
+
302
+ <div class="method-description">
303
+
304
+
305
+
306
+
307
+
308
+ <div class="method-source-code" id="delete_media-source">
309
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 114</span>
310
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">delete_media</span>(<span class="ruby-identifier">media_id</span>)
311
+ <span class="ruby-identifier">post</span> <span class="ruby-string">'flickr.photos.delete'</span>, <span class="ruby-value">:photo_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">media_id</span>
312
+ <span class="ruby-keyword">end</span></pre>
313
+ </div><!-- delete_media-source -->
314
+
315
+ </div>
316
+
317
+
318
+
319
+
320
+ </div><!-- delete_media-method -->
321
+
322
+
323
+ <div id="method-i-find_user_by_email" class="method-detail ">
324
+
325
+ <div class="method-heading">
326
+ <span class="method-name">find_user_by_email</span><span
327
+ class="method-args">(email)</span>
328
+ <span class="method-click-advice">click to toggle source</span>
329
+ </div>
330
+
331
+
332
+ <div class="method-description">
333
+
334
+ <p>people</p>
335
+
336
+
337
+
338
+ <div class="method-source-code" id="find_user_by_email-source">
339
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 92</span>
340
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">find_user_by_email</span>(<span class="ruby-identifier">email</span>)
341
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.people.findByEmail'</span>, <span class="ruby-value">:find_email</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">email</span>
342
+ <span class="ruby-keyword">end</span></pre>
343
+ </div><!-- find_user_by_email-source -->
344
+
345
+ </div>
346
+
347
+
348
+
349
+
350
+ </div><!-- find_user_by_email-method -->
351
+
352
+
353
+ <div id="method-i-find_user_by_username" class="method-detail ">
354
+
355
+ <div class="method-heading">
356
+ <span class="method-name">find_user_by_username</span><span
357
+ class="method-args">(username)</span>
358
+ <span class="method-click-advice">click to toggle source</span>
359
+ </div>
360
+
361
+
362
+ <div class="method-description">
363
+
364
+
365
+
366
+
367
+
368
+ <div class="method-source-code" id="find_user_by_username-source">
369
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 96</span>
370
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">find_user_by_username</span>(<span class="ruby-identifier">username</span>)
371
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.people.findByUsername'</span>, <span class="ruby-value">:username</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">username</span>
372
+ <span class="ruby-keyword">end</span></pre>
373
+ </div><!-- find_user_by_username-source -->
374
+
375
+ </div>
376
+
377
+
378
+
379
+
380
+ </div><!-- find_user_by_username-method -->
381
+
382
+
383
+ <div id="method-i-get" class="method-detail ">
384
+
385
+ <div class="method-heading">
386
+ <span class="method-name">get</span><span
387
+ class="method-args">(method, params = {})</span>
388
+ <span class="method-click-advice">click to toggle source</span>
389
+ </div>
390
+
391
+
392
+ <div class="method-description">
393
+
394
+
395
+
396
+
397
+
398
+ <div class="method-source-code" id="get-source">
399
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 77</span>
400
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">params</span> = {})
401
+ <span class="ruby-keyword">super</span>() <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">req</span><span class="ruby-operator">|</span>
402
+ <span class="ruby-identifier">req</span>.<span class="ruby-identifier">params</span>[<span class="ruby-value">:method</span>] = <span class="ruby-identifier">method</span>
403
+ <span class="ruby-identifier">req</span>.<span class="ruby-identifier">params</span>.<span class="ruby-identifier">update</span>(<span class="ruby-identifier">params</span>)
404
+ <span class="ruby-keyword">end</span>
405
+ <span class="ruby-keyword">end</span></pre>
406
+ </div><!-- get-source -->
407
+
408
+ </div>
409
+
410
+
411
+
412
+
413
+ </div><!-- get-method -->
414
+
415
+
416
+ <div id="method-i-get_licenses" class="method-detail ">
417
+
418
+ <div class="method-heading">
419
+ <span class="method-name">get_licenses</span><span
420
+ class="method-args">()</span>
421
+ <span class="method-click-advice">click to toggle source</span>
422
+ </div>
423
+
424
+
425
+ <div class="method-description">
426
+
427
+ <p>licenses</p>
428
+
429
+
430
+
431
+ <div class="method-source-code" id="get_licenses-source">
432
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 161</span>
433
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_licenses</span>
434
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.licenses.getInfo'</span>
435
+ <span class="ruby-keyword">end</span></pre>
436
+ </div><!-- get_licenses-source -->
437
+
438
+ </div>
439
+
440
+
441
+
442
+
443
+ </div><!-- get_licenses-method -->
444
+
445
+
446
+ <div id="method-i-get_media_context" class="method-detail ">
447
+
448
+ <div class="method-heading">
449
+ <span class="method-name">get_media_context</span><span
450
+ class="method-args">(media_id)</span>
451
+ <span class="method-click-advice">click to toggle source</span>
452
+ </div>
453
+
454
+
455
+ <div class="method-description">
456
+
457
+
458
+
459
+
460
+
461
+ <div class="method-source-code" id="get_media_context-source">
462
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 127</span>
463
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_media_context</span>(<span class="ruby-identifier">media_id</span>)
464
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.getContext'</span>, <span class="ruby-value">:photo_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">media_id</span>
465
+ <span class="ruby-keyword">end</span></pre>
466
+ </div><!-- get_media_context-source -->
467
+
468
+ </div>
469
+
470
+
471
+
472
+
473
+ </div><!-- get_media_context-method -->
474
+
475
+
476
+ <div id="method-i-get_media_counts" class="method-detail ">
477
+
478
+ <div class="method-heading">
479
+ <span class="method-name">get_media_counts</span><span
480
+ class="method-args">(params = {})</span>
481
+ <span class="method-click-advice">click to toggle source</span>
482
+ </div>
483
+
484
+
485
+ <div class="method-description">
486
+
487
+
488
+
489
+
490
+
491
+ <div class="method-source-code" id="get_media_counts-source">
492
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 131</span>
493
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_media_counts</span>(<span class="ruby-identifier">params</span> = {})
494
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.getCounts'</span>, <span class="ruby-identifier">params</span>
495
+ <span class="ruby-keyword">end</span></pre>
496
+ </div><!-- get_media_counts-source -->
497
+
498
+ </div>
499
+
500
+
501
+
502
+
503
+ </div><!-- get_media_counts-method -->
504
+
505
+
506
+ <div id="method-i-get_media_exif" class="method-detail ">
507
+
508
+ <div class="method-heading">
509
+ <span class="method-name">get_media_exif</span><span
510
+ class="method-args">(media_id, params = {})</span>
511
+ <span class="method-click-advice">click to toggle source</span>
512
+ </div>
513
+
514
+
515
+ <div class="method-description">
516
+
517
+
518
+
519
+
520
+
521
+ <div class="method-source-code" id="get_media_exif-source">
522
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 135</span>
523
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_media_exif</span>(<span class="ruby-identifier">media_id</span>, <span class="ruby-identifier">params</span> = {})
524
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.getExif'</span>, {<span class="ruby-value">:photo_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">media_id</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">params</span>)
525
+ <span class="ruby-keyword">end</span></pre>
526
+ </div><!-- get_media_exif-source -->
527
+
528
+ </div>
529
+
530
+
531
+
532
+
533
+ </div><!-- get_media_exif-method -->
534
+
535
+
536
+ <div id="method-i-get_media_info" class="method-detail ">
537
+
538
+ <div class="method-heading">
539
+ <span class="method-name">get_media_info</span><span
540
+ class="method-args">(media_id)</span>
541
+ <span class="method-click-advice">click to toggle source</span>
542
+ </div>
543
+
544
+
545
+ <div class="method-description">
546
+
547
+
548
+
549
+
550
+
551
+ <div class="method-source-code" id="get_media_info-source">
552
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 139</span>
553
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_media_info</span>(<span class="ruby-identifier">media_id</span>)
554
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.getInfo'</span>, <span class="ruby-value">:photo_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">media_id</span>
555
+ <span class="ruby-keyword">end</span></pre>
556
+ </div><!-- get_media_info-source -->
557
+
558
+ </div>
559
+
560
+
561
+
562
+
563
+ </div><!-- get_media_info-method -->
564
+
565
+
566
+ <div id="method-i-get_media_sizes" class="method-detail ">
567
+
568
+ <div class="method-heading">
569
+ <span class="method-name">get_media_sizes</span><span
570
+ class="method-args">(media_id)</span>
571
+ <span class="method-click-advice">click to toggle source</span>
572
+ </div>
573
+
574
+
575
+ <div class="method-description">
576
+
577
+
578
+
579
+
580
+
581
+ <div class="method-source-code" id="get_media_sizes-source">
582
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 143</span>
583
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_media_sizes</span>(<span class="ruby-identifier">media_id</span>)
584
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.getSizes'</span>, <span class="ruby-value">:photo_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">media_id</span>
585
+ <span class="ruby-keyword">end</span></pre>
586
+ </div><!-- get_media_sizes-source -->
587
+
588
+ </div>
589
+
590
+
591
+
592
+
593
+ </div><!-- get_media_sizes-method -->
594
+
595
+
596
+ <div id="method-i-get_set_info" class="method-detail ">
597
+
598
+ <div class="method-heading">
599
+ <span class="method-name">get_set_info</span><span
600
+ class="method-args">(set_id)</span>
601
+ <span class="method-click-advice">click to toggle source</span>
602
+ </div>
603
+
604
+
605
+ <div class="method-description">
606
+
607
+ <p>photosets</p>
608
+
609
+
610
+
611
+ <div class="method-source-code" id="get_set_info-source">
612
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 166</span>
613
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_set_info</span>(<span class="ruby-identifier">set_id</span>)
614
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photosets.getInfo'</span>, <span class="ruby-value">:photoset_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">set_id</span>
615
+ <span class="ruby-keyword">end</span></pre>
616
+ </div><!-- get_set_info-source -->
617
+
618
+ </div>
619
+
620
+
621
+
622
+
623
+ </div><!-- get_set_info-method -->
624
+
625
+
626
+ <div id="method-i-get_user_info" class="method-detail ">
627
+
628
+ <div class="method-heading">
629
+ <span class="method-name">get_user_info</span><span
630
+ class="method-args">(user_nsid)</span>
631
+ <span class="method-click-advice">click to toggle source</span>
632
+ </div>
633
+
634
+
635
+ <div class="method-description">
636
+
637
+
638
+
639
+
640
+
641
+ <div class="method-source-code" id="get_user_info-source">
642
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 100</span>
643
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_user_info</span>(<span class="ruby-identifier">user_nsid</span>)
644
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.people.getInfo'</span>, <span class="ruby-value">:user_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">user_nsid</span>
645
+ <span class="ruby-keyword">end</span></pre>
646
+ </div><!-- get_user_info-source -->
647
+
648
+ </div>
649
+
650
+
651
+
652
+
653
+ </div><!-- get_user_info-method -->
654
+
655
+
656
+ <div id="method-i-media_from_contacts" class="method-detail ">
657
+
658
+ <div class="method-heading">
659
+ <span class="method-name">media_from_contacts</span><span
660
+ class="method-args">(params = {})</span>
661
+ <span class="method-click-advice">click to toggle source</span>
662
+ </div>
663
+
664
+
665
+ <div class="method-description">
666
+
667
+
668
+
669
+
670
+
671
+ <div class="method-source-code" id="media_from_contacts-source">
672
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 118</span>
673
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">media_from_contacts</span>(<span class="ruby-identifier">params</span> = {})
674
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.getContactsPhotos'</span>, <span class="ruby-identifier">ensure_media</span>(<span class="ruby-identifier">params</span>)
675
+ <span class="ruby-keyword">end</span></pre>
676
+ </div><!-- media_from_contacts-source -->
677
+
678
+ </div>
679
+
680
+
681
+
682
+
683
+ </div><!-- media_from_contacts-method -->
684
+
685
+
686
+ <div id="method-i-media_from_set" class="method-detail ">
687
+
688
+ <div class="method-heading">
689
+ <span class="method-name">media_from_set</span><span
690
+ class="method-args">(set_id, params = {})</span>
691
+ <span class="method-click-advice">click to toggle source</span>
692
+ </div>
693
+
694
+
695
+ <div class="method-description">
696
+
697
+
698
+
699
+
700
+
701
+ <div class="method-source-code" id="media_from_set-source">
702
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 174</span>
703
+ <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> = {})
704
+ <span class="ruby-identifier">params</span> = {<span class="ruby-value">:photoset_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">set_id</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">params</span>)
705
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photosets.getPhotos'</span>, <span class="ruby-identifier">ensure_media</span>(<span class="ruby-identifier">params</span>)
706
+ <span class="ruby-keyword">end</span></pre>
707
+ </div><!-- media_from_set-source -->
708
+
709
+ </div>
710
+
711
+
712
+
713
+
714
+ </div><!-- media_from_set-method -->
715
+
716
+
717
+ <div id="method-i-post" class="method-detail ">
718
+
719
+ <div class="method-heading">
720
+ <span class="method-name">post</span><span
721
+ class="method-args">(method, params = {})</span>
722
+ <span class="method-click-advice">click to toggle source</span>
723
+ </div>
724
+
725
+
726
+ <div class="method-description">
727
+
728
+
729
+
730
+
731
+
732
+ <div class="method-source-code" id="post-source">
733
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 84</span>
734
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">post</span>(<span class="ruby-identifier">method</span>, <span class="ruby-identifier">params</span> = {})
735
+ <span class="ruby-keyword">super</span>() <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">req</span><span class="ruby-operator">|</span>
736
+ <span class="ruby-identifier">req</span>.<span class="ruby-identifier">params</span>[<span class="ruby-value">:method</span>] = <span class="ruby-identifier">method</span>
737
+ <span class="ruby-identifier">req</span>.<span class="ruby-identifier">params</span>.<span class="ruby-identifier">update</span>(<span class="ruby-identifier">params</span>)
738
+ <span class="ruby-keyword">end</span>
739
+ <span class="ruby-keyword">end</span></pre>
740
+ </div><!-- post-source -->
741
+
742
+ </div>
743
+
744
+
745
+
746
+
747
+ </div><!-- post-method -->
748
+
749
+
750
+ <div id="method-i-public_media_from_user" class="method-detail ">
751
+
752
+ <div class="method-heading">
753
+ <span class="method-name">public_media_from_user</span><span
754
+ class="method-args">(user_nsid, params = {})</span>
755
+ <span class="method-click-advice">click to toggle source</span>
756
+ </div>
757
+
758
+
759
+ <div class="method-description">
760
+
761
+
762
+
763
+
764
+
765
+ <div class="method-source-code" id="public_media_from_user-source">
766
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 104</span>
767
+ <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> = {})
768
+ <span class="ruby-identifier">params</span> = {<span class="ruby-value">:user_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">user_nsid</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">params</span>)
769
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.people.getPublicPhotos'</span>, <span class="ruby-identifier">ensure_media</span>(<span class="ruby-identifier">params</span>)
770
+ <span class="ruby-keyword">end</span></pre>
771
+ </div><!-- public_media_from_user-source -->
772
+
773
+ </div>
774
+
775
+
776
+
777
+
778
+ </div><!-- public_media_from_user-method -->
779
+
780
+
781
+ <div id="method-i-public_media_from_user_contacts" class="method-detail ">
782
+
783
+ <div class="method-heading">
784
+ <span class="method-name">public_media_from_user_contacts</span><span
785
+ class="method-args">(user_nsid, params = {})</span>
786
+ <span class="method-click-advice">click to toggle source</span>
787
+ </div>
788
+
789
+
790
+ <div class="method-description">
791
+
792
+
793
+
794
+
795
+
796
+ <div class="method-source-code" id="public_media_from_user_contacts-source">
797
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 122</span>
798
+ <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> = {})
799
+ <span class="ruby-identifier">params</span> = {<span class="ruby-value">:user_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">user_nsid</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">params</span>)
800
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.getContactsPublicPhotos'</span>, <span class="ruby-identifier">ensure_media</span>(<span class="ruby-identifier">params</span>)
801
+ <span class="ruby-keyword">end</span></pre>
802
+ </div><!-- public_media_from_user_contacts-source -->
803
+
804
+ </div>
805
+
806
+
807
+
808
+
809
+ </div><!-- public_media_from_user_contacts-method -->
810
+
811
+
812
+ <div id="method-i-remove_media_tag" class="method-detail ">
813
+
814
+ <div class="method-heading">
815
+ <span class="method-name">remove_media_tag</span><span
816
+ class="method-args">(tag_id)</span>
817
+ <span class="method-click-advice">click to toggle source</span>
818
+ </div>
819
+
820
+
821
+ <div class="method-description">
822
+
823
+
824
+
825
+
826
+
827
+ <div class="method-source-code" id="remove_media_tag-source">
828
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 147</span>
829
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_media_tag</span>(<span class="ruby-identifier">tag_id</span>)
830
+ <span class="ruby-identifier">post</span> <span class="ruby-string">'flickr.photos.removeTag'</span>, <span class="ruby-value">:tag_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">tag_id</span>
831
+ <span class="ruby-keyword">end</span></pre>
832
+ </div><!-- remove_media_tag-source -->
833
+
834
+ </div>
835
+
836
+
837
+
838
+
839
+ </div><!-- remove_media_tag-method -->
840
+
841
+
842
+ <div id="method-i-search_media" class="method-detail ">
843
+
844
+ <div class="method-heading">
845
+ <span class="method-name">search_media</span><span
846
+ class="method-args">(params = {})</span>
847
+ <span class="method-click-advice">click to toggle source</span>
848
+ </div>
849
+
850
+
851
+ <div class="method-description">
852
+
853
+
854
+
855
+
856
+
857
+ <div class="method-source-code" id="search_media-source">
858
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 151</span>
859
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">search_media</span>(<span class="ruby-identifier">params</span> = {})
860
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photos.search'</span>, <span class="ruby-identifier">ensure_media</span>(<span class="ruby-identifier">params</span>)
861
+ <span class="ruby-keyword">end</span></pre>
862
+ </div><!-- search_media-source -->
863
+
864
+ </div>
865
+
866
+
867
+
868
+
869
+ </div><!-- search_media-method -->
870
+
871
+
872
+ <div id="method-i-sets_from_user" class="method-detail ">
873
+
874
+ <div class="method-heading">
875
+ <span class="method-name">sets_from_user</span><span
876
+ class="method-args">(user_nsid)</span>
877
+ <span class="method-click-advice">click to toggle source</span>
878
+ </div>
879
+
880
+
881
+ <div class="method-description">
882
+
883
+
884
+
885
+
886
+
887
+ <div class="method-source-code" id="sets_from_user-source">
888
+ <pre><span class="ruby-comment"># File lib/flickrie/client.rb, line 170</span>
889
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">sets_from_user</span>(<span class="ruby-identifier">user_nsid</span>)
890
+ <span class="ruby-identifier">get</span> <span class="ruby-string">'flickr.photosets.getList'</span>, <span class="ruby-value">:user_id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">user_nsid</span>
891
+ <span class="ruby-keyword">end</span></pre>
892
+ </div><!-- sets_from_user-source -->
893
+
894
+ </div>
895
+
896
+
897
+
898
+
899
+ </div><!-- sets_from_user-method -->
900
+
901
+
902
+ </section><!-- public-instance-method-details -->
903
+
904
+ </section><!-- 5Buntitled-5D -->
905
+
906
+ </div><!-- documentation -->
907
+
908
+
909
+ <footer id="validator-badges">
910
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
911
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
912
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
913
+ </footer>
914
+