flickr.rb 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.txt +7 -4
- data/Gemfile.lock +3 -3
- data/README.md +5 -1
- data/Rakefile +6 -7
- data/doc/Flickr.html +1813 -0
- data/doc/Flickr/Config.html +468 -0
- data/doc/Flickr/Group.html +974 -0
- data/doc/Flickr/Photo.html +2467 -0
- data/doc/Flickr/PhotoCollection.html +529 -0
- data/doc/Flickr/Photoset.html +942 -0
- data/doc/Flickr/User.html +1672 -0
- data/doc/_index.html +190 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.Changelog.html +73 -0
- data/doc/file.LICENSE.html +94 -0
- data/{rdoc/README_md.html → doc/file.README.html} +85 -121
- data/doc/file_list.html +62 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +216 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +725 -0
- data/doc/top-level-namespace.html +112 -0
- data/flickr.gemspec +3 -3
- data/lib/flickr.rb +1 -1
- metadata +27 -46
- data/rdoc/Flickr.html +0 -1044
- data/rdoc/Flickr/Config.html +0 -300
- data/rdoc/Flickr/Group.html +0 -373
- data/rdoc/Flickr/Photo.html +0 -1427
- data/rdoc/Flickr/PhotoCollection.html +0 -261
- data/rdoc/Flickr/Photoset.html +0 -389
- data/rdoc/Flickr/User.html +0 -775
- data/rdoc/created.rid +0 -3
- data/rdoc/images/add.png +0 -0
- data/rdoc/images/arrow_up.png +0 -0
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/delete.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_blue.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/transparent.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/index.html +0 -92
- data/rdoc/js/darkfish.js +0 -155
- data/rdoc/js/jquery.js +0 -18
- data/rdoc/js/navigation.js +0 -142
- data/rdoc/js/search.js +0 -94
- data/rdoc/js/search_index.js +0 -1
- data/rdoc/js/searcher.js +0 -228
- data/rdoc/rdoc.css +0 -595
- data/rdoc/table_of_contents.html +0 -241
data/rdoc/Flickr/Config.html
DELETED
@@ -1,300 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>class Flickr::Config - Flickr</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
|
-
|
47
|
-
|
48
|
-
<div id="file-metadata">
|
49
|
-
<nav id="file-list-section" class="section">
|
50
|
-
<h3 class="section-header">Defined In</h3>
|
51
|
-
<ul>
|
52
|
-
<li>lib/flickr.rb
|
53
|
-
</ul>
|
54
|
-
</nav>
|
55
|
-
|
56
|
-
|
57
|
-
</div>
|
58
|
-
|
59
|
-
<div id="class-metadata">
|
60
|
-
|
61
|
-
<nav id="parent-class-section" class="section">
|
62
|
-
<h3 class="section-header">Parent</h3>
|
63
|
-
|
64
|
-
<p class="link">Object
|
65
|
-
|
66
|
-
</nav>
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<!-- Method Quickref -->
|
71
|
-
<nav id="method-list-section" class="section">
|
72
|
-
<h3 class="section-header">Methods</h3>
|
73
|
-
|
74
|
-
<ul class="link-list">
|
75
|
-
|
76
|
-
<li ><a href="#method-c-get">::get</a>
|
77
|
-
|
78
|
-
<li ><a href="#method-c-load_from_file">::load_from_file</a>
|
79
|
-
|
80
|
-
<li ><a href="#method-c-parse_in_rails_env-21">::parse_in_rails_env!</a>
|
81
|
-
|
82
|
-
<li ><a href="#method-c-parsed-3F">::parsed?</a>
|
83
|
-
|
84
|
-
</ul>
|
85
|
-
</nav>
|
86
|
-
|
87
|
-
</div>
|
88
|
-
|
89
|
-
<div id="project-metadata">
|
90
|
-
<nav id="fileindex-section" class="section project-section">
|
91
|
-
<h3 class="section-header">Pages</h3>
|
92
|
-
|
93
|
-
<ul>
|
94
|
-
|
95
|
-
<li class="file"><a href="../README_md.html">README</a>
|
96
|
-
|
97
|
-
</ul>
|
98
|
-
</nav>
|
99
|
-
|
100
|
-
<nav id="classindex-section" class="section project-section">
|
101
|
-
<h3 class="section-header">Class and Module Index</h3>
|
102
|
-
|
103
|
-
<ul class="link-list">
|
104
|
-
|
105
|
-
<li><a href="../Flickr.html">Flickr</a>
|
106
|
-
|
107
|
-
<li><a href="../Flickr/Config.html">Flickr::Config</a>
|
108
|
-
|
109
|
-
<li><a href="../Flickr/Group.html">Flickr::Group</a>
|
110
|
-
|
111
|
-
<li><a href="../Flickr/Photo.html">Flickr::Photo</a>
|
112
|
-
|
113
|
-
<li><a href="../Flickr/PhotoCollection.html">Flickr::PhotoCollection</a>
|
114
|
-
|
115
|
-
<li><a href="../Flickr/Photoset.html">Flickr::Photoset</a>
|
116
|
-
|
117
|
-
<li><a href="../Flickr/User.html">Flickr::User</a>
|
118
|
-
|
119
|
-
</ul>
|
120
|
-
</nav>
|
121
|
-
|
122
|
-
</div>
|
123
|
-
</nav>
|
124
|
-
|
125
|
-
<div id="documentation">
|
126
|
-
<h1 class="class">class Flickr::Config</h1>
|
127
|
-
|
128
|
-
<div id="description" class="description">
|
129
|
-
|
130
|
-
<p>This class supports external configuration</p>
|
131
|
-
|
132
|
-
</div><!-- description -->
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
<!-- Methods -->
|
147
|
-
|
148
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
149
|
-
<h3 class="section-header">Public Class Methods</h3>
|
150
|
-
|
151
|
-
|
152
|
-
<div id="method-c-get" class="method-detail ">
|
153
|
-
|
154
|
-
<div class="method-heading">
|
155
|
-
<span class="method-name">get</span><span
|
156
|
-
class="method-args">()</span>
|
157
|
-
|
158
|
-
<span class="method-click-advice">click to toggle source</span>
|
159
|
-
|
160
|
-
</div>
|
161
|
-
|
162
|
-
|
163
|
-
<div class="method-description">
|
164
|
-
|
165
|
-
<p>Returns configuration Hash</p>
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
<div class="method-source-code" id="get-source">
|
171
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line 270</span>
|
172
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">get</span>
|
173
|
-
<span class="ruby-identifier">@@configuration</span>
|
174
|
-
<span class="ruby-keyword">end</span></pre>
|
175
|
-
</div><!-- get-source -->
|
176
|
-
|
177
|
-
</div>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
</div><!-- get-method -->
|
183
|
-
|
184
|
-
|
185
|
-
<div id="method-c-load_from_file" class="method-detail ">
|
186
|
-
|
187
|
-
<div class="method-heading">
|
188
|
-
<span class="method-name">load_from_file</span><span
|
189
|
-
class="method-args">(file)</span>
|
190
|
-
|
191
|
-
<span class="method-click-advice">click to toggle source</span>
|
192
|
-
|
193
|
-
</div>
|
194
|
-
|
195
|
-
|
196
|
-
<div class="method-description">
|
197
|
-
|
198
|
-
<p>parses file and prepare @@configuration for access from outside to fetch
|
199
|
-
configuration hash</p>
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
<div class="method-source-code" id="load_from_file-source">
|
205
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line 257</span>
|
206
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">load_from_file</span> <span class="ruby-identifier">file</span>
|
207
|
-
<span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span> <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">file</span>)
|
208
|
-
<span class="ruby-identifier">@@configuration</span> = <span class="ruby-constant">YAML</span>.<span class="ruby-identifier">load</span>(<span class="ruby-constant">ERB</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">file</span>)).<span class="ruby-identifier">result</span>)
|
209
|
-
<span class="ruby-identifier">@@parsed</span> = <span class="ruby-keyword">true</span>
|
210
|
-
<span class="ruby-identifier">parse_in_rails_env!</span>
|
211
|
-
<span class="ruby-keyword">end</span></pre>
|
212
|
-
</div><!-- load_from_file-source -->
|
213
|
-
|
214
|
-
</div>
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
</div><!-- load_from_file-method -->
|
220
|
-
|
221
|
-
|
222
|
-
<div id="method-c-parse_in_rails_env-21" class="method-detail ">
|
223
|
-
|
224
|
-
<div class="method-heading">
|
225
|
-
<span class="method-name">parse_in_rails_env!</span><span
|
226
|
-
class="method-args">()</span>
|
227
|
-
|
228
|
-
<span class="method-click-advice">click to toggle source</span>
|
229
|
-
|
230
|
-
</div>
|
231
|
-
|
232
|
-
|
233
|
-
<div class="method-description">
|
234
|
-
|
235
|
-
<p>Excludes specific configuration for choosed environment in Rails</p>
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
<div class="method-source-code" id="parse_in_rails_env-21-source">
|
241
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line 265</span>
|
242
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse_in_rails_env!</span>
|
243
|
-
<span class="ruby-identifier">@@configuration</span> = <span class="ruby-identifier">@@configuration</span>[<span class="ruby-constant">RAILS_ENV</span>].<span class="ruby-identifier">symbolize_keys</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">defined?</span> <span class="ruby-constant">RAILS_ENV</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">@@configuration</span>.<span class="ruby-identifier">has_key?</span> <span class="ruby-constant">RAILS_ENV</span>
|
244
|
-
<span class="ruby-keyword">end</span></pre>
|
245
|
-
</div><!-- parse_in_rails_env-21-source -->
|
246
|
-
|
247
|
-
</div>
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
</div><!-- parse_in_rails_env-21-method -->
|
253
|
-
|
254
|
-
|
255
|
-
<div id="method-c-parsed-3F" class="method-detail ">
|
256
|
-
|
257
|
-
<div class="method-heading">
|
258
|
-
<span class="method-name">parsed?</span><span
|
259
|
-
class="method-args">()</span>
|
260
|
-
|
261
|
-
<span class="method-click-advice">click to toggle source</span>
|
262
|
-
|
263
|
-
</div>
|
264
|
-
|
265
|
-
|
266
|
-
<div class="method-description">
|
267
|
-
|
268
|
-
<p>Returns true if configuration has been parsed</p>
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
<div class="method-source-code" id="parsed-3F-source">
|
274
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line 275</span>
|
275
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parsed?</span>
|
276
|
-
<span class="ruby-identifier">@@parsed</span>
|
277
|
-
<span class="ruby-keyword">end</span></pre>
|
278
|
-
</div><!-- parsed-3F-source -->
|
279
|
-
|
280
|
-
</div>
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
</div><!-- parsed-3F-method -->
|
286
|
-
|
287
|
-
|
288
|
-
</section><!-- public-class-method-details -->
|
289
|
-
|
290
|
-
</section><!-- 5Buntitled-5D -->
|
291
|
-
|
292
|
-
</div><!-- documentation -->
|
293
|
-
|
294
|
-
|
295
|
-
<footer id="validator-badges">
|
296
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
297
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
|
298
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
299
|
-
</footer>
|
300
|
-
|
data/rdoc/Flickr/Group.html
DELETED
@@ -1,373 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>class Flickr::Group - Flickr</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
|
-
|
47
|
-
|
48
|
-
<div id="file-metadata">
|
49
|
-
<nav id="file-list-section" class="section">
|
50
|
-
<h3 class="section-header">Defined In</h3>
|
51
|
-
<ul>
|
52
|
-
<li>lib/flickr.rb
|
53
|
-
</ul>
|
54
|
-
</nav>
|
55
|
-
|
56
|
-
|
57
|
-
</div>
|
58
|
-
|
59
|
-
<div id="class-metadata">
|
60
|
-
|
61
|
-
<nav id="parent-class-section" class="section">
|
62
|
-
<h3 class="section-header">Parent</h3>
|
63
|
-
|
64
|
-
<p class="link">Object
|
65
|
-
|
66
|
-
</nav>
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<!-- Method Quickref -->
|
71
|
-
<nav id="method-list-section" class="section">
|
72
|
-
<h3 class="section-header">Methods</h3>
|
73
|
-
|
74
|
-
<ul class="link-list">
|
75
|
-
|
76
|
-
<li ><a href="#method-c-new">::new</a>
|
77
|
-
|
78
|
-
<li ><a href="#method-i-getInfo">#getInfo</a>
|
79
|
-
|
80
|
-
</ul>
|
81
|
-
</nav>
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="project-metadata">
|
86
|
-
<nav id="fileindex-section" class="section project-section">
|
87
|
-
<h3 class="section-header">Pages</h3>
|
88
|
-
|
89
|
-
<ul>
|
90
|
-
|
91
|
-
<li class="file"><a href="../README_md.html">README</a>
|
92
|
-
|
93
|
-
</ul>
|
94
|
-
</nav>
|
95
|
-
|
96
|
-
<nav id="classindex-section" class="section project-section">
|
97
|
-
<h3 class="section-header">Class and Module Index</h3>
|
98
|
-
|
99
|
-
<ul class="link-list">
|
100
|
-
|
101
|
-
<li><a href="../Flickr.html">Flickr</a>
|
102
|
-
|
103
|
-
<li><a href="../Flickr/Config.html">Flickr::Config</a>
|
104
|
-
|
105
|
-
<li><a href="../Flickr/Group.html">Flickr::Group</a>
|
106
|
-
|
107
|
-
<li><a href="../Flickr/Photo.html">Flickr::Photo</a>
|
108
|
-
|
109
|
-
<li><a href="../Flickr/PhotoCollection.html">Flickr::PhotoCollection</a>
|
110
|
-
|
111
|
-
<li><a href="../Flickr/Photoset.html">Flickr::Photoset</a>
|
112
|
-
|
113
|
-
<li><a href="../Flickr/User.html">Flickr::User</a>
|
114
|
-
|
115
|
-
</ul>
|
116
|
-
</nav>
|
117
|
-
|
118
|
-
</div>
|
119
|
-
</nav>
|
120
|
-
|
121
|
-
<div id="documentation">
|
122
|
-
<h1 class="class">class Flickr::Group</h1>
|
123
|
-
|
124
|
-
<div id="description" class="description">
|
125
|
-
|
126
|
-
<p>Todo: flickr.groups.pools.add flickr.groups.pools.getContext
|
127
|
-
flickr.groups.pools.getGroups flickr.groups.pools.getPhotos
|
128
|
-
flickr.groups.pools.remove</p>
|
129
|
-
|
130
|
-
</div><!-- description -->
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
<!-- Attributes -->
|
144
|
-
<section id="attribute-method-details" class="method-section section">
|
145
|
-
<h3 class="section-header">Attributes</h3>
|
146
|
-
|
147
|
-
|
148
|
-
<div id="attribute-i-client" class="method-detail">
|
149
|
-
<div class="method-heading attribute-method-heading">
|
150
|
-
<span class="method-name">client</span><span
|
151
|
-
class="attribute-access-type">[R]</span>
|
152
|
-
</div>
|
153
|
-
|
154
|
-
<div class="method-description">
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
</div>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
<div id="attribute-i-description" class="method-detail">
|
162
|
-
<div class="method-heading attribute-method-heading">
|
163
|
-
<span class="method-name">description</span><span
|
164
|
-
class="attribute-access-type">[R]</span>
|
165
|
-
</div>
|
166
|
-
|
167
|
-
<div class="method-description">
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
</div>
|
172
|
-
</div>
|
173
|
-
|
174
|
-
<div id="attribute-i-eighteenplus" class="method-detail">
|
175
|
-
<div class="method-heading attribute-method-heading">
|
176
|
-
<span class="method-name">eighteenplus</span><span
|
177
|
-
class="attribute-access-type">[R]</span>
|
178
|
-
</div>
|
179
|
-
|
180
|
-
<div class="method-description">
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
</div>
|
185
|
-
</div>
|
186
|
-
|
187
|
-
<div id="attribute-i-id" class="method-detail">
|
188
|
-
<div class="method-heading attribute-method-heading">
|
189
|
-
<span class="method-name">id</span><span
|
190
|
-
class="attribute-access-type">[R]</span>
|
191
|
-
</div>
|
192
|
-
|
193
|
-
<div class="method-description">
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
</div>
|
198
|
-
</div>
|
199
|
-
|
200
|
-
<div id="attribute-i-members" class="method-detail">
|
201
|
-
<div class="method-heading attribute-method-heading">
|
202
|
-
<span class="method-name">members</span><span
|
203
|
-
class="attribute-access-type">[R]</span>
|
204
|
-
</div>
|
205
|
-
|
206
|
-
<div class="method-description">
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
</div>
|
211
|
-
</div>
|
212
|
-
|
213
|
-
<div id="attribute-i-name" class="method-detail">
|
214
|
-
<div class="method-heading attribute-method-heading">
|
215
|
-
<span class="method-name">name</span><span
|
216
|
-
class="attribute-access-type">[R]</span>
|
217
|
-
</div>
|
218
|
-
|
219
|
-
<div class="method-description">
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
</div>
|
224
|
-
</div>
|
225
|
-
|
226
|
-
<div id="attribute-i-online" class="method-detail">
|
227
|
-
<div class="method-heading attribute-method-heading">
|
228
|
-
<span class="method-name">online</span><span
|
229
|
-
class="attribute-access-type">[R]</span>
|
230
|
-
</div>
|
231
|
-
|
232
|
-
<div class="method-description">
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
</div>
|
237
|
-
</div>
|
238
|
-
|
239
|
-
<div id="attribute-i-privacy" class="method-detail">
|
240
|
-
<div class="method-heading attribute-method-heading">
|
241
|
-
<span class="method-name">privacy</span><span
|
242
|
-
class="attribute-access-type">[R]</span>
|
243
|
-
</div>
|
244
|
-
|
245
|
-
<div class="method-description">
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
</div>
|
250
|
-
</div>
|
251
|
-
|
252
|
-
<div id="attribute-i-url" class="method-detail">
|
253
|
-
<div class="method-heading attribute-method-heading">
|
254
|
-
<span class="method-name">url</span><span
|
255
|
-
class="attribute-access-type">[R]</span>
|
256
|
-
</div>
|
257
|
-
|
258
|
-
<div class="method-description">
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
</div>
|
263
|
-
</div>
|
264
|
-
|
265
|
-
</section><!-- attribute-method-details -->
|
266
|
-
|
267
|
-
|
268
|
-
<!-- Methods -->
|
269
|
-
|
270
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
271
|
-
<h3 class="section-header">Public Class Methods</h3>
|
272
|
-
|
273
|
-
|
274
|
-
<div id="method-c-new" class="method-detail ">
|
275
|
-
|
276
|
-
<div class="method-heading">
|
277
|
-
<span class="method-name">new</span><span
|
278
|
-
class="method-args">(id_or_params_hash=nil, api_key={})</span>
|
279
|
-
|
280
|
-
<span class="method-click-advice">click to toggle source</span>
|
281
|
-
|
282
|
-
</div>
|
283
|
-
|
284
|
-
|
285
|
-
<div class="method-description">
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
<div class="method-source-code" id="new-source">
|
293
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line 685</span>
|
294
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">id_or_params_hash</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">api_key</span>={})
|
295
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">id_or_params_hash</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
|
296
|
-
<span class="ruby-identifier">id_or_params_hash</span>.<span class="ruby-identifier">each</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-keyword">self</span>.<span class="ruby-identifier">instance_variable_set</span>(<span class="ruby-node">"@#{k}"</span>, <span class="ruby-identifier">v</span>) } <span class="ruby-comment"># convert extra_params into instance variables</span>
|
297
|
-
<span class="ruby-keyword">else</span>
|
298
|
-
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id_or_params_hash</span>
|
299
|
-
<span class="ruby-ivar">@api_key</span> = <span class="ruby-identifier">api_key</span>
|
300
|
-
<span class="ruby-ivar">@client</span> = <span class="ruby-constant">Flickr</span>.<span class="ruby-identifier">new</span> <span class="ruby-ivar">@api_key</span>
|
301
|
-
<span class="ruby-keyword">end</span>
|
302
|
-
<span class="ruby-keyword">end</span></pre>
|
303
|
-
</div><!-- new-source -->
|
304
|
-
|
305
|
-
</div>
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
</div><!-- new-method -->
|
311
|
-
|
312
|
-
|
313
|
-
</section><!-- public-class-method-details -->
|
314
|
-
|
315
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
316
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
317
|
-
|
318
|
-
|
319
|
-
<div id="method-i-getInfo" class="method-detail ">
|
320
|
-
|
321
|
-
<div class="method-heading">
|
322
|
-
<span class="method-name">getInfo</span><span
|
323
|
-
class="method-args">()</span>
|
324
|
-
|
325
|
-
<span class="method-click-advice">click to toggle source</span>
|
326
|
-
|
327
|
-
</div>
|
328
|
-
|
329
|
-
|
330
|
-
<div class="method-description">
|
331
|
-
|
332
|
-
<p>Implements flickr.groups.getInfo and flickr.urls.getGroup private, once we
|
333
|
-
can call it as needed</p>
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
<div class="method-source-code" id="getInfo-source">
|
339
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line 697</span>
|
340
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">getInfo</span>
|
341
|
-
<span class="ruby-identifier">info</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">groups_getInfo</span>(<span class="ruby-string">'group_id'</span>=<span class="ruby-operator">></span><span class="ruby-ivar">@id</span>)[<span class="ruby-string">'group'</span>]
|
342
|
-
<span class="ruby-ivar">@name</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">'name'</span>]
|
343
|
-
<span class="ruby-ivar">@members</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">'members'</span>]
|
344
|
-
<span class="ruby-ivar">@online</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">'online'</span>]
|
345
|
-
<span class="ruby-ivar">@privacy</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">'privacy'</span>]
|
346
|
-
<span class="ruby-comment"># @chatid = info['chatid']</span>
|
347
|
-
<span class="ruby-comment"># @chatcount = info['chatcount']</span>
|
348
|
-
<span class="ruby-ivar">@url</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">urls_getGroup</span>(<span class="ruby-string">'group_id'</span>=<span class="ruby-operator">></span><span class="ruby-ivar">@id</span>)[<span class="ruby-string">'group'</span>][<span class="ruby-string">'url'</span>]
|
349
|
-
<span class="ruby-keyword">self</span>
|
350
|
-
<span class="ruby-keyword">end</span></pre>
|
351
|
-
</div><!-- getInfo-source -->
|
352
|
-
|
353
|
-
</div>
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
</div><!-- getInfo-method -->
|
359
|
-
|
360
|
-
|
361
|
-
</section><!-- public-instance-method-details -->
|
362
|
-
|
363
|
-
</section><!-- 5Buntitled-5D -->
|
364
|
-
|
365
|
-
</div><!-- documentation -->
|
366
|
-
|
367
|
-
|
368
|
-
<footer id="validator-badges">
|
369
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
370
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
|
371
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
372
|
-
</footer>
|
373
|
-
|