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,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::Ticket - 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/ticket.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-complete-3F">#complete?</a>
|
76
|
+
|
77
|
+
<li><a href="#method-i-id">#id</a>
|
78
|
+
|
79
|
+
<li><a href="#method-i-imported_at">#imported_at</a>
|
80
|
+
|
81
|
+
<li><a href="#method-i-media_id">#media_id</a>
|
82
|
+
|
83
|
+
<li><a href="#method-i-photo_id">#photo_id</a>
|
84
|
+
|
85
|
+
<li><a href="#method-i-video_id">#video_id</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::Ticket</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/ticket.rb, line 17</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-complete-3F" class="method-detail ">
|
240
|
+
|
241
|
+
<div class="method-heading">
|
242
|
+
<span class="method-name">complete?</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="complete-3F-source">
|
255
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/ticket.rb, line 9</span>
|
256
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">complete?</span>
|
257
|
+
<span class="ruby-ivar">@info</span>[<span class="ruby-string">'complete'</span>].<span class="ruby-identifier">to_i</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
|
258
|
+
<span class="ruby-keyword">end</span></pre>
|
259
|
+
</div><!-- complete-3F-source -->
|
260
|
+
|
261
|
+
</div>
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</div><!-- complete-3F-method -->
|
267
|
+
|
268
|
+
|
269
|
+
<div id="method-i-id" class="method-detail ">
|
270
|
+
|
271
|
+
<div class="method-heading">
|
272
|
+
<span class="method-name">id</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="id-source">
|
285
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/ticket.rb, line 4</span>
|
286
|
+
<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>
|
287
|
+
</div><!-- id-source -->
|
288
|
+
|
289
|
+
</div>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
</div><!-- id-method -->
|
295
|
+
|
296
|
+
|
297
|
+
<div id="method-i-imported_at" class="method-detail ">
|
298
|
+
|
299
|
+
<div class="method-heading">
|
300
|
+
<span class="method-name">imported_at</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="imported_at-source">
|
313
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/ticket.rb, line 13</span>
|
314
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">imported_at</span>
|
315
|
+
<span class="ruby-constant">Time</span>.<span class="ruby-identifier">at</span>(<span class="ruby-ivar">@info</span>[<span class="ruby-string">'imported'</span>].<span class="ruby-identifier">to_i</span>)
|
316
|
+
<span class="ruby-keyword">end</span></pre>
|
317
|
+
</div><!-- imported_at-source -->
|
318
|
+
|
319
|
+
</div>
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
</div><!-- imported_at-method -->
|
325
|
+
|
326
|
+
|
327
|
+
<div id="method-i-media_id" class="method-detail ">
|
328
|
+
|
329
|
+
<div class="method-heading">
|
330
|
+
<span class="method-name">media_id</span><span
|
331
|
+
class="method-args">()</span>
|
332
|
+
<span class="method-click-advice">click to toggle source</span>
|
333
|
+
</div>
|
334
|
+
|
335
|
+
|
336
|
+
<div class="method-description">
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
<div class="method-source-code" id="media_id-source">
|
343
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/ticket.rb, line 5</span>
|
344
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">media_id</span>; <span class="ruby-ivar">@info</span>[<span class="ruby-string">'photoid'</span>] <span class="ruby-keyword">end</span></pre>
|
345
|
+
</div><!-- media_id-source -->
|
346
|
+
|
347
|
+
</div>
|
348
|
+
|
349
|
+
|
350
|
+
<div class="aliases">
|
351
|
+
Also aliased as: <a href="Ticket.html#method-i-photo_id">photo_id</a>, <a href="Ticket.html#method-i-video_id">video_id</a>
|
352
|
+
</div>
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
</div><!-- media_id-method -->
|
357
|
+
|
358
|
+
|
359
|
+
<div id="method-i-photo_id" class="method-detail method-alias">
|
360
|
+
|
361
|
+
<div class="method-heading">
|
362
|
+
<span class="method-name">photo_id</span><span
|
363
|
+
class="method-args">()</span>
|
364
|
+
<span class="method-click-advice">click to toggle source</span>
|
365
|
+
</div>
|
366
|
+
|
367
|
+
|
368
|
+
<div class="method-description">
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
</div>
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
<div class="aliases">
|
380
|
+
Alias for: <a href="Ticket.html#method-i-media_id">media_id</a>
|
381
|
+
</div>
|
382
|
+
|
383
|
+
</div><!-- photo_id-method -->
|
384
|
+
|
385
|
+
|
386
|
+
<div id="method-i-video_id" class="method-detail method-alias">
|
387
|
+
|
388
|
+
<div class="method-heading">
|
389
|
+
<span class="method-name">video_id</span><span
|
390
|
+
class="method-args">()</span>
|
391
|
+
<span class="method-click-advice">click to toggle source</span>
|
392
|
+
</div>
|
393
|
+
|
394
|
+
|
395
|
+
<div class="method-description">
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
</div>
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
<div class="aliases">
|
407
|
+
Alias for: <a href="Ticket.html#method-i-media_id">media_id</a>
|
408
|
+
</div>
|
409
|
+
|
410
|
+
</div><!-- video_id-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
|
+
|
@@ -0,0 +1,359 @@
|
|
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::Visibility - 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/visibility.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-contacts-3F">#contacts?</a>
|
76
|
+
|
77
|
+
<li><a href="#method-i-family-3F">#family?</a>
|
78
|
+
|
79
|
+
<li><a href="#method-i-friends-3F">#friends?</a>
|
80
|
+
|
81
|
+
<li><a href="#method-i-public-3F">#public?</a>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
</nav>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<div id="project-metadata">
|
89
|
+
<nav id="fileindex-section" class="section project-section">
|
90
|
+
<h3 class="section-header">Pages</h3>
|
91
|
+
|
92
|
+
<ul>
|
93
|
+
|
94
|
+
<li class="file"><a href="../../Gemfile.html">Gemfile</a>
|
95
|
+
|
96
|
+
<li class="file"><a href="../../LICENSE.html">LICENSE</a>
|
97
|
+
|
98
|
+
<li class="file"><a href="../../Rakefile.html">Rakefile</a>
|
99
|
+
|
100
|
+
</ul>
|
101
|
+
</nav>
|
102
|
+
|
103
|
+
<nav id="classindex-section" class="section project-section">
|
104
|
+
<h3 class="section-header">Class and Module Index</h3>
|
105
|
+
|
106
|
+
<ul class="link-list">
|
107
|
+
|
108
|
+
<li><a href="../../Flickrie.html">Flickrie</a>
|
109
|
+
|
110
|
+
<li><a href="../../Flickrie/ApiMethods.html">Flickrie::ApiMethods</a>
|
111
|
+
|
112
|
+
<li><a href="../../Flickrie/Client.html">Flickrie::Client</a>
|
113
|
+
|
114
|
+
<li><a href="../../Flickrie/Error.html">Flickrie::Error</a>
|
115
|
+
|
116
|
+
<li><a href="../../Flickrie/Instance.html">Flickrie::Instance</a>
|
117
|
+
|
118
|
+
<li><a href="../../Flickrie/License.html">Flickrie::License</a>
|
119
|
+
|
120
|
+
<li><a href="../../Flickrie/Location.html">Flickrie::Location</a>
|
121
|
+
|
122
|
+
<li><a href="../../Flickrie/Media.html">Flickrie::Media</a>
|
123
|
+
|
124
|
+
<li><a href="../../Flickrie/Media/ClassMethods.html">Flickrie::Media::ClassMethods</a>
|
125
|
+
|
126
|
+
<li><a href="../../Flickrie/Media/Exif.html">Flickrie::Media::Exif</a>
|
127
|
+
|
128
|
+
<li><a href="../../Flickrie/Media/Note.html">Flickrie::Media::Note</a>
|
129
|
+
|
130
|
+
<li><a href="../../Flickrie/Media/Tag.html">Flickrie::Media::Tag</a>
|
131
|
+
|
132
|
+
<li><a href="../../Flickrie/Media/Ticket.html">Flickrie::Media::Ticket</a>
|
133
|
+
|
134
|
+
<li><a href="../../Flickrie/Media/Visibility.html">Flickrie::Media::Visibility</a>
|
135
|
+
|
136
|
+
<li><a href="../../Flickrie/MediaCount.html">Flickrie::MediaCount</a>
|
137
|
+
|
138
|
+
<li><a href="../../Flickrie/OAuth.html">Flickrie::OAuth</a>
|
139
|
+
|
140
|
+
<li><a href="../../Flickrie/OAuth/AccessToken.html">Flickrie::OAuth::AccessToken</a>
|
141
|
+
|
142
|
+
<li><a href="../../Flickrie/OAuth/Error.html">Flickrie::OAuth::Error</a>
|
143
|
+
|
144
|
+
<li><a href="../../Flickrie/OAuth/ParseResponseParams.html">Flickrie::OAuth::ParseResponseParams</a>
|
145
|
+
|
146
|
+
<li><a href="../../Flickrie/OAuth/RequestToken.html">Flickrie::OAuth::RequestToken</a>
|
147
|
+
|
148
|
+
<li><a href="../../Flickrie/OAuth/StatusCheck.html">Flickrie::OAuth::StatusCheck</a>
|
149
|
+
|
150
|
+
<li><a href="../../Flickrie/OAuth/Token.html">Flickrie::OAuth::Token</a>
|
151
|
+
|
152
|
+
<li><a href="../../Flickrie/OAuthStatusCheck.html">Flickrie::OAuthStatusCheck</a>
|
153
|
+
|
154
|
+
<li><a href="../../Flickrie/Photo.html">Flickrie::Photo</a>
|
155
|
+
|
156
|
+
<li><a href="../../Flickrie/Set.html">Flickrie::Set</a>
|
157
|
+
|
158
|
+
<li><a href="../../Flickrie/StatusCheck.html">Flickrie::StatusCheck</a>
|
159
|
+
|
160
|
+
<li><a href="../../Flickrie/UploadClient.html">Flickrie::UploadClient</a>
|
161
|
+
|
162
|
+
<li><a href="../../Flickrie/UploadStatusCheck.html">Flickrie::UploadStatusCheck</a>
|
163
|
+
|
164
|
+
<li><a href="../../Flickrie/User.html">Flickrie::User</a>
|
165
|
+
|
166
|
+
<li><a href="../../Flickrie/Video.html">Flickrie::Video</a>
|
167
|
+
|
168
|
+
</ul>
|
169
|
+
</nav>
|
170
|
+
|
171
|
+
</div>
|
172
|
+
</nav>
|
173
|
+
|
174
|
+
<div id="documentation">
|
175
|
+
<h1 class="class">class Flickrie::Media::Visibility</h1>
|
176
|
+
|
177
|
+
<div id="description" class="description">
|
178
|
+
|
179
|
+
</div><!-- description -->
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<!-- Methods -->
|
194
|
+
|
195
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
196
|
+
<h3 class="section-header">Public Class Methods</h3>
|
197
|
+
|
198
|
+
|
199
|
+
<div id="method-c-new" class="method-detail ">
|
200
|
+
|
201
|
+
<div class="method-heading">
|
202
|
+
<span class="method-name">new</span><span
|
203
|
+
class="method-args">(*visibility)</span>
|
204
|
+
<span class="method-click-advice">click to toggle source</span>
|
205
|
+
</div>
|
206
|
+
|
207
|
+
|
208
|
+
<div class="method-description">
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
<div class="method-source-code" id="new-source">
|
215
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/visibility.rb, line 9</span>
|
216
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(*<span class="ruby-identifier">visibility</span>)
|
217
|
+
<span class="ruby-ivar">@visibility</span> = <span class="ruby-identifier">visibility</span>.<span class="ruby-identifier">flatten</span>
|
218
|
+
<span class="ruby-keyword">end</span></pre>
|
219
|
+
</div><!-- new-source -->
|
220
|
+
|
221
|
+
</div>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
</div><!-- new-method -->
|
227
|
+
|
228
|
+
|
229
|
+
</section><!-- public-class-method-details -->
|
230
|
+
|
231
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
232
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
233
|
+
|
234
|
+
|
235
|
+
<div id="method-i-contacts-3F" class="method-detail ">
|
236
|
+
|
237
|
+
<div class="method-heading">
|
238
|
+
<span class="method-name">contacts?</span><span
|
239
|
+
class="method-args">()</span>
|
240
|
+
<span class="method-click-advice">click to toggle source</span>
|
241
|
+
</div>
|
242
|
+
|
243
|
+
|
244
|
+
<div class="method-description">
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
<div class="method-source-code" id="contacts-3F-source">
|
251
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/visibility.rb, line 7</span>
|
252
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">contacts?</span>; <span class="ruby-ivar">@visibility</span>[<span class="ruby-value">3</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">@visibility</span>[<span class="ruby-value">3</span>] <span class="ruby-keyword">end</span></pre>
|
253
|
+
</div><!-- contacts-3F-source -->
|
254
|
+
|
255
|
+
</div>
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
</div><!-- contacts-3F-method -->
|
261
|
+
|
262
|
+
|
263
|
+
<div id="method-i-family-3F" class="method-detail ">
|
264
|
+
|
265
|
+
<div class="method-heading">
|
266
|
+
<span class="method-name">family?</span><span
|
267
|
+
class="method-args">()</span>
|
268
|
+
<span class="method-click-advice">click to toggle source</span>
|
269
|
+
</div>
|
270
|
+
|
271
|
+
|
272
|
+
<div class="method-description">
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
<div class="method-source-code" id="family-3F-source">
|
279
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/visibility.rb, line 6</span>
|
280
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">family?</span>; <span class="ruby-ivar">@visibility</span>[<span class="ruby-value">2</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">@visibility</span>[<span class="ruby-value">2</span>] <span class="ruby-keyword">end</span></pre>
|
281
|
+
</div><!-- family-3F-source -->
|
282
|
+
|
283
|
+
</div>
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
</div><!-- family-3F-method -->
|
289
|
+
|
290
|
+
|
291
|
+
<div id="method-i-friends-3F" class="method-detail ">
|
292
|
+
|
293
|
+
<div class="method-heading">
|
294
|
+
<span class="method-name">friends?</span><span
|
295
|
+
class="method-args">()</span>
|
296
|
+
<span class="method-click-advice">click to toggle source</span>
|
297
|
+
</div>
|
298
|
+
|
299
|
+
|
300
|
+
<div class="method-description">
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
<div class="method-source-code" id="friends-3F-source">
|
307
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/visibility.rb, line 5</span>
|
308
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">friends?</span>; <span class="ruby-ivar">@visibility</span>[<span class="ruby-value">1</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">@visibility</span>[<span class="ruby-value">1</span>] <span class="ruby-keyword">end</span></pre>
|
309
|
+
</div><!-- friends-3F-source -->
|
310
|
+
|
311
|
+
</div>
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
</div><!-- friends-3F-method -->
|
317
|
+
|
318
|
+
|
319
|
+
<div id="method-i-public-3F" class="method-detail ">
|
320
|
+
|
321
|
+
<div class="method-heading">
|
322
|
+
<span class="method-name">public?</span><span
|
323
|
+
class="method-args">()</span>
|
324
|
+
<span class="method-click-advice">click to toggle source</span>
|
325
|
+
</div>
|
326
|
+
|
327
|
+
|
328
|
+
<div class="method-description">
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
<div class="method-source-code" id="public-3F-source">
|
335
|
+
<pre><span class="ruby-comment"># File lib/flickrie/media/visibility.rb, line 4</span>
|
336
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">public?</span>; <span class="ruby-ivar">@visibility</span>[<span class="ruby-value">0</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">@visibility</span>[<span class="ruby-value">0</span>] <span class="ruby-keyword">end</span></pre>
|
337
|
+
</div><!-- public-3F-source -->
|
338
|
+
|
339
|
+
</div>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
</div><!-- public-3F-method -->
|
345
|
+
|
346
|
+
|
347
|
+
</section><!-- public-instance-method-details -->
|
348
|
+
|
349
|
+
</section><!-- 5Buntitled-5D -->
|
350
|
+
|
351
|
+
</div><!-- documentation -->
|
352
|
+
|
353
|
+
|
354
|
+
<footer id="validator-badges">
|
355
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
356
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
357
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
358
|
+
</footer>
|
359
|
+
|