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