flickr.rb 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.txt +8 -0
- data/Gemfile.lock +2 -2
- data/README.md +115 -0
- data/Rakefile +1 -1
- data/flickr.gemspec +2 -2
- data/lib/flickr.rb +20 -7
- data/rdoc/Flickr.html +182 -141
- data/rdoc/Flickr/Config.html +103 -70
- data/rdoc/Flickr/Group.html +104 -74
- data/rdoc/Flickr/Photo.html +205 -174
- data/rdoc/Flickr/PhotoCollection.html +98 -66
- data/rdoc/Flickr/Photoset.html +107 -77
- data/rdoc/Flickr/User.html +137 -107
- data/rdoc/{README_txt.html → README_md.html} +141 -88
- data/rdoc/created.rid +3 -3
- data/rdoc/index.html +36 -48
- data/rdoc/js/darkfish.js +15 -0
- data/rdoc/js/search.js +5 -20
- data/rdoc/js/search_index.js +1 -1
- data/rdoc/rdoc.css +241 -226
- data/rdoc/table_of_contents.html +194 -426
- data/test/flickr_test.rb +16 -1
- metadata +4 -11
- data/README.txt +0 -92
- data/rdoc/fonts.css +0 -167
- data/rdoc/fonts/Lato-Light.ttf +0 -0
- data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
- data/rdoc/fonts/Lato-Regular.ttf +0 -0
- data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
data/rdoc/Flickr/Config.html
CHANGED
@@ -2,76 +2,76 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta charset=
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
|
7
7
|
<title>class Flickr::Config - Flickr</title>
|
8
8
|
|
9
|
-
<link href="../
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
9
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
11
10
|
|
12
11
|
<script type="text/javascript">
|
13
12
|
var rdoc_rel_prefix = "../";
|
14
13
|
</script>
|
15
14
|
|
16
|
-
<script src="../js/jquery.js"></script>
|
17
|
-
<script src="../js/navigation.js"></script>
|
18
|
-
<script src="../js/search_index.js"></script>
|
19
|
-
<script src="../js/search.js"></script>
|
20
|
-
<script src="../js/searcher.js"></script>
|
21
|
-
<script src="../js/darkfish.js"></script>
|
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>
|
22
21
|
|
23
22
|
|
24
|
-
<body id="top"
|
25
|
-
<nav
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
<a href="../index.html" rel="home">Home</a>
|
30
|
-
</h2>
|
31
|
-
|
32
|
-
<div id="table-of-contents-navigation">
|
33
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
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>
|
34
28
|
<a href="../table_of_contents.html#classes">Classes</a>
|
35
29
|
<a href="../table_of_contents.html#methods">Methods</a>
|
36
|
-
</
|
37
|
-
</
|
30
|
+
</h3>
|
31
|
+
</nav>
|
38
32
|
|
39
|
-
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
40
35
|
<form action="#" method="get" accept-charset="utf-8">
|
41
|
-
<
|
42
|
-
<input
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
45
38
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
-
</
|
47
|
-
|
48
|
-
<ul id="search-results" aria-label="Search Results"
|
49
|
-
aria-busy="false" aria-expanded="false"
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
39
|
+
</h3>
|
51
40
|
</form>
|
52
|
-
</div>
|
53
41
|
|
54
|
-
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
55
45
|
|
56
46
|
|
57
47
|
|
58
|
-
<div id="
|
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
|
+
|
59
56
|
|
60
|
-
|
61
|
-
<h3>Parent</h3>
|
57
|
+
</div>
|
62
58
|
|
59
|
+
<div id="class-metadata">
|
60
|
+
|
61
|
+
<nav id="parent-class-section" class="section">
|
62
|
+
<h3 class="section-header">Parent</h3>
|
63
63
|
|
64
64
|
<p class="link">Object
|
65
65
|
|
66
|
-
</
|
66
|
+
</nav>
|
67
67
|
|
68
68
|
|
69
69
|
|
70
70
|
<!-- Method Quickref -->
|
71
|
-
<
|
72
|
-
<h3>Methods</h3>
|
71
|
+
<nav id="method-list-section" class="section">
|
72
|
+
<h3 class="section-header">Methods</h3>
|
73
73
|
|
74
|
-
<ul class="link-list"
|
74
|
+
<ul class="link-list">
|
75
75
|
|
76
76
|
<li ><a href="#method-c-get">::get</a>
|
77
77
|
|
@@ -82,21 +82,54 @@
|
|
82
82
|
<li ><a href="#method-c-parsed-3F">::parsed?</a>
|
83
83
|
|
84
84
|
</ul>
|
85
|
-
</
|
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>
|
86
121
|
|
87
122
|
</div>
|
88
123
|
</nav>
|
89
124
|
|
90
|
-
<
|
91
|
-
<h1
|
92
|
-
class Flickr::Config
|
93
|
-
</h1>
|
125
|
+
<div id="documentation">
|
126
|
+
<h1 class="class">class Flickr::Config</h1>
|
94
127
|
|
95
|
-
<
|
128
|
+
<div id="description" class="description">
|
96
129
|
|
97
130
|
<p>This class supports external configuration</p>
|
98
131
|
|
99
|
-
</
|
132
|
+
</div><!-- description -->
|
100
133
|
|
101
134
|
|
102
135
|
|
@@ -110,11 +143,10 @@
|
|
110
143
|
|
111
144
|
|
112
145
|
|
146
|
+
<!-- Methods -->
|
113
147
|
|
114
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
115
|
-
|
116
|
-
<h3>Public Class Methods</h3>
|
117
|
-
</header>
|
148
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
149
|
+
<h3 class="section-header">Public Class Methods</h3>
|
118
150
|
|
119
151
|
|
120
152
|
<div id="method-c-get" class="method-detail ">
|
@@ -136,18 +168,18 @@
|
|
136
168
|
|
137
169
|
|
138
170
|
<div class="method-source-code" id="get-source">
|
139
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line
|
171
|
+
<pre><span class="ruby-comment"># File lib/flickr.rb, line 270</span>
|
140
172
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">get</span>
|
141
173
|
<span class="ruby-identifier">@@configuration</span>
|
142
174
|
<span class="ruby-keyword">end</span></pre>
|
143
|
-
</div
|
175
|
+
</div><!-- get-source -->
|
144
176
|
|
145
177
|
</div>
|
146
178
|
|
147
179
|
|
148
180
|
|
149
181
|
|
150
|
-
</div
|
182
|
+
</div><!-- get-method -->
|
151
183
|
|
152
184
|
|
153
185
|
<div id="method-c-load_from_file" class="method-detail ">
|
@@ -170,21 +202,21 @@ configuration hash</p>
|
|
170
202
|
|
171
203
|
|
172
204
|
<div class="method-source-code" id="load_from_file-source">
|
173
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line
|
205
|
+
<pre><span class="ruby-comment"># File lib/flickr.rb, line 257</span>
|
174
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>
|
175
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>)
|
176
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>)
|
177
209
|
<span class="ruby-identifier">@@parsed</span> = <span class="ruby-keyword">true</span>
|
178
210
|
<span class="ruby-identifier">parse_in_rails_env!</span>
|
179
211
|
<span class="ruby-keyword">end</span></pre>
|
180
|
-
</div
|
212
|
+
</div><!-- load_from_file-source -->
|
181
213
|
|
182
214
|
</div>
|
183
215
|
|
184
216
|
|
185
217
|
|
186
218
|
|
187
|
-
</div
|
219
|
+
</div><!-- load_from_file-method -->
|
188
220
|
|
189
221
|
|
190
222
|
<div id="method-c-parse_in_rails_env-21" class="method-detail ">
|
@@ -206,18 +238,18 @@ configuration hash</p>
|
|
206
238
|
|
207
239
|
|
208
240
|
<div class="method-source-code" id="parse_in_rails_env-21-source">
|
209
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line
|
241
|
+
<pre><span class="ruby-comment"># File lib/flickr.rb, line 265</span>
|
210
242
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse_in_rails_env!</span>
|
211
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>
|
212
244
|
<span class="ruby-keyword">end</span></pre>
|
213
|
-
</div
|
245
|
+
</div><!-- parse_in_rails_env-21-source -->
|
214
246
|
|
215
247
|
</div>
|
216
248
|
|
217
249
|
|
218
250
|
|
219
251
|
|
220
|
-
</div
|
252
|
+
</div><!-- parse_in_rails_env-21-method -->
|
221
253
|
|
222
254
|
|
223
255
|
<div id="method-c-parsed-3F" class="method-detail ">
|
@@ -239,29 +271,30 @@ configuration hash</p>
|
|
239
271
|
|
240
272
|
|
241
273
|
<div class="method-source-code" id="parsed-3F-source">
|
242
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line
|
274
|
+
<pre><span class="ruby-comment"># File lib/flickr.rb, line 275</span>
|
243
275
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parsed?</span>
|
244
276
|
<span class="ruby-identifier">@@parsed</span>
|
245
277
|
<span class="ruby-keyword">end</span></pre>
|
246
|
-
</div
|
278
|
+
</div><!-- parsed-3F-source -->
|
247
279
|
|
248
280
|
</div>
|
249
281
|
|
250
282
|
|
251
283
|
|
252
284
|
|
253
|
-
</div
|
285
|
+
</div><!-- parsed-3F-method -->
|
254
286
|
|
255
287
|
|
256
|
-
</section
|
288
|
+
</section><!-- public-class-method-details -->
|
257
289
|
|
258
|
-
</section
|
259
|
-
|
290
|
+
</section><!-- 5Buntitled-5D -->
|
291
|
+
|
292
|
+
</div><!-- documentation -->
|
260
293
|
|
261
294
|
|
262
|
-
<footer id="validator-badges"
|
263
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
264
|
-
<p>Generated by <a href="
|
265
|
-
<p>
|
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.
|
266
299
|
</footer>
|
267
300
|
|
data/rdoc/Flickr/Group.html
CHANGED
@@ -2,99 +2,132 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta charset=
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
|
7
7
|
<title>class Flickr::Group - Flickr</title>
|
8
8
|
|
9
|
-
<link href="../
|
10
|
-
<link href="../rdoc.css" rel="stylesheet">
|
9
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
11
10
|
|
12
11
|
<script type="text/javascript">
|
13
12
|
var rdoc_rel_prefix = "../";
|
14
13
|
</script>
|
15
14
|
|
16
|
-
<script src="../js/jquery.js"></script>
|
17
|
-
<script src="../js/navigation.js"></script>
|
18
|
-
<script src="../js/search_index.js"></script>
|
19
|
-
<script src="../js/search.js"></script>
|
20
|
-
<script src="../js/searcher.js"></script>
|
21
|
-
<script src="../js/darkfish.js"></script>
|
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>
|
22
21
|
|
23
22
|
|
24
|
-
<body id="top"
|
25
|
-
<nav
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
<a href="../index.html" rel="home">Home</a>
|
30
|
-
</h2>
|
31
|
-
|
32
|
-
<div id="table-of-contents-navigation">
|
33
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
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>
|
34
28
|
<a href="../table_of_contents.html#classes">Classes</a>
|
35
29
|
<a href="../table_of_contents.html#methods">Methods</a>
|
36
|
-
</
|
37
|
-
</
|
30
|
+
</h3>
|
31
|
+
</nav>
|
38
32
|
|
39
|
-
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
40
35
|
<form action="#" method="get" accept-charset="utf-8">
|
41
|
-
<
|
42
|
-
<input
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
45
38
|
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
-
</
|
47
|
-
|
48
|
-
<ul id="search-results" aria-label="Search Results"
|
49
|
-
aria-busy="false" aria-expanded="false"
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
39
|
+
</h3>
|
51
40
|
</form>
|
52
|
-
</div>
|
53
41
|
|
54
|
-
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
55
45
|
|
56
46
|
|
57
47
|
|
58
|
-
<div id="
|
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
|
+
|
59
56
|
|
60
|
-
|
61
|
-
<h3>Parent</h3>
|
57
|
+
</div>
|
62
58
|
|
59
|
+
<div id="class-metadata">
|
60
|
+
|
61
|
+
<nav id="parent-class-section" class="section">
|
62
|
+
<h3 class="section-header">Parent</h3>
|
63
63
|
|
64
64
|
<p class="link">Object
|
65
65
|
|
66
|
-
</
|
66
|
+
</nav>
|
67
67
|
|
68
68
|
|
69
69
|
|
70
70
|
<!-- Method Quickref -->
|
71
|
-
<
|
72
|
-
<h3>Methods</h3>
|
71
|
+
<nav id="method-list-section" class="section">
|
72
|
+
<h3 class="section-header">Methods</h3>
|
73
73
|
|
74
|
-
<ul class="link-list"
|
74
|
+
<ul class="link-list">
|
75
75
|
|
76
76
|
<li ><a href="#method-c-new">::new</a>
|
77
77
|
|
78
78
|
<li ><a href="#method-i-getInfo">#getInfo</a>
|
79
79
|
|
80
80
|
</ul>
|
81
|
-
</
|
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>
|
82
117
|
|
83
118
|
</div>
|
84
119
|
</nav>
|
85
120
|
|
86
|
-
<
|
87
|
-
<h1
|
88
|
-
class Flickr::Group
|
89
|
-
</h1>
|
121
|
+
<div id="documentation">
|
122
|
+
<h1 class="class">class Flickr::Group</h1>
|
90
123
|
|
91
|
-
<
|
124
|
+
<div id="description" class="description">
|
92
125
|
|
93
126
|
<p>Todo: flickr.groups.pools.add flickr.groups.pools.getContext
|
94
127
|
flickr.groups.pools.getGroups flickr.groups.pools.getPhotos
|
95
128
|
flickr.groups.pools.remove</p>
|
96
129
|
|
97
|
-
</
|
130
|
+
</div><!-- description -->
|
98
131
|
|
99
132
|
|
100
133
|
|
@@ -107,10 +140,9 @@ flickr.groups.pools.remove</p>
|
|
107
140
|
|
108
141
|
|
109
142
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
</header>
|
143
|
+
<!-- Attributes -->
|
144
|
+
<section id="attribute-method-details" class="method-section section">
|
145
|
+
<h3 class="section-header">Attributes</h3>
|
114
146
|
|
115
147
|
|
116
148
|
<div id="attribute-i-client" class="method-detail">
|
@@ -230,14 +262,13 @@ flickr.groups.pools.remove</p>
|
|
230
262
|
</div>
|
231
263
|
</div>
|
232
264
|
|
233
|
-
</section
|
265
|
+
</section><!-- attribute-method-details -->
|
234
266
|
|
235
267
|
|
268
|
+
<!-- Methods -->
|
236
269
|
|
237
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
238
|
-
|
239
|
-
<h3>Public Class Methods</h3>
|
240
|
-
</header>
|
270
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
271
|
+
<h3 class="section-header">Public Class Methods</h3>
|
241
272
|
|
242
273
|
|
243
274
|
<div id="method-c-new" class="method-detail ">
|
@@ -259,7 +290,7 @@ flickr.groups.pools.remove</p>
|
|
259
290
|
|
260
291
|
|
261
292
|
<div class="method-source-code" id="new-source">
|
262
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line
|
293
|
+
<pre><span class="ruby-comment"># File lib/flickr.rb, line 685</span>
|
263
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>={})
|
264
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>)
|
265
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>
|
@@ -269,22 +300,20 @@ flickr.groups.pools.remove</p>
|
|
269
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>
|
270
301
|
<span class="ruby-keyword">end</span>
|
271
302
|
<span class="ruby-keyword">end</span></pre>
|
272
|
-
</div
|
303
|
+
</div><!-- new-source -->
|
273
304
|
|
274
305
|
</div>
|
275
306
|
|
276
307
|
|
277
308
|
|
278
309
|
|
279
|
-
</div
|
310
|
+
</div><!-- new-method -->
|
280
311
|
|
281
312
|
|
282
|
-
</section
|
313
|
+
</section><!-- public-class-method-details -->
|
283
314
|
|
284
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
285
|
-
|
286
|
-
<h3>Public Instance Methods</h3>
|
287
|
-
</header>
|
315
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
316
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
288
317
|
|
289
318
|
|
290
319
|
<div id="method-i-getInfo" class="method-detail ">
|
@@ -307,7 +336,7 @@ can call it as needed</p>
|
|
307
336
|
|
308
337
|
|
309
338
|
<div class="method-source-code" id="getInfo-source">
|
310
|
-
<pre><span class="ruby-comment"># File lib/flickr.rb, line
|
339
|
+
<pre><span class="ruby-comment"># File lib/flickr.rb, line 697</span>
|
311
340
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">getInfo</span>
|
312
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>]
|
313
342
|
<span class="ruby-ivar">@name</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">'name'</span>]
|
@@ -319,25 +348,26 @@ can call it as needed</p>
|
|
319
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>]
|
320
349
|
<span class="ruby-keyword">self</span>
|
321
350
|
<span class="ruby-keyword">end</span></pre>
|
322
|
-
</div
|
351
|
+
</div><!-- getInfo-source -->
|
323
352
|
|
324
353
|
</div>
|
325
354
|
|
326
355
|
|
327
356
|
|
328
357
|
|
329
|
-
</div
|
358
|
+
</div><!-- getInfo-method -->
|
330
359
|
|
331
360
|
|
332
|
-
</section
|
361
|
+
</section><!-- public-instance-method-details -->
|
333
362
|
|
334
|
-
</section
|
335
|
-
|
363
|
+
</section><!-- 5Buntitled-5D -->
|
364
|
+
|
365
|
+
</div><!-- documentation -->
|
336
366
|
|
337
367
|
|
338
|
-
<footer id="validator-badges"
|
339
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
340
|
-
<p>Generated by <a href="
|
341
|
-
<p>
|
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.
|
342
372
|
</footer>
|
343
373
|
|