stacked 0.5.0 → 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/.gitignore +3 -0
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +43 -0
  4. data/LICENSE +1 -1
  5. data/README.markdown +58 -25
  6. data/Rakefile +6 -45
  7. data/genddoc.sh +4 -1
  8. data/lib/stacked.rb +11 -9
  9. data/lib/stacked/answer.rb +10 -27
  10. data/lib/stacked/badge.rb +15 -11
  11. data/lib/stacked/base.rb +59 -92
  12. data/lib/stacked/client.rb +31 -0
  13. data/lib/stacked/comment.rb +13 -18
  14. data/lib/stacked/parser.rb +47 -0
  15. data/lib/stacked/post_timeline.rb +17 -0
  16. data/lib/stacked/question.rb +52 -51
  17. data/lib/stacked/{reputation.rb → rep_change.rb} +5 -3
  18. data/lib/stacked/tag.rb +10 -2
  19. data/lib/stacked/user.rb +29 -161
  20. data/lib/stacked/{usertimeline.rb → user_timeline.rb} +5 -5
  21. data/lib/stacked/version.rb +4 -0
  22. data/spec/fakes/answers/1237127 +0 -0
  23. data/spec/fakes/answers/2272830 +0 -0
  24. data/spec/fakes/answers/2558700 +0 -0
  25. data/spec/fakes/badges/index +0 -0
  26. data/spec/fakes/badges/name +0 -0
  27. data/spec/fakes/badges/tags +0 -0
  28. data/spec/fakes/comments/1063043 +0 -0
  29. data/spec/fakes/comments/2561833 +0 -0
  30. data/spec/fakes/questions/1236996 +0 -0
  31. data/spec/fakes/questions/1236996-answers +0 -0
  32. data/spec/fakes/questions/1236996-comments +0 -0
  33. data/spec/fakes/questions/1236996-timeline +0 -0
  34. data/spec/fakes/questions/4839321/answers +0 -0
  35. data/spec/fakes/questions/index +0 -0
  36. data/spec/fakes/questions/search +0 -0
  37. data/spec/fakes/questions/tagged +0 -0
  38. data/spec/fakes/questions/unanswered +0 -0
  39. data/spec/fakes/questions/withcomments +0 -0
  40. data/spec/fakes/stats/index +0 -0
  41. data/spec/fakes/tags/activity +0 -0
  42. data/spec/fakes/tags/index +0 -0
  43. data/spec/fakes/tags/name +0 -0
  44. data/spec/fakes/tags/popular +0 -0
  45. data/spec/fakes/users/148722 +0 -0
  46. data/spec/fakes/users/148722-comments +0 -0
  47. data/spec/fakes/users/148722-comments-by-creation +0 -0
  48. data/spec/fakes/users/148722-comments-by-votes +0 -0
  49. data/spec/fakes/users/22656 +0 -0
  50. data/spec/fakes/users/22656-answers +0 -0
  51. data/spec/fakes/users/22656-answers-by-activity +0 -0
  52. data/spec/fakes/users/22656-answers-by-creation +0 -0
  53. data/spec/fakes/users/22656-answers-by-views +0 -0
  54. data/spec/fakes/users/22656-answers-by-votes +0 -0
  55. data/spec/fakes/users/22656-badges +0 -0
  56. data/spec/fakes/users/22656-comments-mentioning-by-creation +0 -0
  57. data/spec/fakes/users/22656-comments-mentioning-by-votes +0 -0
  58. data/spec/fakes/users/22656-favorites +0 -0
  59. data/spec/fakes/users/22656-favorites-by-activity +0 -0
  60. data/spec/fakes/users/22656-favorites-by-added +0 -0
  61. data/spec/fakes/users/22656-favorites-by-creation +0 -0
  62. data/spec/fakes/users/22656-favorites-by-views +0 -0
  63. data/spec/fakes/users/22656-mentioned +0 -0
  64. data/spec/fakes/users/22656-questions +0 -0
  65. data/spec/fakes/users/22656-questions-by-activity +0 -0
  66. data/spec/fakes/users/22656-questions-by-creation +0 -0
  67. data/spec/fakes/users/22656-questions-by-views +0 -0
  68. data/spec/fakes/users/22656-questions-by-votes +0 -0
  69. data/spec/fakes/users/22656-reputation +0 -0
  70. data/spec/fakes/users/22656-reputation-ranged +0 -0
  71. data/spec/fakes/users/22656-tags +0 -0
  72. data/spec/fakes/users/22656-timeline +0 -0
  73. data/spec/fakes/users/filter +0 -0
  74. data/spec/fakes/users/index +0 -0
  75. data/spec/fakes/users/index-page2 +0 -0
  76. data/spec/fakes/users/index-pagesize1 +0 -0
  77. data/spec/fakes/users/name +0 -0
  78. data/spec/fakes/users/newest +0 -0
  79. data/spec/fakes/users/oldest +0 -0
  80. data/spec/sorted_by_spec.rb +2 -2
  81. data/spec/spec_helper.rb +10 -8
  82. data/spec/stacked/answer_spec.rb +9 -8
  83. data/spec/stacked/badge_spec.rb +11 -3
  84. data/spec/stacked/base_spec.rb +24 -2
  85. data/spec/stacked/comment_spec.rb +11 -9
  86. data/spec/stacked/question_spec.rb +49 -61
  87. data/spec/stacked/{reputation_spec.rb → rep_change_spec.rb} +9 -5
  88. data/spec/stacked/tag_spec.rb +13 -6
  89. data/spec/stacked/user_spec.rb +99 -70
  90. data/spec/stacked/{usertimeline_spec.rb → user_timeline_spec.rb} +1 -1
  91. data/spec/support/fakes.rb +28 -0
  92. data/spec/support/{sorted_by.rb → matchers/sorted_by.rb} +7 -6
  93. data/spec/support/{within.rb → matchers/within.rb} +3 -3
  94. data/spec/within_spec.rb +2 -2
  95. data/stacked.gemspec +23 -112
  96. metadata +248 -54
  97. data/README.rdoc +0 -18
  98. data/VERSION +0 -1
  99. data/doc/Stacked.html +0 -155
  100. data/doc/Stacked/Answer.html +0 -1394
  101. data/doc/Stacked/Badge.html +0 -480
  102. data/doc/Stacked/Base.html +0 -1124
  103. data/doc/Stacked/Comment.html +0 -1037
  104. data/doc/Stacked/NotImplemented.html +0 -162
  105. data/doc/Stacked/Posttimeline.html +0 -543
  106. data/doc/Stacked/Question.html +0 -1763
  107. data/doc/Stacked/Reputation.html +0 -606
  108. data/doc/Stacked/Tag.html +0 -267
  109. data/doc/Stacked/User.html +0 -2787
  110. data/doc/Stacked/Usertimeline.html +0 -630
  111. data/doc/_index.html +0 -246
  112. data/doc/file.README.html +0 -54
  113. data/doc/index.html +0 -54
  114. data/doc/method_list.html +0 -1203
  115. data/doc/top-level-namespace.html +0 -87
  116. data/lib/stacked/posttimeline.rb +0 -10
@@ -1,267 +0,0 @@
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: Stacked::Tag</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
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="../_index.html">Index (T)</a> &raquo;
27
- <span class='title'><a href="../Stacked.html" title="Stacked (module)">Stacked</a></span>
28
- &raquo;
29
- <span class="title">Tag</span>
30
-
31
-
32
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
- </div>
34
-
35
- <div id="search">
36
- <a id="class_list_link" href="#">Class List</a>
37
- <a id="method_list_link" href="#">Method List</a>
38
- <a id ="file_list_link" href="#">File List</a>
39
- </div>
40
-
41
- <div class="clear"></div>
42
- </div>
43
-
44
- <iframe id="search_frame"></iframe>
45
-
46
- <div id="content"><h1>Class: Stacked::Tag
47
-
48
-
49
- </h1>
50
-
51
- <dl class="box">
52
-
53
- <dt class="r1">Inherits:</dt>
54
- <dd class="r1">
55
- <span class="inheritName"><a href="Base.html" title="Stacked::Base (class)">Base</a></span>
56
-
57
- <ul class="fullTree">
58
- <li>Object</li>
59
-
60
- <li class="next"><a href="Base.html" title="Stacked::Base (class)">Base</a></li>
61
-
62
- <li class="next">Stacked::Tag</li>
63
-
64
- </ul>
65
- <a href="#" class="inheritanceTree">show all</a>
66
-
67
- </dd>
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
- <dt class="r2 last">Defined in:</dt>
78
- <dd class="r2 last">lib/stacked/tag.rb</dd>
79
-
80
- </dl>
81
- <div class="clear"></div>
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
- <h2>Instance Attribute Summary</h2>
91
- <ul class="summary">
92
-
93
- <li class="public ">
94
- <span class="summary_signature">
95
-
96
- <a href="#count-instance_method" title="#count (instance method)">- (Object) <strong>count</strong> </a>
97
-
98
-
99
-
100
- </span>
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
- <span class="summary_desc"><div class='inline'><p>
112
- Returns the value of attribute count.
113
- </p>
114
- </div></span>
115
-
116
- </li>
117
-
118
-
119
- <li class="public ">
120
- <span class="summary_signature">
121
-
122
- <a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
123
-
124
-
125
-
126
- </span>
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
- <span class="summary_desc"><div class='inline'><p>
138
- Returns the value of attribute name.
139
- </p>
140
- </div></span>
141
-
142
- </li>
143
-
144
-
145
- </ul>
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
- <h2>Method Summary</h2>
155
-
156
- <h3 class="inherited">Methods inherited from <a href="Base.html" title="Stacked::Base (class)">Base</a></h3>
157
- <p class="inherited"><a href="Base.html#all-class_method" title="Stacked::Base.all (method)">all</a>, <a href="Base.html#association-class_method" title="Stacked::Base.association (method)">association</a>, <a href="Base.html#collection-class_method" title="Stacked::Base.collection (method)">collection</a>, <a href="Base.html#find-class_method" title="Stacked::Base.find (method)">find</a>, <a href="Base.html#initialize-instance_method" title="Stacked::Base#initialize (method)">#initialize</a>, <a href="Base.html#parse_answers-instance_method" title="Stacked::Base#parse_answers (method)">#parse_answers</a>, <a href="Base.html#parse_badges-instance_method" title="Stacked::Base#parse_badges (method)">#parse_badges</a>, <a href="Base.html#parse_comments-instance_method" title="Stacked::Base#parse_comments (method)">#parse_comments</a>, <a href="Base.html#parse_post_timeline-instance_method" title="Stacked::Base#parse_post_timeline (method)">#parse_post_timeline</a>, <a href="Base.html#parse_questions-instance_method" title="Stacked::Base#parse_questions (method)">#parse_questions</a>, <a href="Base.html#parse_reputations-instance_method" title="Stacked::Base#parse_reputations (method)">#parse_reputations</a>, <a href="Base.html#parse_tags-instance_method" title="Stacked::Base#parse_tags (method)">#parse_tags</a>, <a href="Base.html#parse_type-instance_method" title="Stacked::Base#parse_type (method)">#parse_type</a>, <a href="Base.html#parse_user_timeline-instance_method" title="Stacked::Base#parse_user_timeline (method)">#parse_user_timeline</a>, <a href="Base.html#post-instance_method" title="Stacked::Base#post (method)">#post</a>, <a href="Base.html#records-class_method" title="Stacked::Base.records (method)">records</a>, <a href="Base.html#request-class_method" title="Stacked::Base.request (method)">request</a>, <a href="Base.html#singular-class_method" title="Stacked::Base.singular (method)">singular</a>, <a href="Base.html#stats-class_method" title="Stacked::Base.stats (method)">stats</a></p>
158
-
159
- <div id="constructor_details" class="method_details_list">
160
- <h2>Constructor Details</h2>
161
-
162
- <p class="notice">This class inherits a constructor from <a href="Base.html#initialize-instance_method" title="Stacked::Base#initialize (method)">Stacked::Base</a></p>
163
-
164
- </div>
165
-
166
- <div id="instance_attr_details" class="attr_details">
167
- <h2>Instance Attribute Details</h2>
168
-
169
-
170
- <span id="count=-instance_method"></span>
171
- <span id="count-instance_method"></span>
172
- <div class="method_details first">
173
- <p class="signature first" id="count-instance_method">
174
-
175
- - (<tt>Object</tt>) <strong>count</strong>
176
-
177
-
178
-
179
- </p><div class="docstring">
180
- <div class="discussion">
181
- <p>
182
- Returns the value of attribute count
183
- </p>
184
-
185
-
186
- </div>
187
- </div>
188
- <div class="tags">
189
-
190
- </div><table class="source_code">
191
- <tr>
192
- <td>
193
- <pre class="lines">
194
-
195
-
196
- 3
197
- 4
198
- 5</pre>
199
- </td>
200
- <td>
201
- <pre class="code"><span class="info file"># File 'lib/stacked/tag.rb', line 3</span>
202
-
203
- <span class='def def kw'>def</span> <span class='count identifier id'>count</span>
204
- <span class='@count ivar id'>@count</span>
205
- <span class='end end kw'>end</span>
206
- </pre>
207
- </td>
208
- </tr>
209
- </table>
210
- </div>
211
-
212
-
213
- <span id="name=-instance_method"></span>
214
- <span id="name-instance_method"></span>
215
- <div class="method_details ">
216
- <p class="signature " id="name-instance_method">
217
-
218
- - (<tt>Object</tt>) <strong>name</strong>
219
-
220
-
221
-
222
- </p><div class="docstring">
223
- <div class="discussion">
224
- <p>
225
- Returns the value of attribute name
226
- </p>
227
-
228
-
229
- </div>
230
- </div>
231
- <div class="tags">
232
-
233
- </div><table class="source_code">
234
- <tr>
235
- <td>
236
- <pre class="lines">
237
-
238
-
239
- 3
240
- 4
241
- 5</pre>
242
- </td>
243
- <td>
244
- <pre class="code"><span class="info file"># File 'lib/stacked/tag.rb', line 3</span>
245
-
246
- <span class='def def kw'>def</span> <span class='name identifier id'>name</span>
247
- <span class='@name ivar id'>@name</span>
248
- <span class='end end kw'>end</span>
249
- </pre>
250
- </td>
251
- </tr>
252
- </table>
253
- </div>
254
-
255
- </div>
256
-
257
-
258
- </div>
259
-
260
- <div id="footer">
261
- Generated on Sun Apr 4 18:16:32 2010 by
262
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
263
- 0.5.4 (ruby-1.8.7).
264
- </div>
265
-
266
- </body>
267
- </html>
@@ -1,2787 +0,0 @@
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: Stacked::User</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
- <script type="text/javascript" charset="utf-8">
20
- if (window.top.frames.main) document.body.className = 'frames';
21
- </script>
22
-
23
- <div id="header">
24
- <div id="menu">
25
-
26
- <a href="../_index.html">Index (U)</a> &raquo;
27
- <span class='title'><a href="../Stacked.html" title="Stacked (module)">Stacked</a></span>
28
- &raquo;
29
- <span class="title">User</span>
30
-
31
-
32
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
- </div>
34
-
35
- <div id="search">
36
- <a id="class_list_link" href="#">Class List</a>
37
- <a id="method_list_link" href="#">Method List</a>
38
- <a id ="file_list_link" href="#">File List</a>
39
- </div>
40
-
41
- <div class="clear"></div>
42
- </div>
43
-
44
- <iframe id="search_frame"></iframe>
45
-
46
- <div id="content"><h1>Class: Stacked::User
47
-
48
-
49
- </h1>
50
-
51
- <dl class="box">
52
-
53
- <dt class="r1">Inherits:</dt>
54
- <dd class="r1">
55
- <span class="inheritName"><a href="Base.html" title="Stacked::Base (class)">Base</a></span>
56
-
57
- <ul class="fullTree">
58
- <li>Object</li>
59
-
60
- <li class="next"><a href="Base.html" title="Stacked::Base (class)">Base</a></li>
61
-
62
- <li class="next">Stacked::User</li>
63
-
64
- </ul>
65
- <a href="#" class="inheritanceTree">show all</a>
66
-
67
- </dd>
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
- <dt class="r2 last">Defined in:</dt>
78
- <dd class="r2 last">lib/stacked/user.rb</dd>
79
-
80
- </dl>
81
- <div class="clear"></div>
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
- <h2>Instance Attribute Summary</h2>
91
- <ul class="summary">
92
-
93
- <li class="public ">
94
- <span class="summary_signature">
95
-
96
- <a href="#about_me-instance_method" title="#about_me (instance method)">- (Object) <strong>about_me</strong> </a>
97
-
98
-
99
-
100
- </span>
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
- <span class="summary_desc"><div class='inline'><p>
112
- Returns the value of attribute about_me.
113
- </p>
114
- </div></span>
115
-
116
- </li>
117
-
118
-
119
- <li class="public ">
120
- <span class="summary_signature">
121
-
122
- <a href="#accept_rate-instance_method" title="#accept_rate (instance method)">- (Object) <strong>accept_rate</strong> </a>
123
-
124
-
125
-
126
- </span>
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
- <span class="summary_desc"><div class='inline'><p>
138
- Returns the value of attribute accept_rate.
139
- </p>
140
- </div></span>
141
-
142
- </li>
143
-
144
-
145
- <li class="public ">
146
- <span class="summary_signature">
147
-
148
- <a href="#age-instance_method" title="#age (instance method)">- (Object) <strong>age</strong> </a>
149
-
150
-
151
-
152
- </span>
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
- <span class="summary_desc"><div class='inline'><p>
164
- Returns the value of attribute age.
165
- </p>
166
- </div></span>
167
-
168
- </li>
169
-
170
-
171
- <li class="public ">
172
- <span class="summary_signature">
173
-
174
- <a href="#answer_count-instance_method" title="#answer_count (instance method)">- (Object) <strong>answer_count</strong> </a>
175
-
176
-
177
-
178
- </span>
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
- <span class="summary_desc"><div class='inline'><p>
190
- Returns the value of attribute answer_count.
191
- </p>
192
- </div></span>
193
-
194
- </li>
195
-
196
-
197
- <li class="public ">
198
- <span class="summary_signature">
199
-
200
- <a href="#creation_date-instance_method" title="#creation_date (instance method)">- (Object) <strong>creation_date</strong> </a>
201
-
202
-
203
-
204
- (also: #created_at)
205
-
206
- </span>
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
- <span class="summary_desc"><div class='inline'><p>
218
- Returns the value of attribute creation_date.
219
- </p>
220
- </div></span>
221
-
222
- </li>
223
-
224
-
225
- <li class="public ">
226
- <span class="summary_signature">
227
-
228
- <a href="#display_name-instance_method" title="#display_name (instance method)">- (Object) <strong>display_name</strong> </a>
229
-
230
-
231
-
232
- (also: #name)
233
-
234
- </span>
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
- <span class="summary_desc"><div class='inline'><p>
246
- Returns the value of attribute display_name.
247
- </p>
248
- </div></span>
249
-
250
- </li>
251
-
252
-
253
- <li class="public ">
254
- <span class="summary_signature">
255
-
256
- <a href="#down_vote_count-instance_method" title="#down_vote_count (instance method)">- (Object) <strong>down_vote_count</strong> </a>
257
-
258
-
259
-
260
- (also: #down_votes)
261
-
262
- </span>
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
-
273
- <span class="summary_desc"><div class='inline'><p>
274
- Returns the value of attribute down_vote_count.
275
- </p>
276
- </div></span>
277
-
278
- </li>
279
-
280
-
281
- <li class="public ">
282
- <span class="summary_signature">
283
-
284
- <a href="#email_hash-instance_method" title="#email_hash (instance method)">- (Object) <strong>email_hash</strong> </a>
285
-
286
-
287
-
288
- (also: #gravatar)
289
-
290
- </span>
291
-
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
- <span class="summary_desc"><div class='inline'><p>
302
- Returns the value of attribute email_hash.
303
- </p>
304
- </div></span>
305
-
306
- </li>
307
-
308
-
309
- <li class="public ">
310
- <span class="summary_signature">
311
-
312
- <a href="#last_access_date-instance_method" title="#last_access_date (instance method)">- (Object) <strong>last_access_date</strong> </a>
313
-
314
-
315
-
316
- </span>
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
- <span class="summary_desc"><div class='inline'><p>
328
- Returns the value of attribute last_access_date.
329
- </p>
330
- </div></span>
331
-
332
- </li>
333
-
334
-
335
- <li class="public ">
336
- <span class="summary_signature">
337
-
338
- <a href="#location-instance_method" title="#location (instance method)">- (Object) <strong>location</strong> </a>
339
-
340
-
341
-
342
- </span>
343
-
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
-
352
-
353
- <span class="summary_desc"><div class='inline'><p>
354
- Returns the value of attribute location.
355
- </p>
356
- </div></span>
357
-
358
- </li>
359
-
360
-
361
- <li class="public ">
362
- <span class="summary_signature">
363
-
364
- <a href="#question_count-instance_method" title="#question_count (instance method)">- (Object) <strong>question_count</strong> </a>
365
-
366
-
367
-
368
- </span>
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
- <span class="summary_desc"><div class='inline'><p>
380
- Returns the value of attribute question_count.
381
- </p>
382
- </div></span>
383
-
384
- </li>
385
-
386
-
387
- <li class="public ">
388
- <span class="summary_signature">
389
-
390
- <a href="#reputation-instance_method" title="#reputation (instance method)">- (Object) <strong>reputation</strong> </a>
391
-
392
-
393
-
394
- </span>
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
-
405
- <span class="summary_desc"><div class='inline'><p>
406
- Returns the value of attribute reputation.
407
- </p>
408
- </div></span>
409
-
410
- </li>
411
-
412
-
413
- <li class="public ">
414
- <span class="summary_signature">
415
-
416
- <a href="#up_vote_count-instance_method" title="#up_vote_count (instance method)">- (Object) <strong>up_vote_count</strong> </a>
417
-
418
-
419
-
420
- (also: #up_votes)
421
-
422
- </span>
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
- <span class="summary_desc"><div class='inline'><p>
434
- Returns the value of attribute up_vote_count.
435
- </p>
436
- </div></span>
437
-
438
- </li>
439
-
440
-
441
- <li class="public ">
442
- <span class="summary_signature">
443
-
444
- <a href="#user_id-instance_method" title="#user_id (instance method)">- (Object) <strong>user_id</strong> </a>
445
-
446
-
447
-
448
- (also: #id)
449
-
450
- </span>
451
-
452
-
453
-
454
-
455
-
456
-
457
-
458
-
459
-
460
-
461
- <span class="summary_desc"><div class='inline'><p>
462
- Returns the value of attribute user_id.
463
- </p>
464
- </div></span>
465
-
466
- </li>
467
-
468
-
469
- <li class="public ">
470
- <span class="summary_signature">
471
-
472
- <a href="#user_type-instance_method" title="#user_type (instance method)">- (Object) <strong>user_type</strong> </a>
473
-
474
-
475
-
476
- (also: #type)
477
-
478
- </span>
479
-
480
-
481
-
482
-
483
-
484
-
485
-
486
-
487
-
488
-
489
- <span class="summary_desc"><div class='inline'><p>
490
- Returns the value of attribute user_type.
491
- </p>
492
- </div></span>
493
-
494
- </li>
495
-
496
-
497
- <li class="public ">
498
- <span class="summary_signature">
499
-
500
- <a href="#view_count-instance_method" title="#view_count (instance method)">- (Object) <strong>view_count</strong> </a>
501
-
502
-
503
-
504
- (also: #views)
505
-
506
- </span>
507
-
508
-
509
-
510
-
511
-
512
-
513
-
514
-
515
-
516
-
517
- <span class="summary_desc"><div class='inline'><p>
518
- Returns the value of attribute view_count.
519
- </p>
520
- </div></span>
521
-
522
- </li>
523
-
524
-
525
- <li class="public ">
526
- <span class="summary_signature">
527
-
528
- <a href="#website_url-instance_method" title="#website_url (instance method)">- (Object) <strong>website_url</strong> </a>
529
-
530
-
531
-
532
- </span>
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
- <span class="summary_desc"><div class='inline'><p>
544
- Returns the value of attribute website_url.
545
- </p>
546
- </div></span>
547
-
548
- </li>
549
-
550
-
551
- </ul>
552
-
553
-
554
-
555
- <h2>Class Method Summary</h2>
556
-
557
- <ul class="summary">
558
-
559
- <li class="public ">
560
- <span class="summary_signature">
561
-
562
- <a href="#filter-class_method" title="filter (class method)">+ (Object) <strong>filter</strong>(filter, options = {}) </a>
563
-
564
-
565
-
566
- </span>
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
- <span class="summary_desc"><div class='inline'></div></span>
575
-
576
- </li>
577
-
578
-
579
- </ul>
580
-
581
- <h2>Instance Method Summary</h2>
582
-
583
- <ul class="summary">
584
-
585
- <li class="public ">
586
- <span class="summary_signature">
587
-
588
- <a href="#added_favorites-instance_method" title="#added_favorites (instance method)">- (Object) <strong>added_favorites</strong>(options = {}) </a>
589
-
590
-
591
-
592
- (also: #added_favourites)
593
-
594
- </span>
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
- <span class="summary_desc"><div class='inline'><p>
603
- Could probably refactor the repetition of request(singular(id)&#8230; out
604
- of this..
605
- </p>
606
- </div></span>
607
-
608
- </li>
609
-
610
-
611
- <li class="public ">
612
- <span class="summary_signature">
613
-
614
- <a href="#answers-instance_method" title="#answers (instance method)">- (Object) <strong>answers</strong>(options = {}) </a>
615
-
616
-
617
-
618
- (also: #recent_answers)
619
-
620
- </span>
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
- <span class="summary_desc"><div class='inline'><p>
629
- Answers #.
630
- </p>
631
- </div></span>
632
-
633
- </li>
634
-
635
-
636
- <li class="public ">
637
- <span class="summary_signature">
638
-
639
- <a href="#answers_by_views-instance_method" title="#answers_by_views (instance method)">- (Object) <strong>answers_by_views</strong>(options = {}) </a>
640
-
641
-
642
-
643
- </span>
644
-
645
-
646
-
647
-
648
-
649
-
650
-
651
- <span class="summary_desc"><div class='inline'></div></span>
652
-
653
- </li>
654
-
655
-
656
- <li class="public ">
657
- <span class="summary_signature">
658
-
659
- <a href="#answers_by_votes-instance_method" title="#answers_by_votes (instance method)">- (Object) <strong>answers_by_votes</strong>(options = {}) </a>
660
-
661
-
662
-
663
- </span>
664
-
665
-
666
-
667
-
668
-
669
-
670
-
671
- <span class="summary_desc"><div class='inline'></div></span>
672
-
673
- </li>
674
-
675
-
676
- <li class="public ">
677
- <span class="summary_signature">
678
-
679
- <a href="#badges-instance_method" title="#badges (instance method)">- (Object) <strong>badges</strong>(options = {}) </a>
680
-
681
-
682
-
683
- </span>
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
- <span class="summary_desc"><div class='inline'></div></span>
692
-
693
- </li>
694
-
695
-
696
- <li class="public ">
697
- <span class="summary_signature">
698
-
699
- <a href="#comments-instance_method" title="#comments (instance method)">- (Object) <strong>comments</strong>(options = {}) </a>
700
-
701
-
702
-
703
- </span>
704
-
705
-
706
-
707
-
708
-
709
-
710
-
711
- <span class="summary_desc"><div class='inline'><p>
712
- Comments #.
713
- </p>
714
- </div></span>
715
-
716
- </li>
717
-
718
-
719
- <li class="public ">
720
- <span class="summary_signature">
721
-
722
- <a href="#comments_by_score-instance_method" title="#comments_by_score (instance method)">- (Object) <strong>comments_by_score</strong>(options = {}) </a>
723
-
724
-
725
-
726
- (also: #popular_comments)
727
-
728
- </span>
729
-
730
-
731
-
732
-
733
-
734
-
735
-
736
- <span class="summary_desc"><div class='inline'></div></span>
737
-
738
- </li>
739
-
740
-
741
- <li class="public ">
742
- <span class="summary_signature">
743
-
744
- <a href="#directed_at-instance_method" title="#directed_at (instance method)">- (Object) <strong>directed_at</strong>(other_user_id, options = {}) </a>
745
-
746
-
747
-
748
- </span>
749
-
750
-
751
-
752
-
753
-
754
-
755
-
756
- <span class="summary_desc"><div class='inline'><p>
757
- This method&#8217;s a bit funny.
758
- </p>
759
- </div></span>
760
-
761
- </li>
762
-
763
-
764
- <li class="public ">
765
- <span class="summary_signature">
766
-
767
- <a href="#directed_at_by_date-instance_method" title="#directed_at_by_date (instance method)">- (Object) <strong>directed_at_by_date</strong>(other_user_id, options = {}) </a>
768
-
769
-
770
-
771
- </span>
772
-
773
-
774
-
775
-
776
-
777
-
778
-
779
- <span class="summary_desc"><div class='inline'></div></span>
780
-
781
- </li>
782
-
783
-
784
- <li class="public ">
785
- <span class="summary_signature">
786
-
787
- <a href="#directed_at_by_score-instance_method" title="#directed_at_by_score (instance method)">- (Object) <strong>directed_at_by_score</strong>(other_user_id, options = {}) </a>
788
-
789
-
790
-
791
- </span>
792
-
793
-
794
-
795
-
796
-
797
-
798
-
799
- <span class="summary_desc"><div class='inline'></div></span>
800
-
801
- </li>
802
-
803
-
804
- <li class="public ">
805
- <span class="summary_signature">
806
-
807
- <a href="#favorites-instance_method" title="#favorites (instance method)">- (Object) <strong>favorites</strong>(options = {}) </a>
808
-
809
-
810
-
811
- (also: #recent_favourites, #favourites)
812
-
813
- </span>
814
-
815
-
816
-
817
-
818
-
819
-
820
-
821
- <span class="summary_desc"><div class='inline'></div></span>
822
-
823
- </li>
824
-
825
-
826
- <li class="public ">
827
- <span class="summary_signature">
828
-
829
- <a href="#mentioned-instance_method" title="#mentioned (instance method)">- (Object) <strong>mentioned</strong>(options = {}) </a>
830
-
831
-
832
-
833
- (also: #mentions)
834
-
835
- </span>
836
-
837
-
838
-
839
-
840
-
841
-
842
-
843
- <span class="summary_desc"><div class='inline'></div></span>
844
-
845
- </li>
846
-
847
-
848
- <li class="public ">
849
- <span class="summary_signature">
850
-
851
- <a href="#newest_answers-instance_method" title="#newest_answers (instance method)">- (Object) <strong>newest_answers</strong>(options = {}) </a>
852
-
853
-
854
-
855
- </span>
856
-
857
-
858
-
859
-
860
-
861
-
862
-
863
- <span class="summary_desc"><div class='inline'></div></span>
864
-
865
- </li>
866
-
867
-
868
- <li class="public ">
869
- <span class="summary_signature">
870
-
871
- <a href="#newest_favorites-instance_method" title="#newest_favorites (instance method)">- (Object) <strong>newest_favorites</strong>(options = {}) </a>
872
-
873
-
874
-
875
- (also: #newest_favourites)
876
-
877
- </span>
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
- <span class="summary_desc"><div class='inline'></div></span>
886
-
887
- </li>
888
-
889
-
890
- <li class="public ">
891
- <span class="summary_signature">
892
-
893
- <a href="#newest_questions-instance_method" title="#newest_questions (instance method)">- (Object) <strong>newest_questions</strong>(options = {}) </a>
894
-
895
-
896
-
897
- </span>
898
-
899
-
900
-
901
-
902
-
903
-
904
-
905
- <span class="summary_desc"><div class='inline'><p>
906
- Questions #.
907
- </p>
908
- </div></span>
909
-
910
- </li>
911
-
912
-
913
- <li class="public ">
914
- <span class="summary_signature">
915
-
916
- <a href="#popular_favorites-instance_method" title="#popular_favorites (instance method)">- (Object) <strong>popular_favorites</strong>(options = {}) </a>
917
-
918
-
919
-
920
- (also: #favourites_by_views, #favorites_by_views, #popular_favourites)
921
-
922
- </span>
923
-
924
-
925
-
926
-
927
-
928
-
929
-
930
- <span class="summary_desc"><div class='inline'></div></span>
931
-
932
- </li>
933
-
934
-
935
- <li class="public ">
936
- <span class="summary_signature">
937
-
938
- <a href="#questions-instance_method" title="#questions (instance method)">- (Object) <strong>questions</strong>(options = {}) </a>
939
-
940
-
941
-
942
- </span>
943
-
944
-
945
-
946
-
947
-
948
-
949
-
950
- <span class="summary_desc"><div class='inline'></div></span>
951
-
952
- </li>
953
-
954
-
955
- <li class="public ">
956
- <span class="summary_signature">
957
-
958
- <a href="#questions_by_views-instance_method" title="#questions_by_views (instance method)">- (Object) <strong>questions_by_views</strong>(options = {}) </a>
959
-
960
-
961
-
962
- </span>
963
-
964
-
965
-
966
-
967
-
968
-
969
-
970
- <span class="summary_desc"><div class='inline'></div></span>
971
-
972
- </li>
973
-
974
-
975
- <li class="public ">
976
- <span class="summary_signature">
977
-
978
- <a href="#questions_by_votes-instance_method" title="#questions_by_votes (instance method)">- (Object) <strong>questions_by_votes</strong>(options = {}) </a>
979
-
980
-
981
-
982
- (also: #popular_questions)
983
-
984
- </span>
985
-
986
-
987
-
988
-
989
-
990
-
991
-
992
- <span class="summary_desc"><div class='inline'></div></span>
993
-
994
- </li>
995
-
996
-
997
- <li class="public ">
998
- <span class="summary_signature">
999
-
1000
- <a href="#recent_comments-instance_method" title="#recent_comments (instance method)">- (Object) <strong>recent_comments</strong>(options = {}) </a>
1001
-
1002
-
1003
-
1004
- </span>
1005
-
1006
-
1007
-
1008
-
1009
-
1010
-
1011
-
1012
- <span class="summary_desc"><div class='inline'></div></span>
1013
-
1014
- </li>
1015
-
1016
-
1017
- <li class="public ">
1018
- <span class="summary_signature">
1019
-
1020
- <a href="#recent_favorites-instance_method" title="#recent_favorites (instance method)">- (Object) <strong>recent_favorites</strong>(options = {}) </a>
1021
-
1022
-
1023
-
1024
- </span>
1025
-
1026
-
1027
-
1028
-
1029
-
1030
-
1031
-
1032
- <span class="summary_desc"><div class='inline'></div></span>
1033
-
1034
- </li>
1035
-
1036
-
1037
- <li class="public ">
1038
- <span class="summary_signature">
1039
-
1040
- <a href="#recent_questions-instance_method" title="#recent_questions (instance method)">- (Object) <strong>recent_questions</strong>(options = {}) </a>
1041
-
1042
-
1043
-
1044
- </span>
1045
-
1046
-
1047
-
1048
-
1049
-
1050
-
1051
-
1052
- <span class="summary_desc"><div class='inline'></div></span>
1053
-
1054
- </li>
1055
-
1056
-
1057
- <li class="public ">
1058
- <span class="summary_signature">
1059
-
1060
- <a href="#reputations-instance_method" title="#reputations (instance method)">- (Object) <strong>reputations</strong>(options = {}) </a>
1061
-
1062
-
1063
-
1064
- </span>
1065
-
1066
-
1067
-
1068
-
1069
-
1070
-
1071
-
1072
- <span class="summary_desc"><div class='inline'><p>
1073
- Other stuff #.
1074
- </p>
1075
- </div></span>
1076
-
1077
- </li>
1078
-
1079
-
1080
- <li class="public ">
1081
- <span class="summary_signature">
1082
-
1083
- <a href="#tags-instance_method" title="#tags (instance method)">- (Object) <strong>tags</strong>(options = {}) </a>
1084
-
1085
-
1086
-
1087
- </span>
1088
-
1089
-
1090
-
1091
-
1092
-
1093
-
1094
-
1095
- <span class="summary_desc"><div class='inline'></div></span>
1096
-
1097
- </li>
1098
-
1099
-
1100
- <li class="public ">
1101
- <span class="summary_signature">
1102
-
1103
- <a href="#timeline-instance_method" title="#timeline (instance method)">- (Object) <strong>timeline</strong>(options = {}) </a>
1104
-
1105
-
1106
-
1107
- </span>
1108
-
1109
-
1110
-
1111
-
1112
-
1113
-
1114
-
1115
- <span class="summary_desc"><div class='inline'></div></span>
1116
-
1117
- </li>
1118
-
1119
-
1120
- </ul>
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
- <h3 class="inherited">Methods inherited from <a href="Base.html" title="Stacked::Base (class)">Base</a></h3>
1132
- <p class="inherited"><a href="Base.html#all-class_method" title="Stacked::Base.all (method)">all</a>, <a href="Base.html#association-class_method" title="Stacked::Base.association (method)">association</a>, <a href="Base.html#collection-class_method" title="Stacked::Base.collection (method)">collection</a>, <a href="Base.html#find-class_method" title="Stacked::Base.find (method)">find</a>, <a href="Base.html#initialize-instance_method" title="Stacked::Base#initialize (method)">#initialize</a>, <a href="Base.html#parse_answers-instance_method" title="Stacked::Base#parse_answers (method)">#parse_answers</a>, <a href="Base.html#parse_badges-instance_method" title="Stacked::Base#parse_badges (method)">#parse_badges</a>, <a href="Base.html#parse_comments-instance_method" title="Stacked::Base#parse_comments (method)">#parse_comments</a>, <a href="Base.html#parse_post_timeline-instance_method" title="Stacked::Base#parse_post_timeline (method)">#parse_post_timeline</a>, <a href="Base.html#parse_questions-instance_method" title="Stacked::Base#parse_questions (method)">#parse_questions</a>, <a href="Base.html#parse_reputations-instance_method" title="Stacked::Base#parse_reputations (method)">#parse_reputations</a>, <a href="Base.html#parse_tags-instance_method" title="Stacked::Base#parse_tags (method)">#parse_tags</a>, <a href="Base.html#parse_type-instance_method" title="Stacked::Base#parse_type (method)">#parse_type</a>, <a href="Base.html#parse_user_timeline-instance_method" title="Stacked::Base#parse_user_timeline (method)">#parse_user_timeline</a>, <a href="Base.html#post-instance_method" title="Stacked::Base#post (method)">#post</a>, <a href="Base.html#records-class_method" title="Stacked::Base.records (method)">records</a>, <a href="Base.html#request-class_method" title="Stacked::Base.request (method)">request</a>, <a href="Base.html#singular-class_method" title="Stacked::Base.singular (method)">singular</a>, <a href="Base.html#stats-class_method" title="Stacked::Base.stats (method)">stats</a></p>
1133
-
1134
- <div id="constructor_details" class="method_details_list">
1135
- <h2>Constructor Details</h2>
1136
-
1137
- <p class="notice">This class inherits a constructor from <a href="Base.html#initialize-instance_method" title="Stacked::Base#initialize (method)">Stacked::Base</a></p>
1138
-
1139
- </div>
1140
-
1141
- <div id="instance_attr_details" class="attr_details">
1142
- <h2>Instance Attribute Details</h2>
1143
-
1144
-
1145
- <span id="about_me=-instance_method"></span>
1146
- <span id="about_me-instance_method"></span>
1147
- <div class="method_details first">
1148
- <p class="signature first" id="about_me-instance_method">
1149
-
1150
- - (<tt>Object</tt>) <strong>about_me</strong>
1151
-
1152
-
1153
-
1154
- </p><div class="docstring">
1155
- <div class="discussion">
1156
- <p>
1157
- Returns the value of attribute about_me
1158
- </p>
1159
-
1160
-
1161
- </div>
1162
- </div>
1163
- <div class="tags">
1164
-
1165
- </div><table class="source_code">
1166
- <tr>
1167
- <td>
1168
- <pre class="lines">
1169
-
1170
-
1171
- 3
1172
- 4
1173
- 5</pre>
1174
- </td>
1175
- <td>
1176
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1177
-
1178
- <span class='def def kw'>def</span> <span class='about_me identifier id'>about_me</span>
1179
- <span class='@about_me ivar id'>@about_me</span>
1180
- <span class='end end kw'>end</span>
1181
- </pre>
1182
- </td>
1183
- </tr>
1184
- </table>
1185
- </div>
1186
-
1187
-
1188
- <span id="accept_rate=-instance_method"></span>
1189
- <span id="accept_rate-instance_method"></span>
1190
- <div class="method_details ">
1191
- <p class="signature " id="accept_rate-instance_method">
1192
-
1193
- - (<tt>Object</tt>) <strong>accept_rate</strong>
1194
-
1195
-
1196
-
1197
- </p><div class="docstring">
1198
- <div class="discussion">
1199
- <p>
1200
- Returns the value of attribute accept_rate
1201
- </p>
1202
-
1203
-
1204
- </div>
1205
- </div>
1206
- <div class="tags">
1207
-
1208
- </div><table class="source_code">
1209
- <tr>
1210
- <td>
1211
- <pre class="lines">
1212
-
1213
-
1214
- 3
1215
- 4
1216
- 5</pre>
1217
- </td>
1218
- <td>
1219
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1220
-
1221
- <span class='def def kw'>def</span> <span class='accept_rate identifier id'>accept_rate</span>
1222
- <span class='@accept_rate ivar id'>@accept_rate</span>
1223
- <span class='end end kw'>end</span>
1224
- </pre>
1225
- </td>
1226
- </tr>
1227
- </table>
1228
- </div>
1229
-
1230
-
1231
- <span id="age=-instance_method"></span>
1232
- <span id="age-instance_method"></span>
1233
- <div class="method_details ">
1234
- <p class="signature " id="age-instance_method">
1235
-
1236
- - (<tt>Object</tt>) <strong>age</strong>
1237
-
1238
-
1239
-
1240
- </p><div class="docstring">
1241
- <div class="discussion">
1242
- <p>
1243
- Returns the value of attribute age
1244
- </p>
1245
-
1246
-
1247
- </div>
1248
- </div>
1249
- <div class="tags">
1250
-
1251
- </div><table class="source_code">
1252
- <tr>
1253
- <td>
1254
- <pre class="lines">
1255
-
1256
-
1257
- 3
1258
- 4
1259
- 5</pre>
1260
- </td>
1261
- <td>
1262
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1263
-
1264
- <span class='def def kw'>def</span> <span class='age identifier id'>age</span>
1265
- <span class='@age ivar id'>@age</span>
1266
- <span class='end end kw'>end</span>
1267
- </pre>
1268
- </td>
1269
- </tr>
1270
- </table>
1271
- </div>
1272
-
1273
-
1274
- <span id="answer_count=-instance_method"></span>
1275
- <span id="answer_count-instance_method"></span>
1276
- <div class="method_details ">
1277
- <p class="signature " id="answer_count-instance_method">
1278
-
1279
- - (<tt>Object</tt>) <strong>answer_count</strong>
1280
-
1281
-
1282
-
1283
- </p><div class="docstring">
1284
- <div class="discussion">
1285
- <p>
1286
- Returns the value of attribute answer_count
1287
- </p>
1288
-
1289
-
1290
- </div>
1291
- </div>
1292
- <div class="tags">
1293
-
1294
- </div><table class="source_code">
1295
- <tr>
1296
- <td>
1297
- <pre class="lines">
1298
-
1299
-
1300
- 3
1301
- 4
1302
- 5</pre>
1303
- </td>
1304
- <td>
1305
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1306
-
1307
- <span class='def def kw'>def</span> <span class='answer_count identifier id'>answer_count</span>
1308
- <span class='@answer_count ivar id'>@answer_count</span>
1309
- <span class='end end kw'>end</span>
1310
- </pre>
1311
- </td>
1312
- </tr>
1313
- </table>
1314
- </div>
1315
-
1316
-
1317
- <span id="creation_date=-instance_method"></span>
1318
- <span id="creation_date-instance_method"></span>
1319
- <div class="method_details ">
1320
- <p class="signature " id="creation_date-instance_method">
1321
-
1322
- - (<tt>Object</tt>) <strong>creation_date</strong>
1323
-
1324
-
1325
-
1326
- <span class="aliases">Also known as:
1327
- <span class="names"><span id='created_at-instance_method'>created_at</span></span>
1328
- </span>
1329
-
1330
- </p><div class="docstring">
1331
- <div class="discussion">
1332
- <p>
1333
- Returns the value of attribute creation_date
1334
- </p>
1335
-
1336
-
1337
- </div>
1338
- </div>
1339
- <div class="tags">
1340
-
1341
- </div><table class="source_code">
1342
- <tr>
1343
- <td>
1344
- <pre class="lines">
1345
-
1346
-
1347
- 3
1348
- 4
1349
- 5</pre>
1350
- </td>
1351
- <td>
1352
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1353
-
1354
- <span class='def def kw'>def</span> <span class='creation_date identifier id'>creation_date</span>
1355
- <span class='@creation_date ivar id'>@creation_date</span>
1356
- <span class='end end kw'>end</span>
1357
- </pre>
1358
- </td>
1359
- </tr>
1360
- </table>
1361
- </div>
1362
-
1363
-
1364
- <span id="display_name=-instance_method"></span>
1365
- <span id="display_name-instance_method"></span>
1366
- <div class="method_details ">
1367
- <p class="signature " id="display_name-instance_method">
1368
-
1369
- - (<tt>Object</tt>) <strong>display_name</strong>
1370
-
1371
-
1372
-
1373
- <span class="aliases">Also known as:
1374
- <span class="names"><span id='name-instance_method'>name</span></span>
1375
- </span>
1376
-
1377
- </p><div class="docstring">
1378
- <div class="discussion">
1379
- <p>
1380
- Returns the value of attribute display_name
1381
- </p>
1382
-
1383
-
1384
- </div>
1385
- </div>
1386
- <div class="tags">
1387
-
1388
- </div><table class="source_code">
1389
- <tr>
1390
- <td>
1391
- <pre class="lines">
1392
-
1393
-
1394
- 3
1395
- 4
1396
- 5</pre>
1397
- </td>
1398
- <td>
1399
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1400
-
1401
- <span class='def def kw'>def</span> <span class='display_name identifier id'>display_name</span>
1402
- <span class='@display_name ivar id'>@display_name</span>
1403
- <span class='end end kw'>end</span>
1404
- </pre>
1405
- </td>
1406
- </tr>
1407
- </table>
1408
- </div>
1409
-
1410
-
1411
- <span id="down_vote_count=-instance_method"></span>
1412
- <span id="down_vote_count-instance_method"></span>
1413
- <div class="method_details ">
1414
- <p class="signature " id="down_vote_count-instance_method">
1415
-
1416
- - (<tt>Object</tt>) <strong>down_vote_count</strong>
1417
-
1418
-
1419
-
1420
- <span class="aliases">Also known as:
1421
- <span class="names"><span id='down_votes-instance_method'>down_votes</span></span>
1422
- </span>
1423
-
1424
- </p><div class="docstring">
1425
- <div class="discussion">
1426
- <p>
1427
- Returns the value of attribute down_vote_count
1428
- </p>
1429
-
1430
-
1431
- </div>
1432
- </div>
1433
- <div class="tags">
1434
-
1435
- </div><table class="source_code">
1436
- <tr>
1437
- <td>
1438
- <pre class="lines">
1439
-
1440
-
1441
- 3
1442
- 4
1443
- 5</pre>
1444
- </td>
1445
- <td>
1446
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1447
-
1448
- <span class='def def kw'>def</span> <span class='down_vote_count identifier id'>down_vote_count</span>
1449
- <span class='@down_vote_count ivar id'>@down_vote_count</span>
1450
- <span class='end end kw'>end</span>
1451
- </pre>
1452
- </td>
1453
- </tr>
1454
- </table>
1455
- </div>
1456
-
1457
-
1458
- <span id="email_hash=-instance_method"></span>
1459
- <span id="email_hash-instance_method"></span>
1460
- <div class="method_details ">
1461
- <p class="signature " id="email_hash-instance_method">
1462
-
1463
- - (<tt>Object</tt>) <strong>email_hash</strong>
1464
-
1465
-
1466
-
1467
- <span class="aliases">Also known as:
1468
- <span class="names"><span id='gravatar-instance_method'>gravatar</span></span>
1469
- </span>
1470
-
1471
- </p><div class="docstring">
1472
- <div class="discussion">
1473
- <p>
1474
- Returns the value of attribute email_hash
1475
- </p>
1476
-
1477
-
1478
- </div>
1479
- </div>
1480
- <div class="tags">
1481
-
1482
- </div><table class="source_code">
1483
- <tr>
1484
- <td>
1485
- <pre class="lines">
1486
-
1487
-
1488
- 3
1489
- 4
1490
- 5</pre>
1491
- </td>
1492
- <td>
1493
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1494
-
1495
- <span class='def def kw'>def</span> <span class='email_hash identifier id'>email_hash</span>
1496
- <span class='@email_hash ivar id'>@email_hash</span>
1497
- <span class='end end kw'>end</span>
1498
- </pre>
1499
- </td>
1500
- </tr>
1501
- </table>
1502
- </div>
1503
-
1504
-
1505
- <span id="last_access_date=-instance_method"></span>
1506
- <span id="last_access_date-instance_method"></span>
1507
- <div class="method_details ">
1508
- <p class="signature " id="last_access_date-instance_method">
1509
-
1510
- - (<tt>Object</tt>) <strong>last_access_date</strong>
1511
-
1512
-
1513
-
1514
- </p><div class="docstring">
1515
- <div class="discussion">
1516
- <p>
1517
- Returns the value of attribute last_access_date
1518
- </p>
1519
-
1520
-
1521
- </div>
1522
- </div>
1523
- <div class="tags">
1524
-
1525
- </div><table class="source_code">
1526
- <tr>
1527
- <td>
1528
- <pre class="lines">
1529
-
1530
-
1531
- 3
1532
- 4
1533
- 5</pre>
1534
- </td>
1535
- <td>
1536
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1537
-
1538
- <span class='def def kw'>def</span> <span class='last_access_date identifier id'>last_access_date</span>
1539
- <span class='@last_access_date ivar id'>@last_access_date</span>
1540
- <span class='end end kw'>end</span>
1541
- </pre>
1542
- </td>
1543
- </tr>
1544
- </table>
1545
- </div>
1546
-
1547
-
1548
- <span id="location=-instance_method"></span>
1549
- <span id="location-instance_method"></span>
1550
- <div class="method_details ">
1551
- <p class="signature " id="location-instance_method">
1552
-
1553
- - (<tt>Object</tt>) <strong>location</strong>
1554
-
1555
-
1556
-
1557
- </p><div class="docstring">
1558
- <div class="discussion">
1559
- <p>
1560
- Returns the value of attribute location
1561
- </p>
1562
-
1563
-
1564
- </div>
1565
- </div>
1566
- <div class="tags">
1567
-
1568
- </div><table class="source_code">
1569
- <tr>
1570
- <td>
1571
- <pre class="lines">
1572
-
1573
-
1574
- 3
1575
- 4
1576
- 5</pre>
1577
- </td>
1578
- <td>
1579
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1580
-
1581
- <span class='def def kw'>def</span> <span class='location identifier id'>location</span>
1582
- <span class='@location ivar id'>@location</span>
1583
- <span class='end end kw'>end</span>
1584
- </pre>
1585
- </td>
1586
- </tr>
1587
- </table>
1588
- </div>
1589
-
1590
-
1591
- <span id="question_count=-instance_method"></span>
1592
- <span id="question_count-instance_method"></span>
1593
- <div class="method_details ">
1594
- <p class="signature " id="question_count-instance_method">
1595
-
1596
- - (<tt>Object</tt>) <strong>question_count</strong>
1597
-
1598
-
1599
-
1600
- </p><div class="docstring">
1601
- <div class="discussion">
1602
- <p>
1603
- Returns the value of attribute question_count
1604
- </p>
1605
-
1606
-
1607
- </div>
1608
- </div>
1609
- <div class="tags">
1610
-
1611
- </div><table class="source_code">
1612
- <tr>
1613
- <td>
1614
- <pre class="lines">
1615
-
1616
-
1617
- 3
1618
- 4
1619
- 5</pre>
1620
- </td>
1621
- <td>
1622
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1623
-
1624
- <span class='def def kw'>def</span> <span class='question_count identifier id'>question_count</span>
1625
- <span class='@question_count ivar id'>@question_count</span>
1626
- <span class='end end kw'>end</span>
1627
- </pre>
1628
- </td>
1629
- </tr>
1630
- </table>
1631
- </div>
1632
-
1633
-
1634
- <span id="reputation=-instance_method"></span>
1635
- <span id="reputation-instance_method"></span>
1636
- <div class="method_details ">
1637
- <p class="signature " id="reputation-instance_method">
1638
-
1639
- - (<tt>Object</tt>) <strong>reputation</strong>
1640
-
1641
-
1642
-
1643
- </p><div class="docstring">
1644
- <div class="discussion">
1645
- <p>
1646
- Returns the value of attribute reputation
1647
- </p>
1648
-
1649
-
1650
- </div>
1651
- </div>
1652
- <div class="tags">
1653
-
1654
- </div><table class="source_code">
1655
- <tr>
1656
- <td>
1657
- <pre class="lines">
1658
-
1659
-
1660
- 3
1661
- 4
1662
- 5</pre>
1663
- </td>
1664
- <td>
1665
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1666
-
1667
- <span class='def def kw'>def</span> <span class='reputation identifier id'>reputation</span>
1668
- <span class='@reputation ivar id'>@reputation</span>
1669
- <span class='end end kw'>end</span>
1670
- </pre>
1671
- </td>
1672
- </tr>
1673
- </table>
1674
- </div>
1675
-
1676
-
1677
- <span id="up_vote_count=-instance_method"></span>
1678
- <span id="up_vote_count-instance_method"></span>
1679
- <div class="method_details ">
1680
- <p class="signature " id="up_vote_count-instance_method">
1681
-
1682
- - (<tt>Object</tt>) <strong>up_vote_count</strong>
1683
-
1684
-
1685
-
1686
- <span class="aliases">Also known as:
1687
- <span class="names"><span id='up_votes-instance_method'>up_votes</span></span>
1688
- </span>
1689
-
1690
- </p><div class="docstring">
1691
- <div class="discussion">
1692
- <p>
1693
- Returns the value of attribute up_vote_count
1694
- </p>
1695
-
1696
-
1697
- </div>
1698
- </div>
1699
- <div class="tags">
1700
-
1701
- </div><table class="source_code">
1702
- <tr>
1703
- <td>
1704
- <pre class="lines">
1705
-
1706
-
1707
- 3
1708
- 4
1709
- 5</pre>
1710
- </td>
1711
- <td>
1712
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1713
-
1714
- <span class='def def kw'>def</span> <span class='up_vote_count identifier id'>up_vote_count</span>
1715
- <span class='@up_vote_count ivar id'>@up_vote_count</span>
1716
- <span class='end end kw'>end</span>
1717
- </pre>
1718
- </td>
1719
- </tr>
1720
- </table>
1721
- </div>
1722
-
1723
-
1724
- <span id="user_id=-instance_method"></span>
1725
- <span id="user_id-instance_method"></span>
1726
- <div class="method_details ">
1727
- <p class="signature " id="user_id-instance_method">
1728
-
1729
- - (<tt>Object</tt>) <strong>user_id</strong>
1730
-
1731
-
1732
-
1733
- <span class="aliases">Also known as:
1734
- <span class="names"><span id='id-instance_method'>id</span></span>
1735
- </span>
1736
-
1737
- </p><div class="docstring">
1738
- <div class="discussion">
1739
- <p>
1740
- Returns the value of attribute user_id
1741
- </p>
1742
-
1743
-
1744
- </div>
1745
- </div>
1746
- <div class="tags">
1747
-
1748
- </div><table class="source_code">
1749
- <tr>
1750
- <td>
1751
- <pre class="lines">
1752
-
1753
-
1754
- 3
1755
- 4
1756
- 5</pre>
1757
- </td>
1758
- <td>
1759
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1760
-
1761
- <span class='def def kw'>def</span> <span class='user_id identifier id'>user_id</span>
1762
- <span class='@user_id ivar id'>@user_id</span>
1763
- <span class='end end kw'>end</span>
1764
- </pre>
1765
- </td>
1766
- </tr>
1767
- </table>
1768
- </div>
1769
-
1770
-
1771
- <span id="user_type=-instance_method"></span>
1772
- <span id="user_type-instance_method"></span>
1773
- <div class="method_details ">
1774
- <p class="signature " id="user_type-instance_method">
1775
-
1776
- - (<tt>Object</tt>) <strong>user_type</strong>
1777
-
1778
-
1779
-
1780
- <span class="aliases">Also known as:
1781
- <span class="names"><span id='type-instance_method'>type</span></span>
1782
- </span>
1783
-
1784
- </p><div class="docstring">
1785
- <div class="discussion">
1786
- <p>
1787
- Returns the value of attribute user_type
1788
- </p>
1789
-
1790
-
1791
- </div>
1792
- </div>
1793
- <div class="tags">
1794
-
1795
- </div><table class="source_code">
1796
- <tr>
1797
- <td>
1798
- <pre class="lines">
1799
-
1800
-
1801
- 3
1802
- 4
1803
- 5</pre>
1804
- </td>
1805
- <td>
1806
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1807
-
1808
- <span class='def def kw'>def</span> <span class='user_type identifier id'>user_type</span>
1809
- <span class='@user_type ivar id'>@user_type</span>
1810
- <span class='end end kw'>end</span>
1811
- </pre>
1812
- </td>
1813
- </tr>
1814
- </table>
1815
- </div>
1816
-
1817
-
1818
- <span id="view_count=-instance_method"></span>
1819
- <span id="view_count-instance_method"></span>
1820
- <div class="method_details ">
1821
- <p class="signature " id="view_count-instance_method">
1822
-
1823
- - (<tt>Object</tt>) <strong>view_count</strong>
1824
-
1825
-
1826
-
1827
- <span class="aliases">Also known as:
1828
- <span class="names"><span id='views-instance_method'>views</span></span>
1829
- </span>
1830
-
1831
- </p><div class="docstring">
1832
- <div class="discussion">
1833
- <p>
1834
- Returns the value of attribute view_count
1835
- </p>
1836
-
1837
-
1838
- </div>
1839
- </div>
1840
- <div class="tags">
1841
-
1842
- </div><table class="source_code">
1843
- <tr>
1844
- <td>
1845
- <pre class="lines">
1846
-
1847
-
1848
- 3
1849
- 4
1850
- 5</pre>
1851
- </td>
1852
- <td>
1853
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1854
-
1855
- <span class='def def kw'>def</span> <span class='view_count identifier id'>view_count</span>
1856
- <span class='@view_count ivar id'>@view_count</span>
1857
- <span class='end end kw'>end</span>
1858
- </pre>
1859
- </td>
1860
- </tr>
1861
- </table>
1862
- </div>
1863
-
1864
-
1865
- <span id="website_url=-instance_method"></span>
1866
- <span id="website_url-instance_method"></span>
1867
- <div class="method_details ">
1868
- <p class="signature " id="website_url-instance_method">
1869
-
1870
- - (<tt>Object</tt>) <strong>website_url</strong>
1871
-
1872
-
1873
-
1874
- </p><div class="docstring">
1875
- <div class="discussion">
1876
- <p>
1877
- Returns the value of attribute website_url
1878
- </p>
1879
-
1880
-
1881
- </div>
1882
- </div>
1883
- <div class="tags">
1884
-
1885
- </div><table class="source_code">
1886
- <tr>
1887
- <td>
1888
- <pre class="lines">
1889
-
1890
-
1891
- 3
1892
- 4
1893
- 5</pre>
1894
- </td>
1895
- <td>
1896
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 3</span>
1897
-
1898
- <span class='def def kw'>def</span> <span class='website_url identifier id'>website_url</span>
1899
- <span class='@website_url ivar id'>@website_url</span>
1900
- <span class='end end kw'>end</span>
1901
- </pre>
1902
- </td>
1903
- </tr>
1904
- </table>
1905
- </div>
1906
-
1907
- </div>
1908
-
1909
-
1910
- <div id="class_method_details" class="method_details_list">
1911
- <h2>Class Method Details</h2>
1912
-
1913
-
1914
- <div class="method_details first">
1915
- <p class="signature first" id="filter-class_method">
1916
-
1917
- + (<tt>Object</tt>) <strong>filter</strong>(filter, options = {})
1918
-
1919
-
1920
-
1921
- </p><table class="source_code">
1922
- <tr>
1923
- <td>
1924
- <pre class="lines">
1925
-
1926
-
1927
- 26
1928
- 27
1929
- 28
1930
- 29</pre>
1931
- </td>
1932
- <td>
1933
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 26</span>
1934
-
1935
- <span class='def def kw'>def</span> <span class='filter identifier id'>filter</span><span class='lparen token'>(</span><span class='filter identifier id'>filter</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1936
- <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='reverse_merge! fid id'>reverse_merge!</span><span class='lparen token'>(</span><span class='symbol val'>:filter</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='filter identifier id'>filter</span><span class='rparen token'>)</span>
1937
- <span class='records identifier id'>records</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
1938
- <span class='end end kw'>end</span>
1939
- </pre>
1940
- </td>
1941
- </tr>
1942
- </table>
1943
- </div>
1944
-
1945
- </div>
1946
-
1947
- <div id="instance_method_details" class="method_details_list">
1948
- <h2>Instance Method Details</h2>
1949
-
1950
-
1951
- <div class="method_details first">
1952
- <p class="signature first" id="added_favorites-instance_method">
1953
-
1954
- - (<tt>Object</tt>) <strong>added_favorites</strong>(options = {})
1955
-
1956
-
1957
-
1958
- <span class="aliases">Also known as:
1959
- <span class="names"><span id='added_favourites-instance_method'>added_favourites</span></span>
1960
- </span>
1961
-
1962
- </p><div class="docstring">
1963
- <div class="discussion">
1964
- <p>
1965
- Could probably refactor the repetition of request(singular(id)&#8230; out
1966
- of this.
1967
- </p>
1968
-
1969
-
1970
- </div>
1971
- </div>
1972
- <div class="tags">
1973
-
1974
- </div><table class="source_code">
1975
- <tr>
1976
- <td>
1977
- <pre class="lines">
1978
-
1979
-
1980
- 89
1981
- 90
1982
- 91</pre>
1983
- </td>
1984
- <td>
1985
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 89</span>
1986
-
1987
- <span class='def def kw'>def</span> <span class='added_favorites identifier id'>added_favorites</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1988
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;favorites/added&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
1989
- <span class='end end kw'>end</span>
1990
- </pre>
1991
- </td>
1992
- </tr>
1993
- </table>
1994
- </div>
1995
-
1996
- <div class="method_details ">
1997
- <p class="signature " id="answers-instance_method">
1998
-
1999
- - (<tt>Object</tt>) <strong>answers</strong>(options = {})
2000
-
2001
-
2002
-
2003
- <span class="aliases">Also known as:
2004
- <span class="names"><span id='recent_answers-instance_method'>recent_answers</span></span>
2005
- </span>
2006
-
2007
- </p><div class="docstring">
2008
- <div class="discussion">
2009
- <p>
2010
- Answers #
2011
- </p>
2012
-
2013
-
2014
- </div>
2015
- </div>
2016
- <div class="tags">
2017
-
2018
- </div><table class="source_code">
2019
- <tr>
2020
- <td>
2021
- <pre class="lines">
2022
-
2023
-
2024
- 36
2025
- 37
2026
- 38</pre>
2027
- </td>
2028
- <td>
2029
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 36</span>
2030
-
2031
- <span class='def def kw'>def</span> <span class='answers identifier id'>answers</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2032
- <span class='parse_answers identifier id'>parse_answers</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;answers&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2033
- <span class='end end kw'>end</span>
2034
- </pre>
2035
- </td>
2036
- </tr>
2037
- </table>
2038
- </div>
2039
-
2040
- <div class="method_details ">
2041
- <p class="signature " id="answers_by_views-instance_method">
2042
-
2043
- - (<tt>Object</tt>) <strong>answers_by_views</strong>(options = {})
2044
-
2045
-
2046
-
2047
- </p><table class="source_code">
2048
- <tr>
2049
- <td>
2050
- <pre class="lines">
2051
-
2052
-
2053
- 40
2054
- 41
2055
- 42</pre>
2056
- </td>
2057
- <td>
2058
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 40</span>
2059
-
2060
- <span class='def def kw'>def</span> <span class='answers_by_views identifier id'>answers_by_views</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2061
- <span class='parse_answers identifier id'>parse_answers</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;answers/views&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2062
- <span class='end end kw'>end</span>
2063
- </pre>
2064
- </td>
2065
- </tr>
2066
- </table>
2067
- </div>
2068
-
2069
- <div class="method_details ">
2070
- <p class="signature " id="answers_by_votes-instance_method">
2071
-
2072
- - (<tt>Object</tt>) <strong>answers_by_votes</strong>(options = {})
2073
-
2074
-
2075
-
2076
- </p><table class="source_code">
2077
- <tr>
2078
- <td>
2079
- <pre class="lines">
2080
-
2081
-
2082
- 44
2083
- 45
2084
- 46</pre>
2085
- </td>
2086
- <td>
2087
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 44</span>
2088
-
2089
- <span class='def def kw'>def</span> <span class='answers_by_votes identifier id'>answers_by_votes</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2090
- <span class='parse_answers identifier id'>parse_answers</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;answers/votes&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2091
- <span class='end end kw'>end</span>
2092
- </pre>
2093
- </td>
2094
- </tr>
2095
- </table>
2096
- </div>
2097
-
2098
- <div class="method_details ">
2099
- <p class="signature " id="badges-instance_method">
2100
-
2101
- - (<tt>Object</tt>) <strong>badges</strong>(options = {})
2102
-
2103
-
2104
-
2105
- </p><table class="source_code">
2106
- <tr>
2107
- <td>
2108
- <pre class="lines">
2109
-
2110
-
2111
- 157
2112
- 158
2113
- 159</pre>
2114
- </td>
2115
- <td>
2116
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 157</span>
2117
-
2118
- <span class='def def kw'>def</span> <span class='badges identifier id'>badges</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2119
- <span class='parse_badges identifier id'>parse_badges</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;badges&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2120
- <span class='end end kw'>end</span>
2121
- </pre>
2122
- </td>
2123
- </tr>
2124
- </table>
2125
- </div>
2126
-
2127
- <div class="method_details ">
2128
- <p class="signature " id="comments-instance_method">
2129
-
2130
- - (<tt>Object</tt>) <strong>comments</strong>(options = {})
2131
-
2132
-
2133
-
2134
- </p><div class="docstring">
2135
- <div class="discussion">
2136
- <p>
2137
- Comments #
2138
- </p>
2139
-
2140
-
2141
- </div>
2142
- </div>
2143
- <div class="tags">
2144
-
2145
- </div><table class="source_code">
2146
- <tr>
2147
- <td>
2148
- <pre class="lines">
2149
-
2150
-
2151
- 56
2152
- 57
2153
- 58</pre>
2154
- </td>
2155
- <td>
2156
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 56</span>
2157
-
2158
- <span class='def def kw'>def</span> <span class='comments identifier id'>comments</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2159
- <span class='parse_comments identifier id'>parse_comments</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;comments&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2160
- <span class='end end kw'>end</span>
2161
- </pre>
2162
- </td>
2163
- </tr>
2164
- </table>
2165
- </div>
2166
-
2167
- <div class="method_details ">
2168
- <p class="signature " id="comments_by_score-instance_method">
2169
-
2170
- - (<tt>Object</tt>) <strong>comments_by_score</strong>(options = {})
2171
-
2172
-
2173
-
2174
- <span class="aliases">Also known as:
2175
- <span class="names"><span id='popular_comments-instance_method'>popular_comments</span></span>
2176
- </span>
2177
-
2178
- </p><table class="source_code">
2179
- <tr>
2180
- <td>
2181
- <pre class="lines">
2182
-
2183
-
2184
- 73
2185
- 74
2186
- 75</pre>
2187
- </td>
2188
- <td>
2189
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 73</span>
2190
-
2191
- <span class='def def kw'>def</span> <span class='comments_by_score identifier id'>comments_by_score</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2192
- <span class='parse_comments identifier id'>parse_comments</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;comments/score&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2193
- <span class='end end kw'>end</span>
2194
- </pre>
2195
- </td>
2196
- </tr>
2197
- </table>
2198
- </div>
2199
-
2200
- <div class="method_details ">
2201
- <p class="signature " id="directed_at-instance_method">
2202
-
2203
- - (<tt>Object</tt>) <strong>directed_at</strong>(other_user_id, options = {})
2204
-
2205
-
2206
-
2207
- </p><div class="docstring">
2208
- <div class="discussion">
2209
- <p>
2210
- This method&#8217;s a bit funny.
2211
- http://dev.meta.stackoverflow.com/questions/34747/comments-api-method
2212
- </p>
2213
-
2214
-
2215
- </div>
2216
- </div>
2217
- <div class="tags">
2218
-
2219
- </div><table class="source_code">
2220
- <tr>
2221
- <td>
2222
- <pre class="lines">
2223
-
2224
-
2225
- 61
2226
- 62
2227
- 63</pre>
2228
- </td>
2229
- <td>
2230
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 61</span>
2231
-
2232
- <span class='def def kw'>def</span> <span class='directed_at identifier id'>directed_at</span><span class='lparen token'>(</span><span class='other_user_id identifier id'>other_user_id</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2233
- <span class='parse_comments identifier id'>parse_comments</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;comments&quot;</span> <span class='plus op'>+</span> <span class='other_user_id identifier id'>other_user_id</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2234
- <span class='end end kw'>end</span>
2235
- </pre>
2236
- </td>
2237
- </tr>
2238
- </table>
2239
- </div>
2240
-
2241
- <div class="method_details ">
2242
- <p class="signature " id="directed_at_by_date-instance_method">
2243
-
2244
- - (<tt>Object</tt>) <strong>directed_at_by_date</strong>(other_user_id, options = {})
2245
-
2246
-
2247
-
2248
- </p><table class="source_code">
2249
- <tr>
2250
- <td>
2251
- <pre class="lines">
2252
-
2253
-
2254
- 65
2255
- 66
2256
- 67</pre>
2257
- </td>
2258
- <td>
2259
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 65</span>
2260
-
2261
- <span class='def def kw'>def</span> <span class='directed_at_by_date identifier id'>directed_at_by_date</span><span class='lparen token'>(</span><span class='other_user_id identifier id'>other_user_id</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2262
- <span class='parse_comments identifier id'>parse_comments</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;comments&quot;</span> <span class='plus op'>+</span> <span class='other_user_id identifier id'>other_user_id</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span> <span class='plus op'>+</span> <span class='string val'>&quot;recent&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2263
- <span class='end end kw'>end</span>
2264
- </pre>
2265
- </td>
2266
- </tr>
2267
- </table>
2268
- </div>
2269
-
2270
- <div class="method_details ">
2271
- <p class="signature " id="directed_at_by_score-instance_method">
2272
-
2273
- - (<tt>Object</tt>) <strong>directed_at_by_score</strong>(other_user_id, options = {})
2274
-
2275
-
2276
-
2277
- </p><table class="source_code">
2278
- <tr>
2279
- <td>
2280
- <pre class="lines">
2281
-
2282
-
2283
- 69
2284
- 70
2285
- 71</pre>
2286
- </td>
2287
- <td>
2288
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 69</span>
2289
-
2290
- <span class='def def kw'>def</span> <span class='directed_at_by_score identifier id'>directed_at_by_score</span><span class='lparen token'>(</span><span class='other_user_id identifier id'>other_user_id</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2291
- <span class='parse_comments identifier id'>parse_comments</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;comments&quot;</span> <span class='plus op'>+</span> <span class='other_user_id identifier id'>other_user_id</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span> <span class='plus op'>+</span> <span class='string val'>&quot;score&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2292
- <span class='end end kw'>end</span>
2293
- </pre>
2294
- </td>
2295
- </tr>
2296
- </table>
2297
- </div>
2298
-
2299
- <div class="method_details ">
2300
- <p class="signature " id="favorites-instance_method">
2301
-
2302
- - (<tt>Object</tt>) <strong>favorites</strong>(options = {})
2303
-
2304
-
2305
-
2306
- <span class="aliases">Also known as:
2307
- <span class="names"><span id='recent_favourites-instance_method'>recent_favourites</span>, <span id='favourites-instance_method'>favourites</span></span>
2308
- </span>
2309
-
2310
- </p><table class="source_code">
2311
- <tr>
2312
- <td>
2313
- <pre class="lines">
2314
-
2315
-
2316
- 93
2317
- 94
2318
- 95</pre>
2319
- </td>
2320
- <td>
2321
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 93</span>
2322
-
2323
- <span class='def def kw'>def</span> <span class='favorites identifier id'>favorites</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2324
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;favorites&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2325
- <span class='end end kw'>end</span>
2326
- </pre>
2327
- </td>
2328
- </tr>
2329
- </table>
2330
- </div>
2331
-
2332
- <div class="method_details ">
2333
- <p class="signature " id="mentioned-instance_method">
2334
-
2335
- - (<tt>Object</tt>) <strong>mentioned</strong>(options = {})
2336
-
2337
-
2338
-
2339
- <span class="aliases">Also known as:
2340
- <span class="names"><span id='mentions-instance_method'>mentions</span></span>
2341
- </span>
2342
-
2343
- </p><table class="source_code">
2344
- <tr>
2345
- <td>
2346
- <pre class="lines">
2347
-
2348
-
2349
- 153
2350
- 154
2351
- 155</pre>
2352
- </td>
2353
- <td>
2354
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 153</span>
2355
-
2356
- <span class='def def kw'>def</span> <span class='mentioned identifier id'>mentioned</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2357
- <span class='parse_comments identifier id'>parse_comments</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;mentioned&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2358
- <span class='end end kw'>end</span>
2359
- </pre>
2360
- </td>
2361
- </tr>
2362
- </table>
2363
- </div>
2364
-
2365
- <div class="method_details ">
2366
- <p class="signature " id="newest_answers-instance_method">
2367
-
2368
- - (<tt>Object</tt>) <strong>newest_answers</strong>(options = {})
2369
-
2370
-
2371
-
2372
- </p><table class="source_code">
2373
- <tr>
2374
- <td>
2375
- <pre class="lines">
2376
-
2377
-
2378
- 48
2379
- 49
2380
- 50</pre>
2381
- </td>
2382
- <td>
2383
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 48</span>
2384
-
2385
- <span class='def def kw'>def</span> <span class='newest_answers identifier id'>newest_answers</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2386
- <span class='parse_answers identifier id'>parse_answers</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;answers/newest&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2387
- <span class='end end kw'>end</span>
2388
- </pre>
2389
- </td>
2390
- </tr>
2391
- </table>
2392
- </div>
2393
-
2394
- <div class="method_details ">
2395
- <p class="signature " id="newest_favorites-instance_method">
2396
-
2397
- - (<tt>Object</tt>) <strong>newest_favorites</strong>(options = {})
2398
-
2399
-
2400
-
2401
- <span class="aliases">Also known as:
2402
- <span class="names"><span id='newest_favourites-instance_method'>newest_favourites</span></span>
2403
- </span>
2404
-
2405
- </p><table class="source_code">
2406
- <tr>
2407
- <td>
2408
- <pre class="lines">
2409
-
2410
-
2411
- 97
2412
- 98
2413
- 99</pre>
2414
- </td>
2415
- <td>
2416
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 97</span>
2417
-
2418
- <span class='def def kw'>def</span> <span class='newest_favorites identifier id'>newest_favorites</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2419
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;favorites/newest&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2420
- <span class='end end kw'>end</span>
2421
- </pre>
2422
- </td>
2423
- </tr>
2424
- </table>
2425
- </div>
2426
-
2427
- <div class="method_details ">
2428
- <p class="signature " id="newest_questions-instance_method">
2429
-
2430
- - (<tt>Object</tt>) <strong>newest_questions</strong>(options = {})
2431
-
2432
-
2433
-
2434
- </p><div class="docstring">
2435
- <div class="discussion">
2436
- <p>
2437
- Questions #
2438
- </p>
2439
-
2440
-
2441
- </div>
2442
- </div>
2443
- <div class="tags">
2444
-
2445
- </div><table class="source_code">
2446
- <tr>
2447
- <td>
2448
- <pre class="lines">
2449
-
2450
-
2451
- 123
2452
- 124
2453
- 125</pre>
2454
- </td>
2455
- <td>
2456
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 123</span>
2457
-
2458
- <span class='def def kw'>def</span> <span class='newest_questions identifier id'>newest_questions</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2459
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;questions/newest&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2460
- <span class='end end kw'>end</span>
2461
- </pre>
2462
- </td>
2463
- </tr>
2464
- </table>
2465
- </div>
2466
-
2467
- <div class="method_details ">
2468
- <p class="signature " id="popular_favorites-instance_method">
2469
-
2470
- - (<tt>Object</tt>) <strong>popular_favorites</strong>(options = {})
2471
-
2472
-
2473
-
2474
- <span class="aliases">Also known as:
2475
- <span class="names"><span id='favourites_by_views-instance_method'>favourites_by_views</span>, <span id='favorites_by_views-instance_method'>favorites_by_views</span>, <span id='popular_favourites-instance_method'>popular_favourites</span></span>
2476
- </span>
2477
-
2478
- </p><table class="source_code">
2479
- <tr>
2480
- <td>
2481
- <pre class="lines">
2482
-
2483
-
2484
- 101
2485
- 102
2486
- 103</pre>
2487
- </td>
2488
- <td>
2489
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 101</span>
2490
-
2491
- <span class='def def kw'>def</span> <span class='popular_favorites identifier id'>popular_favorites</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2492
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;favorites/views&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2493
- <span class='end end kw'>end</span>
2494
- </pre>
2495
- </td>
2496
- </tr>
2497
- </table>
2498
- </div>
2499
-
2500
- <div class="method_details ">
2501
- <p class="signature " id="questions-instance_method">
2502
-
2503
- - (<tt>Object</tt>) <strong>questions</strong>(options = {})
2504
-
2505
-
2506
-
2507
- </p><table class="source_code">
2508
- <tr>
2509
- <td>
2510
- <pre class="lines">
2511
-
2512
-
2513
- 127
2514
- 128
2515
- 129</pre>
2516
- </td>
2517
- <td>
2518
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 127</span>
2519
-
2520
- <span class='def def kw'>def</span> <span class='questions identifier id'>questions</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2521
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;questions&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2522
- <span class='end end kw'>end</span>
2523
- </pre>
2524
- </td>
2525
- </tr>
2526
- </table>
2527
- </div>
2528
-
2529
- <div class="method_details ">
2530
- <p class="signature " id="questions_by_views-instance_method">
2531
-
2532
- - (<tt>Object</tt>) <strong>questions_by_views</strong>(options = {})
2533
-
2534
-
2535
-
2536
- </p><table class="source_code">
2537
- <tr>
2538
- <td>
2539
- <pre class="lines">
2540
-
2541
-
2542
- 131
2543
- 132
2544
- 133</pre>
2545
- </td>
2546
- <td>
2547
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 131</span>
2548
-
2549
- <span class='def def kw'>def</span> <span class='questions_by_views identifier id'>questions_by_views</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2550
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;questions/views&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2551
- <span class='end end kw'>end</span>
2552
- </pre>
2553
- </td>
2554
- </tr>
2555
- </table>
2556
- </div>
2557
-
2558
- <div class="method_details ">
2559
- <p class="signature " id="questions_by_votes-instance_method">
2560
-
2561
- - (<tt>Object</tt>) <strong>questions_by_votes</strong>(options = {})
2562
-
2563
-
2564
-
2565
- <span class="aliases">Also known as:
2566
- <span class="names"><span id='popular_questions-instance_method'>popular_questions</span></span>
2567
- </span>
2568
-
2569
- </p><table class="source_code">
2570
- <tr>
2571
- <td>
2572
- <pre class="lines">
2573
-
2574
-
2575
- 135
2576
- 136
2577
- 137</pre>
2578
- </td>
2579
- <td>
2580
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 135</span>
2581
-
2582
- <span class='def def kw'>def</span> <span class='questions_by_votes identifier id'>questions_by_votes</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2583
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;questions/votes&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2584
- <span class='end end kw'>end</span>
2585
- </pre>
2586
- </td>
2587
- </tr>
2588
- </table>
2589
- </div>
2590
-
2591
- <div class="method_details ">
2592
- <p class="signature " id="recent_comments-instance_method">
2593
-
2594
- - (<tt>Object</tt>) <strong>recent_comments</strong>(options = {})
2595
-
2596
-
2597
-
2598
- </p><table class="source_code">
2599
- <tr>
2600
- <td>
2601
- <pre class="lines">
2602
-
2603
-
2604
- 79
2605
- 80
2606
- 81</pre>
2607
- </td>
2608
- <td>
2609
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 79</span>
2610
-
2611
- <span class='def def kw'>def</span> <span class='recent_comments identifier id'>recent_comments</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2612
- <span class='parse_comments identifier id'>parse_comments</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;comments/recent&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2613
- <span class='end end kw'>end</span>
2614
- </pre>
2615
- </td>
2616
- </tr>
2617
- </table>
2618
- </div>
2619
-
2620
- <div class="method_details ">
2621
- <p class="signature " id="recent_favorites-instance_method">
2622
-
2623
- - (<tt>Object</tt>) <strong>recent_favorites</strong>(options = {})
2624
-
2625
-
2626
-
2627
- </p><table class="source_code">
2628
- <tr>
2629
- <td>
2630
- <pre class="lines">
2631
-
2632
-
2633
- 108
2634
- 109
2635
- 110</pre>
2636
- </td>
2637
- <td>
2638
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 108</span>
2639
-
2640
- <span class='def def kw'>def</span> <span class='recent_favorites identifier id'>recent_favorites</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2641
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;favorites/recent&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2642
- <span class='end end kw'>end</span>
2643
- </pre>
2644
- </td>
2645
- </tr>
2646
- </table>
2647
- </div>
2648
-
2649
- <div class="method_details ">
2650
- <p class="signature " id="recent_questions-instance_method">
2651
-
2652
- - (<tt>Object</tt>) <strong>recent_questions</strong>(options = {})
2653
-
2654
-
2655
-
2656
- </p><table class="source_code">
2657
- <tr>
2658
- <td>
2659
- <pre class="lines">
2660
-
2661
-
2662
- 141
2663
- 142
2664
- 143</pre>
2665
- </td>
2666
- <td>
2667
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 141</span>
2668
-
2669
- <span class='def def kw'>def</span> <span class='recent_questions identifier id'>recent_questions</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2670
- <span class='parse_questions identifier id'>parse_questions</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;questions/recent&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2671
- <span class='end end kw'>end</span>
2672
- </pre>
2673
- </td>
2674
- </tr>
2675
- </table>
2676
- </div>
2677
-
2678
- <div class="method_details ">
2679
- <p class="signature " id="reputations-instance_method">
2680
-
2681
- - (<tt>Object</tt>) <strong>reputations</strong>(options = {})
2682
-
2683
-
2684
-
2685
- </p><div class="docstring">
2686
- <div class="discussion">
2687
- <p>
2688
- Other stuff #
2689
- </p>
2690
-
2691
-
2692
- </div>
2693
- </div>
2694
- <div class="tags">
2695
-
2696
- </div><table class="source_code">
2697
- <tr>
2698
- <td>
2699
- <pre class="lines">
2700
-
2701
-
2702
- 149
2703
- 150
2704
- 151</pre>
2705
- </td>
2706
- <td>
2707
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 149</span>
2708
-
2709
- <span class='def def kw'>def</span> <span class='reputations identifier id'>reputations</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2710
- <span class='parse_reputations identifier id'>parse_reputations</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;reputation&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2711
- <span class='end end kw'>end</span>
2712
- </pre>
2713
- </td>
2714
- </tr>
2715
- </table>
2716
- </div>
2717
-
2718
- <div class="method_details ">
2719
- <p class="signature " id="tags-instance_method">
2720
-
2721
- - (<tt>Object</tt>) <strong>tags</strong>(options = {})
2722
-
2723
-
2724
-
2725
- </p><table class="source_code">
2726
- <tr>
2727
- <td>
2728
- <pre class="lines">
2729
-
2730
-
2731
- 161
2732
- 162
2733
- 163</pre>
2734
- </td>
2735
- <td>
2736
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 161</span>
2737
-
2738
- <span class='def def kw'>def</span> <span class='tags identifier id'>tags</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2739
- <span class='parse_tags identifier id'>parse_tags</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;tags&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2740
- <span class='end end kw'>end</span>
2741
- </pre>
2742
- </td>
2743
- </tr>
2744
- </table>
2745
- </div>
2746
-
2747
- <div class="method_details ">
2748
- <p class="signature " id="timeline-instance_method">
2749
-
2750
- - (<tt>Object</tt>) <strong>timeline</strong>(options = {})
2751
-
2752
-
2753
-
2754
- </p><table class="source_code">
2755
- <tr>
2756
- <td>
2757
- <pre class="lines">
2758
-
2759
-
2760
- 167
2761
- 168
2762
- 169</pre>
2763
- </td>
2764
- <td>
2765
- <pre class="code"><span class="info file"># File 'lib/stacked/user.rb', line 167</span>
2766
-
2767
- <span class='def def kw'>def</span> <span class='timeline identifier id'>timeline</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
2768
- <span class='parse_user_timeline identifier id'>parse_user_timeline</span><span class='lparen token'>(</span><span class='request identifier id'>request</span><span class='lparen token'>(</span><span class='singular identifier id'>singular</span><span class='lparen token'>(</span><span class='id identifier id'>id</span><span class='rparen token'>)</span> <span class='plus op'>+</span> <span class='string val'>&quot;timeline&quot;</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
2769
- <span class='end end kw'>end</span>
2770
- </pre>
2771
- </td>
2772
- </tr>
2773
- </table>
2774
- </div>
2775
-
2776
- </div>
2777
-
2778
- </div>
2779
-
2780
- <div id="footer">
2781
- Generated on Sun Apr 4 18:16:32 2010 by
2782
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
2783
- 0.5.4 (ruby-1.8.7).
2784
- </div>
2785
-
2786
- </body>
2787
- </html>