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,241 @@
|
|
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::OAuth::RequestToken - 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/oauth.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">Struct.new(:token, :secret)
|
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-get_authorization_url">#get_authorization_url</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::OAuth::RequestToken</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-get_authorization_url" class="method-detail ">
|
192
|
+
|
193
|
+
<div class="method-heading">
|
194
|
+
<span class="method-name">get_authorization_url</span><span
|
195
|
+
class="method-args">(options = {})</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="get_authorization_url-source">
|
207
|
+
<pre><span class="ruby-comment"># File lib/flickrie/oauth.rb, line 74</span>
|
208
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_authorization_url</span>(<span class="ruby-identifier">options</span> = {})
|
209
|
+
<span class="ruby-identifier">require</span> <span class="ruby-string">'uri'</span>
|
210
|
+
<span class="ruby-identifier">url</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-constant">URL</span>)
|
211
|
+
<span class="ruby-identifier">url</span>.<span class="ruby-identifier">path</span> <span class="ruby-operator">+=</span> <span class="ruby-string">"/authorize"</span>
|
212
|
+
<span class="ruby-identifier">params</span> = {
|
213
|
+
<span class="ruby-value">:oauth_token</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">token</span>,
|
214
|
+
<span class="ruby-value">:perms</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:permissions</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:perms</span>]
|
215
|
+
}
|
216
|
+
<span class="ruby-identifier">url</span>.<span class="ruby-identifier">query</span> = <span class="ruby-identifier">params</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-node">"#{k}=#{v}"</span> }.<span class="ruby-identifier">join</span>(<span class="ruby-string">'&'</span>)
|
217
|
+
<span class="ruby-identifier">url</span>.<span class="ruby-identifier">to_s</span>
|
218
|
+
<span class="ruby-keyword">end</span></pre>
|
219
|
+
</div><!-- get_authorization_url-source -->
|
220
|
+
|
221
|
+
</div>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
</div><!-- get_authorization_url-method -->
|
227
|
+
|
228
|
+
|
229
|
+
</section><!-- public-instance-method-details -->
|
230
|
+
|
231
|
+
</section><!-- 5Buntitled-5D -->
|
232
|
+
|
233
|
+
</div><!-- documentation -->
|
234
|
+
|
235
|
+
|
236
|
+
<footer id="validator-badges">
|
237
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
238
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
239
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
240
|
+
</footer>
|
241
|
+
|
@@ -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::OAuth::StatusCheck - 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/oauth.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::OAuth::StatusCheck</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/oauth.rb, line 26</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">:status</span>] <span class="ruby-operator">!=</span> <span class="ruby-value">200</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">'oauth_problem'</span>].<span class="ruby-identifier">gsub</span>(<span class="ruby-string">'_'</span>, <span class="ruby-string">' '</span>).<span class="ruby-identifier">capitalize</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
|
+
|