flickr.rb 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/Changelog.txt +7 -2
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +24 -0
  5. data/LICENSE +16 -17
  6. data/Manifest.txt +2 -2
  7. data/README.txt +3 -1
  8. data/Rakefile +3 -24
  9. data/flickr.gemspec +22 -17
  10. data/lib/flickr.rb +104 -104
  11. data/rdoc/Flickr.html +1003 -0
  12. data/rdoc/Flickr/Config.html +267 -0
  13. data/rdoc/Flickr/Group.html +343 -0
  14. data/rdoc/Flickr/Photo.html +1396 -0
  15. data/rdoc/Flickr/PhotoCollection.html +229 -0
  16. data/rdoc/Flickr/Photoset.html +359 -0
  17. data/rdoc/Flickr/User.html +745 -0
  18. data/rdoc/README_txt.html +199 -0
  19. data/rdoc/created.rid +3 -1
  20. data/rdoc/fonts.css +167 -0
  21. data/rdoc/fonts/Lato-Light.ttf +0 -0
  22. data/rdoc/fonts/Lato-LightItalic.ttf +0 -0
  23. data/rdoc/fonts/Lato-Regular.ttf +0 -0
  24. data/rdoc/fonts/Lato-RegularItalic.ttf +0 -0
  25. data/rdoc/fonts/SourceCodePro-Bold.ttf +0 -0
  26. data/rdoc/fonts/SourceCodePro-Regular.ttf +0 -0
  27. data/rdoc/images/add.png +0 -0
  28. data/rdoc/images/arrow_up.png +0 -0
  29. data/rdoc/images/brick.png +0 -0
  30. data/rdoc/images/brick_link.png +0 -0
  31. data/rdoc/images/bug.png +0 -0
  32. data/rdoc/images/bullet_black.png +0 -0
  33. data/rdoc/images/bullet_toggle_minus.png +0 -0
  34. data/rdoc/images/bullet_toggle_plus.png +0 -0
  35. data/rdoc/images/date.png +0 -0
  36. data/rdoc/images/delete.png +0 -0
  37. data/rdoc/images/find.png +0 -0
  38. data/rdoc/images/loadingAnimation.gif +0 -0
  39. data/rdoc/images/macFFBgHack.png +0 -0
  40. data/rdoc/images/package.png +0 -0
  41. data/rdoc/images/page_green.png +0 -0
  42. data/rdoc/images/page_white_text.png +0 -0
  43. data/rdoc/images/page_white_width.png +0 -0
  44. data/rdoc/images/plugin.png +0 -0
  45. data/rdoc/images/ruby.png +0 -0
  46. data/rdoc/images/tag_blue.png +0 -0
  47. data/rdoc/images/tag_green.png +0 -0
  48. data/rdoc/images/transparent.png +0 -0
  49. data/rdoc/images/wrench.png +0 -0
  50. data/rdoc/images/wrench_orange.png +0 -0
  51. data/rdoc/images/zoom.png +0 -0
  52. data/rdoc/index.html +101 -21
  53. data/rdoc/js/darkfish.js +140 -0
  54. data/rdoc/js/jquery.js +18 -0
  55. data/rdoc/js/navigation.js +142 -0
  56. data/rdoc/js/search.js +109 -0
  57. data/rdoc/js/search_index.js +1 -0
  58. data/rdoc/js/searcher.js +228 -0
  59. data/rdoc/rdoc.css +580 -0
  60. data/rdoc/table_of_contents.html +473 -0
  61. data/test/flickr_test.rb +229 -227
  62. metadata +132 -68
  63. data/rdoc/classes/Flickr.html +0 -807
  64. data/rdoc/classes/Flickr/Config.html +0 -240
  65. data/rdoc/classes/Flickr/Group.html +0 -251
  66. data/rdoc/classes/Flickr/Photo.html +0 -1101
  67. data/rdoc/classes/Flickr/PhotoCollection.html +0 -194
  68. data/rdoc/classes/Flickr/Photoset.html +0 -266
  69. data/rdoc/classes/Flickr/User.html +0 -738
  70. data/rdoc/files/README_txt.html +0 -209
  71. data/rdoc/files/lib/flickr_rb.html +0 -162
  72. data/rdoc/fr_class_index.html +0 -33
  73. data/rdoc/fr_file_index.html +0 -28
  74. data/rdoc/fr_method_index.html +0 -112
  75. data/rdoc/rdoc-style.css +0 -208
@@ -0,0 +1,267 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Flickr::Config - Flickr</title>
8
+
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../";
14
+ </script>
15
+
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>
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
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>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
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>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
63
+
64
+ <p class="link">Object
65
+
66
+ </div>
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
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
+ </div>
86
+
87
+ </div>
88
+ </nav>
89
+
90
+ <main role="main" aria-labelledby="class-Flickr::Config">
91
+ <h1 id="class-Flickr::Config" class="class">
92
+ class Flickr::Config
93
+ </h1>
94
+
95
+ <section class="description">
96
+
97
+ <p>This class supports external configuration</p>
98
+
99
+ </section>
100
+
101
+
102
+
103
+
104
+ <section id="5Buntitled-5D" class="documentation-section">
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
115
+ <header>
116
+ <h3>Public Class Methods</h3>
117
+ </header>
118
+
119
+
120
+ <div id="method-c-get" class="method-detail ">
121
+
122
+ <div class="method-heading">
123
+ <span class="method-name">get</span><span
124
+ class="method-args">()</span>
125
+
126
+ <span class="method-click-advice">click to toggle source</span>
127
+
128
+ </div>
129
+
130
+
131
+ <div class="method-description">
132
+
133
+ <p>Returns configuration Hash</p>
134
+
135
+
136
+
137
+
138
+ <div class="method-source-code" id="get-source">
139
+ <pre><span class="ruby-comment"># File lib/flickr.rb, line 257</span>
140
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">get</span>
141
+ <span class="ruby-identifier">@@configuration</span>
142
+ <span class="ruby-keyword">end</span></pre>
143
+ </div>
144
+
145
+ </div>
146
+
147
+
148
+
149
+
150
+ </div>
151
+
152
+
153
+ <div id="method-c-load_from_file" class="method-detail ">
154
+
155
+ <div class="method-heading">
156
+ <span class="method-name">load_from_file</span><span
157
+ class="method-args">(file)</span>
158
+
159
+ <span class="method-click-advice">click to toggle source</span>
160
+
161
+ </div>
162
+
163
+
164
+ <div class="method-description">
165
+
166
+ <p>parses file and prepare @@configuration for access from outside to fetch
167
+ configuration hash</p>
168
+
169
+
170
+
171
+
172
+ <div class="method-source-code" id="load_from_file-source">
173
+ <pre><span class="ruby-comment"># File lib/flickr.rb, line 244</span>
174
+ <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
+ <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
+ <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
+ <span class="ruby-identifier">@@parsed</span> = <span class="ruby-keyword">true</span>
178
+ <span class="ruby-identifier">parse_in_rails_env!</span>
179
+ <span class="ruby-keyword">end</span></pre>
180
+ </div>
181
+
182
+ </div>
183
+
184
+
185
+
186
+
187
+ </div>
188
+
189
+
190
+ <div id="method-c-parse_in_rails_env-21" class="method-detail ">
191
+
192
+ <div class="method-heading">
193
+ <span class="method-name">parse_in_rails_env!</span><span
194
+ class="method-args">()</span>
195
+
196
+ <span class="method-click-advice">click to toggle source</span>
197
+
198
+ </div>
199
+
200
+
201
+ <div class="method-description">
202
+
203
+ <p>Excludes specific configuration for choosed environment in Rails</p>
204
+
205
+
206
+
207
+
208
+ <div class="method-source-code" id="parse_in_rails_env-21-source">
209
+ <pre><span class="ruby-comment"># File lib/flickr.rb, line 252</span>
210
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse_in_rails_env!</span>
211
+ <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
+ <span class="ruby-keyword">end</span></pre>
213
+ </div>
214
+
215
+ </div>
216
+
217
+
218
+
219
+
220
+ </div>
221
+
222
+
223
+ <div id="method-c-parsed-3F" class="method-detail ">
224
+
225
+ <div class="method-heading">
226
+ <span class="method-name">parsed?</span><span
227
+ class="method-args">()</span>
228
+
229
+ <span class="method-click-advice">click to toggle source</span>
230
+
231
+ </div>
232
+
233
+
234
+ <div class="method-description">
235
+
236
+ <p>Returns true if configuration has been parsed</p>
237
+
238
+
239
+
240
+
241
+ <div class="method-source-code" id="parsed-3F-source">
242
+ <pre><span class="ruby-comment"># File lib/flickr.rb, line 262</span>
243
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parsed?</span>
244
+ <span class="ruby-identifier">@@parsed</span>
245
+ <span class="ruby-keyword">end</span></pre>
246
+ </div>
247
+
248
+ </div>
249
+
250
+
251
+
252
+
253
+ </div>
254
+
255
+
256
+ </section>
257
+
258
+ </section>
259
+ </main>
260
+
261
+
262
+ <footer id="validator-badges" role="contentinfo">
263
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
264
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
265
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
266
+ </footer>
267
+
@@ -0,0 +1,343 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Flickr::Group - Flickr</title>
8
+
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../";
14
+ </script>
15
+
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>
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
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>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
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>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
63
+
64
+ <p class="link">Object
65
+
66
+ </div>
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
75
+
76
+ <li ><a href="#method-c-new">::new</a>
77
+
78
+ <li ><a href="#method-i-getInfo">#getInfo</a>
79
+
80
+ </ul>
81
+ </div>
82
+
83
+ </div>
84
+ </nav>
85
+
86
+ <main role="main" aria-labelledby="class-Flickr::Group">
87
+ <h1 id="class-Flickr::Group" class="class">
88
+ class Flickr::Group
89
+ </h1>
90
+
91
+ <section class="description">
92
+
93
+ <p>Todo: flickr.groups.pools.add flickr.groups.pools.getContext
94
+ flickr.groups.pools.getGroups flickr.groups.pools.getPhotos
95
+ flickr.groups.pools.remove</p>
96
+
97
+ </section>
98
+
99
+
100
+
101
+
102
+ <section id="5Buntitled-5D" class="documentation-section">
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <section class="attribute-method-details" class="method-section">
111
+ <header>
112
+ <h3>Attributes</h3>
113
+ </header>
114
+
115
+
116
+ <div id="attribute-i-client" class="method-detail">
117
+ <div class="method-heading attribute-method-heading">
118
+ <span class="method-name">client</span><span
119
+ class="attribute-access-type">[R]</span>
120
+ </div>
121
+
122
+ <div class="method-description">
123
+
124
+
125
+
126
+ </div>
127
+ </div>
128
+
129
+ <div id="attribute-i-description" class="method-detail">
130
+ <div class="method-heading attribute-method-heading">
131
+ <span class="method-name">description</span><span
132
+ class="attribute-access-type">[R]</span>
133
+ </div>
134
+
135
+ <div class="method-description">
136
+
137
+
138
+
139
+ </div>
140
+ </div>
141
+
142
+ <div id="attribute-i-eighteenplus" class="method-detail">
143
+ <div class="method-heading attribute-method-heading">
144
+ <span class="method-name">eighteenplus</span><span
145
+ class="attribute-access-type">[R]</span>
146
+ </div>
147
+
148
+ <div class="method-description">
149
+
150
+
151
+
152
+ </div>
153
+ </div>
154
+
155
+ <div id="attribute-i-id" class="method-detail">
156
+ <div class="method-heading attribute-method-heading">
157
+ <span class="method-name">id</span><span
158
+ class="attribute-access-type">[R]</span>
159
+ </div>
160
+
161
+ <div class="method-description">
162
+
163
+
164
+
165
+ </div>
166
+ </div>
167
+
168
+ <div id="attribute-i-members" class="method-detail">
169
+ <div class="method-heading attribute-method-heading">
170
+ <span class="method-name">members</span><span
171
+ class="attribute-access-type">[R]</span>
172
+ </div>
173
+
174
+ <div class="method-description">
175
+
176
+
177
+
178
+ </div>
179
+ </div>
180
+
181
+ <div id="attribute-i-name" class="method-detail">
182
+ <div class="method-heading attribute-method-heading">
183
+ <span class="method-name">name</span><span
184
+ class="attribute-access-type">[R]</span>
185
+ </div>
186
+
187
+ <div class="method-description">
188
+
189
+
190
+
191
+ </div>
192
+ </div>
193
+
194
+ <div id="attribute-i-online" class="method-detail">
195
+ <div class="method-heading attribute-method-heading">
196
+ <span class="method-name">online</span><span
197
+ class="attribute-access-type">[R]</span>
198
+ </div>
199
+
200
+ <div class="method-description">
201
+
202
+
203
+
204
+ </div>
205
+ </div>
206
+
207
+ <div id="attribute-i-privacy" class="method-detail">
208
+ <div class="method-heading attribute-method-heading">
209
+ <span class="method-name">privacy</span><span
210
+ class="attribute-access-type">[R]</span>
211
+ </div>
212
+
213
+ <div class="method-description">
214
+
215
+
216
+
217
+ </div>
218
+ </div>
219
+
220
+ <div id="attribute-i-url" class="method-detail">
221
+ <div class="method-heading attribute-method-heading">
222
+ <span class="method-name">url</span><span
223
+ class="attribute-access-type">[R]</span>
224
+ </div>
225
+
226
+ <div class="method-description">
227
+
228
+
229
+
230
+ </div>
231
+ </div>
232
+
233
+ </section>
234
+
235
+
236
+
237
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
238
+ <header>
239
+ <h3>Public Class Methods</h3>
240
+ </header>
241
+
242
+
243
+ <div id="method-c-new" class="method-detail ">
244
+
245
+ <div class="method-heading">
246
+ <span class="method-name">new</span><span
247
+ class="method-args">(id_or_params_hash=nil, api_key={})</span>
248
+
249
+ <span class="method-click-advice">click to toggle source</span>
250
+
251
+ </div>
252
+
253
+
254
+ <div class="method-description">
255
+
256
+
257
+
258
+
259
+
260
+
261
+ <div class="method-source-code" id="new-source">
262
+ <pre><span class="ruby-comment"># File lib/flickr.rb, line 672</span>
263
+ <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
+ <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
+ <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">&quot;@#{k}&quot;</span>, <span class="ruby-identifier">v</span>) } <span class="ruby-comment"># convert extra_params into instance variables</span>
266
+ <span class="ruby-keyword">else</span>
267
+ <span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id_or_params_hash</span>
268
+ <span class="ruby-ivar">@api_key</span> = <span class="ruby-identifier">api_key</span>
269
+ <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
+ <span class="ruby-keyword">end</span>
271
+ <span class="ruby-keyword">end</span></pre>
272
+ </div>
273
+
274
+ </div>
275
+
276
+
277
+
278
+
279
+ </div>
280
+
281
+
282
+ </section>
283
+
284
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
285
+ <header>
286
+ <h3>Public Instance Methods</h3>
287
+ </header>
288
+
289
+
290
+ <div id="method-i-getInfo" class="method-detail ">
291
+
292
+ <div class="method-heading">
293
+ <span class="method-name">getInfo</span><span
294
+ class="method-args">()</span>
295
+
296
+ <span class="method-click-advice">click to toggle source</span>
297
+
298
+ </div>
299
+
300
+
301
+ <div class="method-description">
302
+
303
+ <p>Implements flickr.groups.getInfo and flickr.urls.getGroup private, once we
304
+ can call it as needed</p>
305
+
306
+
307
+
308
+
309
+ <div class="method-source-code" id="getInfo-source">
310
+ <pre><span class="ruby-comment"># File lib/flickr.rb, line 684</span>
311
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">getInfo</span>
312
+ <span class="ruby-identifier">info</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">groups_getInfo</span>(<span class="ruby-string">&#39;group_id&#39;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-ivar">@id</span>)[<span class="ruby-string">&#39;group&#39;</span>]
313
+ <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">&#39;name&#39;</span>]
314
+ <span class="ruby-ivar">@members</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">&#39;members&#39;</span>]
315
+ <span class="ruby-ivar">@online</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">&#39;online&#39;</span>]
316
+ <span class="ruby-ivar">@privacy</span> = <span class="ruby-identifier">info</span>[<span class="ruby-string">&#39;privacy&#39;</span>]
317
+ <span class="ruby-comment"># @chatid = info[&#39;chatid&#39;]</span>
318
+ <span class="ruby-comment"># @chatcount = info[&#39;chatcount&#39;]</span>
319
+ <span class="ruby-ivar">@url</span> = <span class="ruby-ivar">@client</span>.<span class="ruby-identifier">urls_getGroup</span>(<span class="ruby-string">&#39;group_id&#39;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-ivar">@id</span>)[<span class="ruby-string">&#39;group&#39;</span>][<span class="ruby-string">&#39;url&#39;</span>]
320
+ <span class="ruby-keyword">self</span>
321
+ <span class="ruby-keyword">end</span></pre>
322
+ </div>
323
+
324
+ </div>
325
+
326
+
327
+
328
+
329
+ </div>
330
+
331
+
332
+ </section>
333
+
334
+ </section>
335
+ </main>
336
+
337
+
338
+ <footer id="validator-badges" role="contentinfo">
339
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
340
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
341
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
342
+ </footer>
343
+