topsy 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.yardoc/checksums +14 -2
- data/.yardoc/objects/Topsy/Author/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Author/type_i.dat +0 -0
- data/.yardoc/objects/Topsy/Author.dat +0 -0
- data/.yardoc/objects/Topsy/Client/author_info_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/author_search_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/credit_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/get_rate_limit_status_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/handle_response_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/link_post_count_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/link_posts_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/mashup_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/profile_search_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/raise_errors_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/related_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/search_count_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/search_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/stats_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/tags_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/trackbacks_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/trending_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client/url_info_i.dat +0 -0
- data/.yardoc/objects/Topsy/Client.dat +0 -0
- data/.yardoc/objects/Topsy/LinkSearchResult/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/LinkSearchResult.dat +0 -0
- data/.yardoc/objects/Topsy/Linkpost/target_3D_i.dat +0 -0
- data/.yardoc/objects/Topsy/Linkpost/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Linkpost.dat +0 -0
- data/.yardoc/objects/Topsy/LinkpostCount/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/LinkpostCount.dat +0 -0
- data/.yardoc/objects/Topsy/Page/initialize_i.dat +0 -0
- data/.yardoc/objects/Topsy/Page/list_3D_i.dat +0 -0
- data/.yardoc/objects/Topsy/Page/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Page.dat +0 -0
- data/.yardoc/objects/Topsy/RateLimitInfo/refresh_in_seconds_i.dat +0 -0
- data/.yardoc/objects/Topsy/RateLimitInfo/reset_i.dat +0 -0
- data/.yardoc/objects/Topsy/RateLimitInfo.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/all_time_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/hour_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/month_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/overall_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/this_hour_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/this_month_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/this_week_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/today_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/week_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts.dat +0 -0
- data/.yardoc/objects/Topsy/Stats/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Stats.dat +0 -0
- data/.yardoc/objects/Topsy/Tag/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Tag.dat +0 -0
- data/.yardoc/objects/Topsy/Target/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Target.dat +0 -0
- data/.yardoc/objects/Topsy/Trend/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Trend.dat +0 -0
- data/.yardoc/objects/Topsy/Tweet/author_3D_i.dat +0 -0
- data/.yardoc/objects/Topsy/Tweet/target_3D_i.dat +0 -0
- data/.yardoc/objects/Topsy/Tweet/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/Tweet.dat +0 -0
- data/.yardoc/objects/Topsy/UrlInfo/to_s_i.dat +0 -0
- data/.yardoc/objects/Topsy/UrlInfo.dat +0 -0
- data/.yardoc/objects/Topsy.dat +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/README.markdown +71 -6
- data/Rakefile +1 -1
- data/TODO +7 -0
- data/VERSION +1 -1
- data/doc/Topsy/Author.html +201 -0
- data/doc/Topsy/Client.html +2096 -0
- data/doc/Topsy/LinkSearchResult.html +152 -0
- data/doc/Topsy/Linkpost.html +209 -0
- data/doc/Topsy/LinkpostCount.html +152 -0
- data/doc/Topsy/Page.html +284 -0
- data/doc/Topsy/RateLimitInfo.html +201 -0
- data/doc/Topsy/SearchCounts.html +91 -0
- data/doc/Topsy/Stats.html +152 -0
- data/doc/Topsy/Tag.html +152 -0
- data/doc/Topsy/Target.html +152 -0
- data/doc/Topsy/Trend.html +152 -0
- data/doc/Topsy/Tweet.html +266 -0
- data/doc/Topsy/UrlInfo.html +152 -0
- data/doc/Topsy.html +112 -0
- data/doc/_index.html +245 -0
- data/doc/class_list.html +177 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +23 -0
- data/doc/css/style.css +263 -0
- data/doc/file.README.html +151 -0
- data/doc/file_list.html +29 -0
- data/doc/index.html +151 -0
- data/doc/js/app.js +91 -0
- data/doc/js/full_list.js +39 -0
- data/doc/js/jquery.js +19 -0
- data/doc/method_list.html +352 -0
- data/doc/top-level-namespace.html +79 -0
- data/lib/topsy/author.rb +23 -0
- data/lib/topsy/client.rb +48 -21
- data/lib/topsy/link_search_result.rb +24 -0
- data/lib/topsy/linkpost.rb +33 -0
- data/lib/topsy/linkpost_count.rb +15 -0
- data/lib/topsy/page.rb +40 -0
- data/lib/topsy/rate_limit_info.rb +18 -0
- data/lib/topsy/search_counts.rb +9 -30
- data/lib/topsy/stats.rb +18 -0
- data/lib/topsy/tag.rb +16 -0
- data/lib/topsy/target.rb +18 -0
- data/lib/topsy/trend.rb +16 -0
- data/lib/topsy/tweet.rb +44 -0
- data/lib/topsy/url_info.rb +21 -0
- data/lib/topsy.rb +36 -4
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/test/fixtures/credit.json +15 -0
- data/test/fixtures/urlinfo.json +2 -2
- data/test/helper.rb +9 -4
- data/test/test_topsy.rb +92 -11
- data/topsy.gemspec +194 -0
- metadata +86 -5
- data/.yardoc/objects/Topsy/SearchCounts/last_hour_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/last_month_i.dat +0 -0
- data/.yardoc/objects/Topsy/SearchCounts/last_week_i.dat +0 -0
data/doc/Topsy/Page.html
ADDED
@@ -0,0 +1,284 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Class: Topsy::Page</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="header">
|
20
|
+
<div id="menu">
|
21
|
+
|
22
|
+
<a href="../_index.html">Index (P)</a> »
|
23
|
+
<a href="../Topsy.html" title="Topsy">Topsy</a>
|
24
|
+
»
|
25
|
+
<span class="title">Page</span>
|
26
|
+
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div id="search">
|
30
|
+
<a id="class_list_link" href="#">Namespace List</a>
|
31
|
+
<a id="method_list_link" href="#">Method List</a>
|
32
|
+
<a id ="file_list_link" href="#">File List</a>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<iframe id="search_frame"></iframe>
|
39
|
+
|
40
|
+
<div id="content"><h1>Class: Topsy::Page
|
41
|
+
|
42
|
+
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<dl class="box">
|
46
|
+
|
47
|
+
<dt class="r1">Inherits:</dt>
|
48
|
+
<dd class="r1">
|
49
|
+
<span class="inheritName">Hashie::Dash</span>
|
50
|
+
|
51
|
+
<ul class="fullTree">
|
52
|
+
<li>Object</li>
|
53
|
+
|
54
|
+
<li class="next">Hashie::Dash</li>
|
55
|
+
|
56
|
+
<li class="next">Topsy::Page</li>
|
57
|
+
|
58
|
+
</ul>
|
59
|
+
<a href="#" class="inheritanceTree">show all</a>
|
60
|
+
|
61
|
+
</dd>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<dt class="r2 last">Defined in:</dt>
|
71
|
+
<dd class="r2 last">lib/topsy/page.rb</dd>
|
72
|
+
|
73
|
+
</dl>
|
74
|
+
<div class="clear"></div>
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
<h2>Instance Method Summary</h2>
|
81
|
+
|
82
|
+
<ul class="summary">
|
83
|
+
|
84
|
+
<li class="public ">
|
85
|
+
<span class="summary_signature">
|
86
|
+
|
87
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Page) <strong>initialize</strong>(content, klass) </a>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</span>
|
92
|
+
|
93
|
+
<span class="note title constructor">constructor</span>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
<span class="summary_desc">
|
102
|
+
A new instance of Page.
|
103
|
+
|
104
|
+
</span>
|
105
|
+
|
106
|
+
</li>
|
107
|
+
|
108
|
+
|
109
|
+
<li class="public ">
|
110
|
+
<span class="summary_signature">
|
111
|
+
|
112
|
+
<a href="#list%3D-instance_method" title="#list= (instance method)">- (Object) <strong>list=</strong>(value) </a>
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
</span>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
<span class="summary_desc"></span>
|
125
|
+
|
126
|
+
</li>
|
127
|
+
|
128
|
+
|
129
|
+
<li class="public ">
|
130
|
+
<span class="summary_signature">
|
131
|
+
|
132
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
</span>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
<span class="summary_desc"></span>
|
145
|
+
|
146
|
+
</li>
|
147
|
+
|
148
|
+
|
149
|
+
</ul>
|
150
|
+
|
151
|
+
<div id="constructor_details" class="method_details_list">
|
152
|
+
<h2>Constructor Details</h2>
|
153
|
+
|
154
|
+
<div class="method_details first">
|
155
|
+
<p class="signature first" id="initialize-instance_method">
|
156
|
+
|
157
|
+
- (<tt><a href="" title="Page">Page</a></tt>) <strong>initialize</strong>(content, klass)
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
</p><div class="docstring">
|
162
|
+
<div class="discussion">
|
163
|
+
<p>
|
164
|
+
A new instance of Page
|
165
|
+
</p>
|
166
|
+
|
167
|
+
|
168
|
+
</div>
|
169
|
+
</div>
|
170
|
+
<div class="tags">
|
171
|
+
|
172
|
+
</div><table class="source_code">
|
173
|
+
<tr>
|
174
|
+
<td>
|
175
|
+
<pre class="lines">
|
176
|
+
|
177
|
+
|
178
|
+
24
|
179
|
+
25
|
180
|
+
26
|
181
|
+
27</pre>
|
182
|
+
</td>
|
183
|
+
<td>
|
184
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/page.rb', line 24</span>
|
185
|
+
|
186
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='content identifier id'>content</span><span class='comma token'>,</span> <span class='klass identifier id'>klass</span><span class='rparen token'>)</span>
|
187
|
+
<span class='@klass ivar id'>@klass</span> <span class='assign token'>=</span> <span class='klass identifier id'>klass</span>
|
188
|
+
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='content identifier id'>content</span><span class='rparen token'>)</span>
|
189
|
+
<span class='end end kw'>end</span>
|
190
|
+
</pre>
|
191
|
+
</td>
|
192
|
+
</tr>
|
193
|
+
</table>
|
194
|
+
</div>
|
195
|
+
|
196
|
+
</div>
|
197
|
+
|
198
|
+
|
199
|
+
<div id="instance_method_details" class="method_details_list">
|
200
|
+
<h2>Instance Method Details</h2>
|
201
|
+
|
202
|
+
|
203
|
+
<div class="method_details first">
|
204
|
+
<p class="signature first" id="list=-instance_method">
|
205
|
+
|
206
|
+
- (<tt>Object</tt>) <strong>list=</strong>(value)
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
</p><table class="source_code">
|
211
|
+
<tr>
|
212
|
+
<td>
|
213
|
+
<pre class="lines">
|
214
|
+
|
215
|
+
|
216
|
+
29
|
217
|
+
30
|
218
|
+
31
|
219
|
+
32
|
220
|
+
33
|
221
|
+
34
|
222
|
+
35
|
223
|
+
36
|
224
|
+
37</pre>
|
225
|
+
</td>
|
226
|
+
<td>
|
227
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/page.rb', line 29</span>
|
228
|
+
|
229
|
+
<span class='def def kw'>def</span> <span class='list= identifier id'>list=</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
|
230
|
+
<span class='result identifier id'>result</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
|
231
|
+
<span class='if if kw'>if</span> <span class='value identifier id'>value</span>
|
232
|
+
<span class='value identifier id'>value</span><span class='dot token'>.</span><span class='each identifier id'>each</span><span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='x identifier id'>x</span><span class='bitor op'>|</span> <span class='result identifier id'>result</span> <span class='lshft op'><<</span> <span class='@klass ivar id'>@klass</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
|
233
|
+
<span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='symbol val'>:list</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='result identifier id'>result</span>
|
234
|
+
<span class='else else kw'>else</span>
|
235
|
+
<span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='symbol val'>:list</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='value identifier id'>value</span>
|
236
|
+
<span class='end end kw'>end</span>
|
237
|
+
<span class='end end kw'>end</span>
|
238
|
+
</pre>
|
239
|
+
</td>
|
240
|
+
</tr>
|
241
|
+
</table>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
<div class="method_details ">
|
245
|
+
<p class="signature " id="to_s-instance_method">
|
246
|
+
|
247
|
+
- (<tt>Object</tt>) <strong>to_s</strong>
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
</p><table class="source_code">
|
252
|
+
<tr>
|
253
|
+
<td>
|
254
|
+
<pre class="lines">
|
255
|
+
|
256
|
+
|
257
|
+
20
|
258
|
+
21
|
259
|
+
22</pre>
|
260
|
+
</td>
|
261
|
+
<td>
|
262
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/page.rb', line 20</span>
|
263
|
+
|
264
|
+
<span class='def def kw'>def</span> <span class='to_s identifier id'>to_s</span>
|
265
|
+
<span class='dstring node'>"Topsy Page: #{page} of #{total}, #{list.size} authors"</span>
|
266
|
+
<span class='end end kw'>end</span>
|
267
|
+
</pre>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
</table>
|
271
|
+
</div>
|
272
|
+
|
273
|
+
</div>
|
274
|
+
|
275
|
+
</div>
|
276
|
+
|
277
|
+
<div id="footer">
|
278
|
+
Generated on Wed Jan 6 10:31:57 2010 by
|
279
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
280
|
+
0.5.2 (ruby-1.8.6).
|
281
|
+
</div>
|
282
|
+
|
283
|
+
</body>
|
284
|
+
</html>
|
@@ -0,0 +1,201 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Class: Topsy::RateLimitInfo</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="header">
|
20
|
+
<div id="menu">
|
21
|
+
|
22
|
+
<a href="../_index.html">Index (R)</a> »
|
23
|
+
<a href="../Topsy.html" title="Topsy">Topsy</a>
|
24
|
+
»
|
25
|
+
<span class="title">RateLimitInfo</span>
|
26
|
+
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div id="search">
|
30
|
+
<a id="class_list_link" href="#">Namespace List</a>
|
31
|
+
<a id="method_list_link" href="#">Method List</a>
|
32
|
+
<a id ="file_list_link" href="#">File List</a>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<iframe id="search_frame"></iframe>
|
39
|
+
|
40
|
+
<div id="content"><h1>Class: Topsy::RateLimitInfo
|
41
|
+
|
42
|
+
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<dl class="box">
|
46
|
+
|
47
|
+
<dt class="r1">Inherits:</dt>
|
48
|
+
<dd class="r1">
|
49
|
+
<span class="inheritName">Hashie::Dash</span>
|
50
|
+
|
51
|
+
<ul class="fullTree">
|
52
|
+
<li>Object</li>
|
53
|
+
|
54
|
+
<li class="next">Hashie::Dash</li>
|
55
|
+
|
56
|
+
<li class="next">Topsy::RateLimitInfo</li>
|
57
|
+
|
58
|
+
</ul>
|
59
|
+
<a href="#" class="inheritanceTree">show all</a>
|
60
|
+
|
61
|
+
</dd>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<dt class="r2 last">Defined in:</dt>
|
71
|
+
<dd class="r2 last">lib/topsy/rate_limit_info.rb</dd>
|
72
|
+
|
73
|
+
</dl>
|
74
|
+
<div class="clear"></div>
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
<h2>Instance Method Summary</h2>
|
81
|
+
|
82
|
+
<ul class="summary">
|
83
|
+
|
84
|
+
<li class="public ">
|
85
|
+
<span class="summary_signature">
|
86
|
+
|
87
|
+
<a href="#refresh_in_seconds-instance_method" title="#refresh_in_seconds (instance method)">- (Object) <strong>refresh_in_seconds</strong> </a>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</span>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
<span class="summary_desc"></span>
|
100
|
+
|
101
|
+
</li>
|
102
|
+
|
103
|
+
|
104
|
+
<li class="public ">
|
105
|
+
<span class="summary_signature">
|
106
|
+
|
107
|
+
<a href="#reset-instance_method" title="#reset (instance method)">- (Object) <strong>reset</strong> </a>
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
</span>
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<span class="summary_desc"></span>
|
120
|
+
|
121
|
+
</li>
|
122
|
+
|
123
|
+
|
124
|
+
</ul>
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
<div id="instance_method_details" class="method_details_list">
|
129
|
+
<h2>Instance Method Details</h2>
|
130
|
+
|
131
|
+
|
132
|
+
<div class="method_details first">
|
133
|
+
<p class="signature first" id="refresh_in_seconds-instance_method">
|
134
|
+
|
135
|
+
- (<tt>Object</tt>) <strong>refresh_in_seconds</strong>
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
</p><table class="source_code">
|
140
|
+
<tr>
|
141
|
+
<td>
|
142
|
+
<pre class="lines">
|
143
|
+
|
144
|
+
|
145
|
+
9
|
146
|
+
10
|
147
|
+
11</pre>
|
148
|
+
</td>
|
149
|
+
<td>
|
150
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/rate_limit_info.rb', line 9</span>
|
151
|
+
|
152
|
+
<span class='def def kw'>def</span> <span class='refresh_in_seconds identifier id'>refresh_in_seconds</span>
|
153
|
+
<span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='at identifier id'>at</span><span class='lparen token'>(</span><span class='reset identifier id'>reset</span><span class='rparen token'>)</span> <span class='minus op'>-</span> <span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='now identifier id'>now</span>
|
154
|
+
<span class='end end kw'>end</span>
|
155
|
+
</pre>
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
</table>
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<div class="method_details ">
|
162
|
+
<p class="signature " id="reset-instance_method">
|
163
|
+
|
164
|
+
- (<tt>Object</tt>) <strong>reset</strong>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
</p><table class="source_code">
|
169
|
+
<tr>
|
170
|
+
<td>
|
171
|
+
<pre class="lines">
|
172
|
+
|
173
|
+
|
174
|
+
13
|
175
|
+
14
|
176
|
+
15</pre>
|
177
|
+
</td>
|
178
|
+
<td>
|
179
|
+
<pre class="code"><span class="info file"># File 'lib/topsy/rate_limit_info.rb', line 13</span>
|
180
|
+
|
181
|
+
<span class='def def kw'>def</span> <span class='reset identifier id'>reset</span>
|
182
|
+
<span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='at identifier id'>at</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='symbol val'>:reset</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='symbol val'>:reset</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='symbol val'>:year</span><span class='rparen token'>)</span>
|
183
|
+
<span class='end end kw'>end</span>
|
184
|
+
</pre>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
</table>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
</div>
|
193
|
+
|
194
|
+
<div id="footer">
|
195
|
+
Generated on Wed Jan 6 10:31:54 2010 by
|
196
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
197
|
+
0.5.2 (ruby-1.8.6).
|
198
|
+
</div>
|
199
|
+
|
200
|
+
</body>
|
201
|
+
</html>
|
@@ -0,0 +1,91 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Class: Topsy::SearchCounts</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="header">
|
20
|
+
<div id="menu">
|
21
|
+
|
22
|
+
<a href="../_index.html">Index (S)</a> »
|
23
|
+
<a href="../Topsy.html" title="Topsy">Topsy</a>
|
24
|
+
»
|
25
|
+
<span class="title">SearchCounts</span>
|
26
|
+
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div id="search">
|
30
|
+
<a id="class_list_link" href="#">Namespace List</a>
|
31
|
+
<a id="method_list_link" href="#">Method List</a>
|
32
|
+
<a id ="file_list_link" href="#">File List</a>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<iframe id="search_frame"></iframe>
|
39
|
+
|
40
|
+
<div id="content"><h1>Class: Topsy::SearchCounts
|
41
|
+
|
42
|
+
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<dl class="box">
|
46
|
+
|
47
|
+
<dt class="r1">Inherits:</dt>
|
48
|
+
<dd class="r1">
|
49
|
+
<span class="inheritName">Hashie::Dash</span>
|
50
|
+
|
51
|
+
<ul class="fullTree">
|
52
|
+
<li>Object</li>
|
53
|
+
|
54
|
+
<li class="next">Hashie::Dash</li>
|
55
|
+
|
56
|
+
<li class="next">Topsy::SearchCounts</li>
|
57
|
+
|
58
|
+
</ul>
|
59
|
+
<a href="#" class="inheritanceTree">show all</a>
|
60
|
+
|
61
|
+
</dd>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
<dt class="r2 last">Defined in:</dt>
|
71
|
+
<dd class="r2 last">lib/topsy/search_counts.rb</dd>
|
72
|
+
|
73
|
+
</dl>
|
74
|
+
<div class="clear"></div>
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
</div>
|
83
|
+
|
84
|
+
<div id="footer">
|
85
|
+
Generated on Wed Jan 6 10:31:55 2010 by
|
86
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
87
|
+
0.5.2 (ruby-1.8.6).
|
88
|
+
</div>
|
89
|
+
|
90
|
+
</body>
|
91
|
+
</html>
|