flickrie 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/README.md +6 -4
- data/Rakefile +9 -8
- data/api_methods.md +297 -0
- data/doc/Flickrie.html +364 -0
- data/doc/Flickrie/.DS_Store +0 -0
- data/doc/Flickrie/ApiMethods.html +1692 -0
- data/doc/Flickrie/Client.html +914 -0
- data/doc/Flickrie/Error.html +187 -0
- data/doc/Flickrie/Instance.html +344 -0
- data/doc/Flickrie/License.html +288 -0
- data/doc/Flickrie/Location.html +233 -0
- data/doc/Flickrie/Media.html +1689 -0
- data/doc/Flickrie/Media/ClassMethods.html +509 -0
- data/doc/Flickrie/Media/Count.html +314 -0
- data/doc/Flickrie/Media/Exif.html +276 -0
- data/doc/Flickrie/Media/Note.html +362 -0
- data/doc/Flickrie/Media/Tag.html +425 -0
- data/doc/Flickrie/Media/Ticket.html +425 -0
- data/doc/Flickrie/Media/Visibility.html +359 -0
- data/doc/Flickrie/MediaCount.html +314 -0
- data/doc/Flickrie/OAuth.html +334 -0
- data/doc/Flickrie/OAuth/AccessToken.html +187 -0
- data/doc/Flickrie/OAuth/Error.html +187 -0
- data/doc/Flickrie/OAuth/ParseResponseParams.html +187 -0
- data/doc/Flickrie/OAuth/RequestToken.html +241 -0
- data/doc/Flickrie/OAuth/StatusCheck.html +235 -0
- data/doc/Flickrie/OAuth/Token.html +227 -0
- data/doc/Flickrie/OAuthStatusCheck.html +236 -0
- data/doc/Flickrie/Photo.html +913 -0
- data/doc/Flickrie/Set.html +998 -0
- data/doc/Flickrie/StatusCheck.html +235 -0
- data/doc/Flickrie/UploadClient.html +284 -0
- data/doc/Flickrie/UploadStatusCheck.html +235 -0
- data/doc/Flickrie/User.html +875 -0
- data/doc/Flickrie/Video.html +601 -0
- data/doc/Gemfile.html +163 -0
- data/doc/LICENSE.html +165 -0
- data/doc/Rakefile.html +168 -0
- data/doc/created.rid +25 -0
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +140 -0
- data/doc/js/darkfish.js +153 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +642 -0
- data/flickrie.gemspec +7 -6
- data/lib/flickrie/api_methods.rb +26 -1
- data/lib/flickrie/client.rb +8 -0
- data/lib/flickrie/media.rb +24 -0
- data/lib/flickrie/media/exif.rb +18 -0
- data/lib/flickrie/media_count.rb +28 -0
- data/lib/flickrie/version.rb +1 -1
- data/test/license_test.rb +0 -1
- data/test/location_test.rb +0 -1
- data/test/media_count_test.rb +17 -0
- data/test/media_test.rb +0 -1
- data/test/oauth_test.rb +1 -2
- data/test/photo_test.rb +13 -1
- data/test/set_test.rb +0 -1
- data/test/test.rb +1 -1
- data/test/user_test.rb +0 -1
- data/test/video_test.rb +12 -1
- metadata +87 -13
@@ -0,0 +1,362 @@
|
|
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::Media::Note - 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/media/note.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link">Object
|
63
|
+
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<nav id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list">
|
72
|
+
|
73
|
+
<li><a href="#method-c-new">::new</a>
|
74
|
+
|
75
|
+
<li><a href="#method-i-to_s">#to_s</a>
|
76
|
+
|
77
|
+
</ul>
|
78
|
+
</nav>
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div id="project-metadata">
|
83
|
+
<nav id="fileindex-section" class="section project-section">
|
84
|
+
<h3 class="section-header">Pages</h3>
|
85
|
+
|
86
|
+
<ul>
|
87
|
+
|
88
|
+
<li class="file"><a href="../../Gemfile.html">Gemfile</a>
|
89
|
+
|
90
|
+
<li class="file"><a href="../../LICENSE.html">LICENSE</a>
|
91
|
+
|
92
|
+
<li class="file"><a href="../../Rakefile.html">Rakefile</a>
|
93
|
+
|
94
|
+
</ul>
|
95
|
+
</nav>
|
96
|
+
|
97
|
+
<nav id="classindex-section" class="section project-section">
|
98
|
+
<h3 class="section-header">Class and Module Index</h3>
|
99
|
+
|
100
|
+
<ul class="link-list">
|
101
|
+
|
102
|
+
<li><a href="../../Flickrie.html">Flickrie</a>
|
103
|
+
|
104
|
+
<li><a href="../../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
|
105
|
+
|
106
|
+
<li><a href="../../Flickrie/Client.html">Flickrie::Client</a>
|
107
|
+
|
108
|
+
<li><a href="../../Flickrie/Error.html">Flickrie::Error</a>
|
109
|
+
|
110
|
+
<li><a href="../../Flickrie/Instance.html">Flickrie::Instance</a>
|
111
|
+
|
112
|
+
<li><a href="../../Flickrie/License.html">Flickrie::License</a>
|
113
|
+
|
114
|
+
<li><a href="../../Flickrie/Location.html">Flickrie::Location</a>
|
115
|
+
|
116
|
+
<li><a href="../../Flickrie/Media.html">Flickrie::Media</a>
|
117
|
+
|
118
|
+
<li><a href="../../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
|
119
|
+
|
120
|
+
<li><a href="../../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
|
121
|
+
|
122
|
+
<li><a href="../../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
|
123
|
+
|
124
|
+
<li><a href="../../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
|
125
|
+
|
126
|
+
<li><a href="../../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
|
127
|
+
|
128
|
+
<li><a href="../../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
|
129
|
+
|
130
|
+
<li><a href="../../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
|
131
|
+
|
132
|
+
<li><a href="../../Flickrie/OAuth.html">Flickrie::OAuth</a>
|
133
|
+
|
134
|
+
<li><a href="../../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
|
135
|
+
|
136
|
+
<li><a href="../../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
|
137
|
+
|
138
|
+
<li><a href="../../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
|
139
|
+
|
140
|
+
<li><a href="../../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
|
141
|
+
|
142
|
+
<li><a href="../../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
|
143
|
+
|
144
|
+
<li><a href="../../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
|
145
|
+
|
146
|
+
<li><a href="../../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
|
147
|
+
|
148
|
+
<li><a href="../../Flickrie/Photo.html">Flickrie::Photo</a>
|
149
|
+
|
150
|
+
<li><a href="../../Flickrie/Set.html">Flickrie::Set</a>
|
151
|
+
|
152
|
+
<li><a href="../../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
|
153
|
+
|
154
|
+
<li><a href="../../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
|
155
|
+
|
156
|
+
<li><a href="../../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
|
157
|
+
|
158
|
+
<li><a href="../../Flickrie/User.html">Flickrie::User</a>
|
159
|
+
|
160
|
+
<li><a href="../../Flickrie/Video.html">Flickrie::Video</a>
|
161
|
+
|
162
|
+
</ul>
|
163
|
+
</nav>
|
164
|
+
|
165
|
+
</div>
|
166
|
+
</nav>
|
167
|
+
|
168
|
+
<div id="documentation">
|
169
|
+
<h1 class="class">class Flickrie::Media::Note</h1>
|
170
|
+
|
171
|
+
<div id="description" class="description">
|
172
|
+
|
173
|
+
</div><!-- description -->
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
<!-- Attributes -->
|
187
|
+
<section id="attribute-method-details" class="method-section section">
|
188
|
+
<h3 class="section-header">Attributes</h3>
|
189
|
+
|
190
|
+
|
191
|
+
<div id="attribute-i-author" class="method-detail">
|
192
|
+
<div class="method-heading attribute-method-heading">
|
193
|
+
<span class="method-name">author</span><span
|
194
|
+
class="attribute-access-type">[R]</span>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
<div class="method-description">
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
</div>
|
202
|
+
</div>
|
203
|
+
|
204
|
+
<div id="attribute-i-content" class="method-detail">
|
205
|
+
<div class="method-heading attribute-method-heading">
|
206
|
+
<span class="method-name">content</span><span
|
207
|
+
class="attribute-access-type">[R]</span>
|
208
|
+
</div>
|
209
|
+
|
210
|
+
<div class="method-description">
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
</div>
|
215
|
+
</div>
|
216
|
+
|
217
|
+
<div id="attribute-i-coordinates" class="method-detail">
|
218
|
+
<div class="method-heading attribute-method-heading">
|
219
|
+
<span class="method-name">coordinates</span><span
|
220
|
+
class="attribute-access-type">[R]</span>
|
221
|
+
</div>
|
222
|
+
|
223
|
+
<div class="method-description">
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
</div>
|
228
|
+
</div>
|
229
|
+
|
230
|
+
<div id="attribute-i-height" class="method-detail">
|
231
|
+
<div class="method-heading attribute-method-heading">
|
232
|
+
<span class="method-name">height</span><span
|
233
|
+
class="attribute-access-type">[R]</span>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
<div class="method-description">
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
</div>
|
241
|
+
</div>
|
242
|
+
|
243
|
+
<div id="attribute-i-id" class="method-detail">
|
244
|
+
<div class="method-heading attribute-method-heading">
|
245
|
+
<span class="method-name">id</span><span
|
246
|
+
class="attribute-access-type">[R]</span>
|
247
|
+
</div>
|
248
|
+
|
249
|
+
<div class="method-description">
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
</div>
|
254
|
+
</div>
|
255
|
+
|
256
|
+
<div id="attribute-i-width" class="method-detail">
|
257
|
+
<div class="method-heading attribute-method-heading">
|
258
|
+
<span class="method-name">width</span><span
|
259
|
+
class="attribute-access-type">[R]</span>
|
260
|
+
</div>
|
261
|
+
|
262
|
+
<div class="method-description">
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</div>
|
267
|
+
</div>
|
268
|
+
|
269
|
+
</section><!-- attribute-method-details -->
|
270
|
+
|
271
|
+
|
272
|
+
<!-- Methods -->
|
273
|
+
|
274
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
275
|
+
<h3 class="section-header">Public Class Methods</h3>
|
276
|
+
|
277
|
+
|
278
|
+
<div id="method-c-new" class="method-detail ">
|
279
|
+
|
280
|
+
<div class="method-heading">
|
281
|
+
<span class="method-name">new</span><span
|
282
|
+
class="method-args">(hash)</span>
|
283
|
+
<span class="method-click-advice">click to toggle source</span>
|
284
|
+
</div>
|
285
|
+
|
286
|
+
|
287
|
+
<div class="method-description">
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
<div class="method-source-code" id="new-source">
|
294
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/note.rb, line 11</span>
|
295
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">hash</span>)
|
296
|
+
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">hash</span>[<span class="ruby-string">'id'</span>]
|
297
|
+
<span class="ruby-ivar">@author</span> = <span class="ruby-constant">User</span>.<span class="ruby-identifier">new</span> <span class="ruby-string">'nsid'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">hash</span>[<span class="ruby-string">'author'</span>],
|
298
|
+
<span class="ruby-string">'username'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">hash</span>[<span class="ruby-string">'authorname'</span>]
|
299
|
+
<span class="ruby-ivar">@content</span> = <span class="ruby-identifier">hash</span>[<span class="ruby-string">'_content'</span>]
|
300
|
+
<span class="ruby-ivar">@coordinates</span> = [<span class="ruby-identifier">hash</span>[<span class="ruby-string">'x'</span>].<span class="ruby-identifier">to_i</span>, <span class="ruby-identifier">hash</span>[<span class="ruby-string">'y'</span>].<span class="ruby-identifier">to_i</span>]
|
301
|
+
<span class="ruby-ivar">@width</span> = <span class="ruby-identifier">hash</span>[<span class="ruby-string">'w'</span>].<span class="ruby-identifier">to_i</span>
|
302
|
+
<span class="ruby-ivar">@height</span> = <span class="ruby-identifier">hash</span>[<span class="ruby-string">'h'</span>].<span class="ruby-identifier">to_i</span>
|
303
|
+
<span class="ruby-keyword">end</span></pre>
|
304
|
+
</div><!-- new-source -->
|
305
|
+
|
306
|
+
</div>
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
</div><!-- new-method -->
|
312
|
+
|
313
|
+
|
314
|
+
</section><!-- public-class-method-details -->
|
315
|
+
|
316
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
317
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
318
|
+
|
319
|
+
|
320
|
+
<div id="method-i-to_s" class="method-detail ">
|
321
|
+
|
322
|
+
<div class="method-heading">
|
323
|
+
<span class="method-name">to_s</span><span
|
324
|
+
class="method-args">()</span>
|
325
|
+
<span class="method-click-advice">click to toggle source</span>
|
326
|
+
</div>
|
327
|
+
|
328
|
+
|
329
|
+
<div class="method-description">
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
<div class="method-source-code" id="to_s-source">
|
336
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/note.rb, line 7</span>
|
337
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
338
|
+
<span class="ruby-ivar">@content</span>
|
339
|
+
<span class="ruby-keyword">end</span></pre>
|
340
|
+
</div><!-- to_s-source -->
|
341
|
+
|
342
|
+
</div>
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
</div><!-- to_s-method -->
|
348
|
+
|
349
|
+
|
350
|
+
</section><!-- public-instance-method-details -->
|
351
|
+
|
352
|
+
</section><!-- 5Buntitled-5D -->
|
353
|
+
|
354
|
+
</div><!-- documentation -->
|
355
|
+
|
356
|
+
|
357
|
+
<footer id="validator-badges">
|
358
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
359
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
360
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
361
|
+
</footer>
|
362
|
+
|
@@ -0,0 +1,425 @@
|
|
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::Media::Tag - 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/media/tag.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link">Object
|
63
|
+
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<nav id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list">
|
72
|
+
|
73
|
+
<li><a href="#method-c-new">::new</a>
|
74
|
+
|
75
|
+
<li><a href="#method-i-author">#author</a>
|
76
|
+
|
77
|
+
<li><a href="#method-i-content">#content</a>
|
78
|
+
|
79
|
+
<li><a href="#method-i-id">#id</a>
|
80
|
+
|
81
|
+
<li><a href="#method-i-machine_tag-3F">#machine_tag?</a>
|
82
|
+
|
83
|
+
<li><a href="#method-i-raw">#raw</a>
|
84
|
+
|
85
|
+
<li><a href="#method-i-to_s">#to_s</a>
|
86
|
+
|
87
|
+
</ul>
|
88
|
+
</nav>
|
89
|
+
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div id="project-metadata">
|
93
|
+
<nav id="fileindex-section" class="section project-section">
|
94
|
+
<h3 class="section-header">Pages</h3>
|
95
|
+
|
96
|
+
<ul>
|
97
|
+
|
98
|
+
<li class="file"><a href="../../Gemfile.html">Gemfile</a>
|
99
|
+
|
100
|
+
<li class="file"><a href="../../LICENSE.html">LICENSE</a>
|
101
|
+
|
102
|
+
<li class="file"><a href="../../Rakefile.html">Rakefile</a>
|
103
|
+
|
104
|
+
</ul>
|
105
|
+
</nav>
|
106
|
+
|
107
|
+
<nav id="classindex-section" class="section project-section">
|
108
|
+
<h3 class="section-header">Class and Module Index</h3>
|
109
|
+
|
110
|
+
<ul class="link-list">
|
111
|
+
|
112
|
+
<li><a href="../../Flickrie.html">Flickrie</a>
|
113
|
+
|
114
|
+
<li><a href="../../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
|
115
|
+
|
116
|
+
<li><a href="../../Flickrie/Client.html">Flickrie::Client</a>
|
117
|
+
|
118
|
+
<li><a href="../../Flickrie/Error.html">Flickrie::Error</a>
|
119
|
+
|
120
|
+
<li><a href="../../Flickrie/Instance.html">Flickrie::Instance</a>
|
121
|
+
|
122
|
+
<li><a href="../../Flickrie/License.html">Flickrie::License</a>
|
123
|
+
|
124
|
+
<li><a href="../../Flickrie/Location.html">Flickrie::Location</a>
|
125
|
+
|
126
|
+
<li><a href="../../Flickrie/Media.html">Flickrie::Media</a>
|
127
|
+
|
128
|
+
<li><a href="../../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
|
129
|
+
|
130
|
+
<li><a href="../../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
|
131
|
+
|
132
|
+
<li><a href="../../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
|
133
|
+
|
134
|
+
<li><a href="../../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
|
135
|
+
|
136
|
+
<li><a href="../../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
|
137
|
+
|
138
|
+
<li><a href="../../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
|
139
|
+
|
140
|
+
<li><a href="../../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
|
141
|
+
|
142
|
+
<li><a href="../../Flickrie/OAuth.html">Flickrie::OAuth</a>
|
143
|
+
|
144
|
+
<li><a href="../../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
|
145
|
+
|
146
|
+
<li><a href="../../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
|
147
|
+
|
148
|
+
<li><a href="../../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
|
149
|
+
|
150
|
+
<li><a href="../../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
|
151
|
+
|
152
|
+
<li><a href="../../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
|
153
|
+
|
154
|
+
<li><a href="../../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
|
155
|
+
|
156
|
+
<li><a href="../../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
|
157
|
+
|
158
|
+
<li><a href="../../Flickrie/Photo.html">Flickrie::Photo</a>
|
159
|
+
|
160
|
+
<li><a href="../../Flickrie/Set.html">Flickrie::Set</a>
|
161
|
+
|
162
|
+
<li><a href="../../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
|
163
|
+
|
164
|
+
<li><a href="../../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
|
165
|
+
|
166
|
+
<li><a href="../../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
|
167
|
+
|
168
|
+
<li><a href="../../Flickrie/User.html">Flickrie::User</a>
|
169
|
+
|
170
|
+
<li><a href="../../Flickrie/Video.html">Flickrie::Video</a>
|
171
|
+
|
172
|
+
</ul>
|
173
|
+
</nav>
|
174
|
+
|
175
|
+
</div>
|
176
|
+
</nav>
|
177
|
+
|
178
|
+
<div id="documentation">
|
179
|
+
<h1 class="class">class Flickrie::Media::Tag</h1>
|
180
|
+
|
181
|
+
<div id="description" class="description">
|
182
|
+
|
183
|
+
</div><!-- description -->
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
<!-- Methods -->
|
198
|
+
|
199
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
200
|
+
<h3 class="section-header">Public Class Methods</h3>
|
201
|
+
|
202
|
+
|
203
|
+
<div id="method-c-new" class="method-detail ">
|
204
|
+
|
205
|
+
<div class="method-heading">
|
206
|
+
<span class="method-name">new</span><span
|
207
|
+
class="method-args">(info)</span>
|
208
|
+
<span class="method-click-advice">click to toggle source</span>
|
209
|
+
</div>
|
210
|
+
|
211
|
+
|
212
|
+
<div class="method-description">
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
<div class="method-source-code" id="new-source">
|
219
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/tag.rb, line 16</span>
|
220
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">info</span>)
|
221
|
+
<span class="ruby-ivar">@info</span> = <span class="ruby-identifier">info</span>
|
222
|
+
<span class="ruby-keyword">end</span></pre>
|
223
|
+
</div><!-- new-source -->
|
224
|
+
|
225
|
+
</div>
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
</div><!-- new-method -->
|
231
|
+
|
232
|
+
|
233
|
+
</section><!-- public-class-method-details -->
|
234
|
+
|
235
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
236
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
237
|
+
|
238
|
+
|
239
|
+
<div id="method-i-author" class="method-detail ">
|
240
|
+
|
241
|
+
<div class="method-heading">
|
242
|
+
<span class="method-name">author</span><span
|
243
|
+
class="method-args">()</span>
|
244
|
+
<span class="method-click-advice">click to toggle source</span>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
|
248
|
+
<div class="method-description">
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
<div class="method-source-code" id="author-source">
|
255
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/tag.rb, line 12</span>
|
256
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">author</span>
|
257
|
+
<span class="ruby-constant">User</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">'nsid'</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@info</span>[<span class="ruby-string">'author'</span>]) <span class="ruby-keyword">if</span> <span class="ruby-ivar">@info</span>[<span class="ruby-string">'author'</span>]
|
258
|
+
<span class="ruby-keyword">end</span></pre>
|
259
|
+
</div><!-- author-source -->
|
260
|
+
|
261
|
+
</div>
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</div><!-- author-method -->
|
267
|
+
|
268
|
+
|
269
|
+
<div id="method-i-content" class="method-detail ">
|
270
|
+
|
271
|
+
<div class="method-heading">
|
272
|
+
<span class="method-name">content</span><span
|
273
|
+
class="method-args">()</span>
|
274
|
+
<span class="method-click-advice">click to toggle source</span>
|
275
|
+
</div>
|
276
|
+
|
277
|
+
|
278
|
+
<div class="method-description">
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
<div class="method-source-code" id="content-source">
|
285
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/tag.rb, line 6</span>
|
286
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">content</span>; <span class="ruby-ivar">@info</span>[<span class="ruby-string">'_content'</span>] <span class="ruby-keyword">end</span></pre>
|
287
|
+
</div><!-- content-source -->
|
288
|
+
|
289
|
+
</div>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
</div><!-- content-method -->
|
295
|
+
|
296
|
+
|
297
|
+
<div id="method-i-id" class="method-detail ">
|
298
|
+
|
299
|
+
<div class="method-heading">
|
300
|
+
<span class="method-name">id</span><span
|
301
|
+
class="method-args">()</span>
|
302
|
+
<span class="method-click-advice">click to toggle source</span>
|
303
|
+
</div>
|
304
|
+
|
305
|
+
|
306
|
+
<div class="method-description">
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
<div class="method-source-code" id="id-source">
|
313
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/tag.rb, line 4</span>
|
314
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">id</span>; <span class="ruby-ivar">@info</span>[<span class="ruby-string">'id'</span>] <span class="ruby-keyword">end</span></pre>
|
315
|
+
</div><!-- id-source -->
|
316
|
+
|
317
|
+
</div>
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
</div><!-- id-method -->
|
323
|
+
|
324
|
+
|
325
|
+
<div id="method-i-machine_tag-3F" class="method-detail ">
|
326
|
+
|
327
|
+
<div class="method-heading">
|
328
|
+
<span class="method-name">machine_tag?</span><span
|
329
|
+
class="method-args">()</span>
|
330
|
+
<span class="method-click-advice">click to toggle source</span>
|
331
|
+
</div>
|
332
|
+
|
333
|
+
|
334
|
+
<div class="method-description">
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
<div class="method-source-code" id="machine_tag-3F-source">
|
341
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/tag.rb, line 8</span>
|
342
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">machine_tag?</span>
|
343
|
+
<span class="ruby-ivar">@info</span>[<span class="ruby-string">'machine_tag'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@info</span>[<span class="ruby-string">'machine_tag'</span>]
|
344
|
+
<span class="ruby-keyword">end</span></pre>
|
345
|
+
</div><!-- machine_tag-3F-source -->
|
346
|
+
|
347
|
+
</div>
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
</div><!-- machine_tag-3F-method -->
|
353
|
+
|
354
|
+
|
355
|
+
<div id="method-i-raw" class="method-detail ">
|
356
|
+
|
357
|
+
<div class="method-heading">
|
358
|
+
<span class="method-name">raw</span><span
|
359
|
+
class="method-args">()</span>
|
360
|
+
<span class="method-click-advice">click to toggle source</span>
|
361
|
+
</div>
|
362
|
+
|
363
|
+
|
364
|
+
<div class="method-description">
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
<div class="method-source-code" id="raw-source">
|
371
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/tag.rb, line 5</span>
|
372
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">raw</span>; <span class="ruby-ivar">@info</span>[<span class="ruby-string">'raw'</span>] <span class="ruby-keyword">end</span></pre>
|
373
|
+
</div><!-- raw-source -->
|
374
|
+
|
375
|
+
</div>
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
</div><!-- raw-method -->
|
381
|
+
|
382
|
+
|
383
|
+
<div id="method-i-to_s" class="method-detail ">
|
384
|
+
|
385
|
+
<div class="method-heading">
|
386
|
+
<span class="method-name">to_s</span><span
|
387
|
+
class="method-args">()</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="to_s-source">
|
399
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/tag.rb, line 20</span>
|
400
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
401
|
+
<span class="ruby-identifier">content</span>
|
402
|
+
<span class="ruby-keyword">end</span></pre>
|
403
|
+
</div><!-- to_s-source -->
|
404
|
+
|
405
|
+
</div>
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
</div><!-- to_s-method -->
|
411
|
+
|
412
|
+
|
413
|
+
</section><!-- public-instance-method-details -->
|
414
|
+
|
415
|
+
</section><!-- 5Buntitled-5D -->
|
416
|
+
|
417
|
+
</div><!-- documentation -->
|
418
|
+
|
419
|
+
|
420
|
+
<footer id="validator-badges">
|
421
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
422
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
423
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
424
|
+
</footer>
|
425
|
+
|