esp_sdk 1.1.0 → 2.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -2
  3. data/.rubocop.yml +53 -6
  4. data/.ruby-version +1 -1
  5. data/.travis.yml +8 -2
  6. data/Gemfile.lock +171 -0
  7. data/Guardfile +47 -0
  8. data/README.md +230 -5
  9. data/Rakefile +14 -1
  10. data/assets/logo.png +0 -0
  11. data/bin/esp_console +71 -0
  12. data/esp_sdk.gemspec +27 -18
  13. data/lib/esp/exceptions.rb +3 -0
  14. data/lib/esp/extensions/active_resource/formats/json_api_format.rb +105 -0
  15. data/lib/esp/extensions/active_resource/paginated_collection.rb +198 -0
  16. data/lib/esp/extensions/active_resource/validations.rb +45 -0
  17. data/lib/esp/resources/alert.rb +135 -0
  18. data/lib/esp/resources/cloud_trail_event.rb +45 -0
  19. data/lib/esp/resources/concerns/stat_totals.rb +79 -0
  20. data/lib/esp/resources/contact_request.rb +42 -0
  21. data/lib/esp/resources/custom_signature.rb +224 -0
  22. data/lib/esp/resources/dashboard.rb +31 -0
  23. data/lib/esp/resources/external_account.rb +89 -0
  24. data/lib/esp/resources/organization.rb +61 -0
  25. data/lib/esp/resources/region.rb +46 -0
  26. data/lib/esp/resources/report.rb +100 -0
  27. data/lib/esp/resources/resource.rb +66 -0
  28. data/lib/esp/resources/service.rb +31 -0
  29. data/lib/esp/resources/signature.rb +106 -0
  30. data/lib/esp/resources/stat.rb +124 -0
  31. data/lib/esp/resources/stat_custom_signature.rb +121 -0
  32. data/lib/esp/resources/stat_region.rb +121 -0
  33. data/lib/esp/resources/stat_service.rb +121 -0
  34. data/lib/esp/resources/stat_signature.rb +121 -0
  35. data/lib/esp/resources/sub_organization.rb +69 -0
  36. data/lib/esp/resources/suppression/region.rb +99 -0
  37. data/lib/esp/resources/suppression/signature.rb +107 -0
  38. data/lib/esp/resources/suppression/unique_identifier.rb +60 -0
  39. data/lib/esp/resources/suppression.rb +86 -0
  40. data/lib/esp/resources/tag.rb +45 -0
  41. data/lib/esp/resources/team.rb +79 -0
  42. data/lib/esp/resources/user.rb +46 -0
  43. data/lib/esp/version.rb +3 -0
  44. data/lib/esp.rb +95 -0
  45. data/lib/esp_sdk.rb +9 -45
  46. data/lib/tasks/rubocop.rake +2 -0
  47. data/lib/tasks/testing.rake +3 -0
  48. data/rdoc/ActiveResource/Formats.html +176 -0
  49. data/rdoc/ActiveResource/PaginatedCollection.html +910 -0
  50. data/rdoc/ActiveResource.html +180 -0
  51. data/rdoc/ESP/Alert.html +771 -0
  52. data/rdoc/ESP/CloudTrailEvent.html +375 -0
  53. data/rdoc/ESP/ContactRequest.html +366 -0
  54. data/rdoc/ESP/CustomSignature.html +746 -0
  55. data/rdoc/ESP/Dashboard.html +355 -0
  56. data/rdoc/ESP/ExternalAccount.html +565 -0
  57. data/rdoc/ESP/Organization.html +590 -0
  58. data/rdoc/ESP/Region.html +399 -0
  59. data/rdoc/ESP/Report.html +622 -0
  60. data/rdoc/ESP/Service.html +380 -0
  61. data/rdoc/ESP/Signature.html +555 -0
  62. data/rdoc/ESP/Stat.html +1778 -0
  63. data/rdoc/ESP/StatCustomSignature.html +1599 -0
  64. data/rdoc/ESP/StatRegion.html +1598 -0
  65. data/rdoc/ESP/StatService.html +1598 -0
  66. data/rdoc/ESP/StatSignature.html +1598 -0
  67. data/rdoc/ESP/SubOrganization.html +540 -0
  68. data/rdoc/ESP/Suppression/Region.html +454 -0
  69. data/rdoc/ESP/Suppression/Signature.html +470 -0
  70. data/rdoc/ESP/Suppression/UniqueIdentifier.html +417 -0
  71. data/rdoc/ESP/Suppression.html +649 -0
  72. data/rdoc/ESP/Tag.html +371 -0
  73. data/rdoc/ESP/Team.html +584 -0
  74. data/rdoc/ESP/User.html +483 -0
  75. data/rdoc/ESP.html +546 -0
  76. data/rdoc/README_md.html +501 -0
  77. data/rdoc/created.rid +30 -0
  78. data/rdoc/images/add.png +0 -0
  79. data/rdoc/images/arrow_up.png +0 -0
  80. data/rdoc/images/brick.png +0 -0
  81. data/rdoc/images/brick_link.png +0 -0
  82. data/rdoc/images/bug.png +0 -0
  83. data/rdoc/images/bullet_black.png +0 -0
  84. data/rdoc/images/bullet_toggle_minus.png +0 -0
  85. data/rdoc/images/bullet_toggle_plus.png +0 -0
  86. data/rdoc/images/date.png +0 -0
  87. data/rdoc/images/delete.png +0 -0
  88. data/rdoc/images/find.png +0 -0
  89. data/rdoc/images/loadingAnimation.gif +0 -0
  90. data/rdoc/images/macFFBgHack.png +0 -0
  91. data/rdoc/images/package.png +0 -0
  92. data/rdoc/images/page_green.png +0 -0
  93. data/rdoc/images/page_white_text.png +0 -0
  94. data/rdoc/images/page_white_width.png +0 -0
  95. data/rdoc/images/plugin.png +0 -0
  96. data/rdoc/images/ruby.png +0 -0
  97. data/rdoc/images/tag_blue.png +0 -0
  98. data/rdoc/images/tag_green.png +0 -0
  99. data/rdoc/images/transparent.png +0 -0
  100. data/rdoc/images/wrench.png +0 -0
  101. data/rdoc/images/wrench_orange.png +0 -0
  102. data/rdoc/images/zoom.png +0 -0
  103. data/rdoc/index.html +134 -0
  104. data/rdoc/js/darkfish.js +155 -0
  105. data/rdoc/js/jquery.js +4 -0
  106. data/rdoc/js/navigation.js +142 -0
  107. data/rdoc/js/search.js +94 -0
  108. data/rdoc/js/search_index.js +1 -0
  109. data/rdoc/js/searcher.js +228 -0
  110. data/rdoc/rdoc.css +595 -0
  111. data/rdoc/table_of_contents.html +927 -0
  112. data/test/esp/extensions/active_resource/formats/json_api_format_test.rb +109 -0
  113. data/test/esp/extensions/active_resource/paginated_collection_test.rb +435 -0
  114. data/test/esp/extensions/active_resource/validations_test.rb +59 -0
  115. data/test/esp/resources/alert_test.rb +263 -0
  116. data/test/esp/resources/cloud_trail_event_test.rb +98 -0
  117. data/test/esp/resources/contact_request_test.rb +73 -0
  118. data/test/esp/resources/custom_signature_test.rb +241 -0
  119. data/test/esp/resources/dashboard_test.rb +71 -0
  120. data/test/esp/resources/external_account_test.rb +125 -0
  121. data/test/esp/resources/organization_test.rb +175 -0
  122. data/test/esp/resources/region_test.rb +84 -0
  123. data/test/esp/resources/report_test.rb +180 -0
  124. data/test/esp/resources/resource_test.rb +183 -0
  125. data/test/esp/resources/service_test.rb +64 -0
  126. data/test/esp/resources/signature_test.rb +177 -0
  127. data/test/esp/resources/stat_custom_signature_test.rb +115 -0
  128. data/test/esp/resources/stat_region_test.rb +114 -0
  129. data/test/esp/resources/stat_service_test.rb +114 -0
  130. data/test/esp/resources/stat_signature_test.rb +115 -0
  131. data/test/esp/resources/stat_test.rb +159 -0
  132. data/test/esp/resources/sub_organization_test.rb +127 -0
  133. data/test/esp/resources/suppression/region_test.rb +115 -0
  134. data/test/esp/resources/suppression/signature_test.rb +117 -0
  135. data/test/esp/resources/suppression/unique_identifier_test.rb +79 -0
  136. data/test/esp/resources/suppression_test.rb +226 -0
  137. data/test/esp/resources/tag_test.rb +98 -0
  138. data/test/esp/resources/team_test.rb +140 -0
  139. data/test/esp/resources/user_test.rb +113 -0
  140. data/test/esp_test.rb +139 -0
  141. data/test/factories/alerts.rb +234 -0
  142. data/test/factories/cloud_trail_events.rb +16 -0
  143. data/test/factories/contact_requests.rb +14 -0
  144. data/test/factories/custom_signatures.rb +30 -0
  145. data/test/factories/dashboards.rb +91 -0
  146. data/test/factories/errors.rb +24 -0
  147. data/test/factories/external_accounts.rb +44 -0
  148. data/test/factories/organizations.rb +48 -0
  149. data/test/factories/regions.rb +9 -0
  150. data/test/factories/reports.rb +56 -0
  151. data/test/factories/services.rb +12 -0
  152. data/test/factories/signatures.rb +28 -0
  153. data/test/factories/stat_custom_signatures.rb +97 -0
  154. data/test/factories/stat_regions.rb +97 -0
  155. data/test/factories/stat_services.rb +97 -0
  156. data/test/factories/stat_signautures.rb +97 -0
  157. data/test/factories/stats.rb +129 -0
  158. data/test/factories/sub_organizations.rb +34 -0
  159. data/test/factories/suppression/regions.rb +90 -0
  160. data/test/factories/suppression/signatures.rb +117 -0
  161. data/test/factories/suppression/unique_identifiers.rb +111 -0
  162. data/test/factories/suppressions.rb +71 -0
  163. data/test/factories/tags.rb +12 -0
  164. data/test/factories/teams.rb +32 -0
  165. data/test/factories/users.rb +54 -0
  166. data/test/json_strategy.rb +25 -0
  167. data/test/test_helper.rb +44 -5
  168. metadata +387 -119
  169. data/bin/esp_repl +0 -60
  170. data/lib/esp_sdk/api.rb +0 -33
  171. data/lib/esp_sdk/client.rb +0 -62
  172. data/lib/esp_sdk/configure.rb +0 -40
  173. data/lib/esp_sdk/end_points/base.rb +0 -102
  174. data/lib/esp_sdk/end_points/contact_requests.rb +0 -6
  175. data/lib/esp_sdk/end_points/custom_signatures.rb +0 -41
  176. data/lib/esp_sdk/end_points/dashboard.rb +0 -35
  177. data/lib/esp_sdk/end_points/external_accounts.rb +0 -9
  178. data/lib/esp_sdk/end_points/organizations.rb +0 -6
  179. data/lib/esp_sdk/end_points/reports.rb +0 -6
  180. data/lib/esp_sdk/end_points/services.rb +0 -6
  181. data/lib/esp_sdk/end_points/signatures.rb +0 -39
  182. data/lib/esp_sdk/end_points/sub_organizations.rb +0 -6
  183. data/lib/esp_sdk/end_points/teams.rb +0 -6
  184. data/lib/esp_sdk/end_points/users.rb +0 -6
  185. data/lib/esp_sdk/exceptions.rb +0 -8
  186. data/lib/esp_sdk/extensions/rest_client/request.rb +0 -9
  187. data/lib/esp_sdk/repl.rb +0 -61
  188. data/lib/esp_sdk/version.rb +0 -3
  189. data/test/esp_sdk/api_test.rb +0 -36
  190. data/test/esp_sdk/client_test.rb +0 -129
  191. data/test/esp_sdk/configure_test.rb +0 -65
  192. data/test/esp_sdk/end_points/.keep +0 -0
  193. data/test/esp_sdk/end_points/base_test.rb +0 -230
  194. data/test/esp_sdk/end_points/custom_signatures_test.rb +0 -90
  195. data/test/esp_sdk/end_points/dashboard_test.rb +0 -55
  196. data/test/esp_sdk/end_points/external_accounts_test.rb +0 -20
  197. data/test/esp_sdk/end_points/signatures_test.rb +0 -83
  198. data/test/esp_sdk/exceptions_test.rb +0 -41
  199. data/test/esp_sdk_test.rb +0 -70
@@ -0,0 +1,1778 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class ESP::Stat - ESPSDK</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+
47
+
48
+ <div id="file-metadata">
49
+ <nav id="file-list-section" class="section">
50
+ <h3 class="section-header">Defined In</h3>
51
+ <ul>
52
+ <li>lib/esp/resources/stat.rb
53
+ </ul>
54
+ </nav>
55
+
56
+
57
+ </div>
58
+
59
+ <div id="class-metadata">
60
+ <nav id="sections-section" class="section">
61
+ <h3 class="section-header">Sections</h3>
62
+ <ul class="link-list">
63
+
64
+ <li><a href="#5Buntitled-5D"></a></li>
65
+
66
+ <li><a href="#27total-27+rollup+methods">&#39;total&#39; rollup methods</a></li>
67
+
68
+ </ul>
69
+ </nav>
70
+
71
+ <nav id="parent-class-section" class="section">
72
+ <h3 class="section-header">Parent</h3>
73
+
74
+ <p class="link">ESP::Resource
75
+
76
+ </nav>
77
+
78
+
79
+
80
+ <!-- Method Quickref -->
81
+ <nav id="method-list-section" class="section">
82
+ <h3 class="section-header">Methods</h3>
83
+
84
+ <ul class="link-list">
85
+
86
+ <li ><a href="#method-c-create">::create</a>
87
+
88
+ <li ><a href="#method-c-find">::find</a>
89
+
90
+ <li ><a href="#method-c-for_report">::for_report</a>
91
+
92
+ <li ><a href="#method-c-latest_for_teams">::latest_for_teams</a>
93
+
94
+ <li ><a href="#method-i-custom_signatures">#custom_signatures</a>
95
+
96
+ <li ><a href="#method-i-destroy">#destroy</a>
97
+
98
+ <li ><a href="#method-i-regions">#regions</a>
99
+
100
+ <li ><a href="#method-i-report">#report</a>
101
+
102
+ <li ><a href="#method-i-save">#save</a>
103
+
104
+ <li ><a href="#method-i-services">#services</a>
105
+
106
+ <li ><a href="#method-i-signatures">#signatures</a>
107
+
108
+ <li ><a href="#method-i-total">#total</a>
109
+
110
+ <li ><a href="#method-i-total_error">#total_error</a>
111
+
112
+ <li ><a href="#method-i-total_fail">#total_fail</a>
113
+
114
+ <li ><a href="#method-i-total_info">#total_info</a>
115
+
116
+ <li ><a href="#method-i-total_new_1d">#total_new_1d</a>
117
+
118
+ <li ><a href="#method-i-total_new_1d_error">#total_new_1d_error</a>
119
+
120
+ <li ><a href="#method-i-total_new_1d_fail">#total_new_1d_fail</a>
121
+
122
+ <li ><a href="#method-i-total_new_1d_info">#total_new_1d_info</a>
123
+
124
+ <li ><a href="#method-i-total_new_1d_pass">#total_new_1d_pass</a>
125
+
126
+ <li ><a href="#method-i-total_new_1d_warn">#total_new_1d_warn</a>
127
+
128
+ <li ><a href="#method-i-total_new_1h">#total_new_1h</a>
129
+
130
+ <li ><a href="#method-i-total_new_1h_error">#total_new_1h_error</a>
131
+
132
+ <li ><a href="#method-i-total_new_1h_fail">#total_new_1h_fail</a>
133
+
134
+ <li ><a href="#method-i-total_new_1h_info">#total_new_1h_info</a>
135
+
136
+ <li ><a href="#method-i-total_new_1h_pass">#total_new_1h_pass</a>
137
+
138
+ <li ><a href="#method-i-total_new_1h_warn">#total_new_1h_warn</a>
139
+
140
+ <li ><a href="#method-i-total_new_1w">#total_new_1w</a>
141
+
142
+ <li ><a href="#method-i-total_new_1w_error">#total_new_1w_error</a>
143
+
144
+ <li ><a href="#method-i-total_new_1w_fail">#total_new_1w_fail</a>
145
+
146
+ <li ><a href="#method-i-total_new_1w_info">#total_new_1w_info</a>
147
+
148
+ <li ><a href="#method-i-total_new_1w_pass">#total_new_1w_pass</a>
149
+
150
+ <li ><a href="#method-i-total_new_1w_warn">#total_new_1w_warn</a>
151
+
152
+ <li ><a href="#method-i-total_old">#total_old</a>
153
+
154
+ <li ><a href="#method-i-total_old_error">#total_old_error</a>
155
+
156
+ <li ><a href="#method-i-total_old_fail">#total_old_fail</a>
157
+
158
+ <li ><a href="#method-i-total_old_info">#total_old_info</a>
159
+
160
+ <li ><a href="#method-i-total_old_pass">#total_old_pass</a>
161
+
162
+ <li ><a href="#method-i-total_old_warn">#total_old_warn</a>
163
+
164
+ <li ><a href="#method-i-total_pass">#total_pass</a>
165
+
166
+ <li ><a href="#method-i-total_suppressed">#total_suppressed</a>
167
+
168
+ <li ><a href="#method-i-total_suppressed_error">#total_suppressed_error</a>
169
+
170
+ <li ><a href="#method-i-total_suppressed_fail">#total_suppressed_fail</a>
171
+
172
+ <li ><a href="#method-i-total_suppressed_pass">#total_suppressed_pass</a>
173
+
174
+ <li ><a href="#method-i-total_suppressed_warn">#total_suppressed_warn</a>
175
+
176
+ <li ><a href="#method-i-total_warn">#total_warn</a>
177
+
178
+ </ul>
179
+ </nav>
180
+
181
+ </div>
182
+
183
+ <div id="project-metadata">
184
+ <nav id="fileindex-section" class="section project-section">
185
+ <h3 class="section-header">Pages</h3>
186
+
187
+ <ul>
188
+
189
+ <li class="file"><a href="../README_md.html">README</a>
190
+
191
+ </ul>
192
+ </nav>
193
+
194
+ <nav id="classindex-section" class="section project-section">
195
+ <h3 class="section-header">Class and Module Index</h3>
196
+
197
+ <ul class="link-list">
198
+
199
+ <li><a href="../ActiveResource.html">ActiveResource</a>
200
+
201
+ <li><a href="../ActiveResource/Formats.html">ActiveResource::Formats</a>
202
+
203
+ <li><a href="../ActiveResource/PaginatedCollection.html">ActiveResource::PaginatedCollection</a>
204
+
205
+ <li><a href="../ESP.html">ESP</a>
206
+
207
+ <li><a href="../ESP/Alert.html">ESP::Alert</a>
208
+
209
+ <li><a href="../ESP/CloudTrailEvent.html">ESP::CloudTrailEvent</a>
210
+
211
+ <li><a href="../ESP/ContactRequest.html">ESP::ContactRequest</a>
212
+
213
+ <li><a href="../ESP/CustomSignature.html">ESP::CustomSignature</a>
214
+
215
+ <li><a href="../ESP/Dashboard.html">ESP::Dashboard</a>
216
+
217
+ <li><a href="../ESP/ExternalAccount.html">ESP::ExternalAccount</a>
218
+
219
+ <li><a href="../ESP/Organization.html">ESP::Organization</a>
220
+
221
+ <li><a href="../ESP/Region.html">ESP::Region</a>
222
+
223
+ <li><a href="../ESP/Report.html">ESP::Report</a>
224
+
225
+ <li><a href="../ESP/Service.html">ESP::Service</a>
226
+
227
+ <li><a href="../ESP/Signature.html">ESP::Signature</a>
228
+
229
+ <li><a href="../ESP/Stat.html">ESP::Stat</a>
230
+
231
+ <li><a href="../ESP/StatCustomSignature.html">ESP::StatCustomSignature</a>
232
+
233
+ <li><a href="../ESP/StatRegion.html">ESP::StatRegion</a>
234
+
235
+ <li><a href="../ESP/StatService.html">ESP::StatService</a>
236
+
237
+ <li><a href="../ESP/StatSignature.html">ESP::StatSignature</a>
238
+
239
+ <li><a href="../ESP/SubOrganization.html">ESP::SubOrganization</a>
240
+
241
+ <li><a href="../ESP/Suppression.html">ESP::Suppression</a>
242
+
243
+ <li><a href="../ESP/Suppression/Region.html">ESP::Suppression::Region</a>
244
+
245
+ <li><a href="../ESP/Suppression/Signature.html">ESP::Suppression::Signature</a>
246
+
247
+ <li><a href="../ESP/Suppression/UniqueIdentifier.html">ESP::Suppression::UniqueIdentifier</a>
248
+
249
+ <li><a href="../ESP/Tag.html">ESP::Tag</a>
250
+
251
+ <li><a href="../ESP/Team.html">ESP::Team</a>
252
+
253
+ <li><a href="../ESP/User.html">ESP::User</a>
254
+
255
+ </ul>
256
+ </nav>
257
+
258
+ </div>
259
+ </nav>
260
+
261
+ <div id="documentation">
262
+ <h1 class="class">class ESP::Stat</h1>
263
+
264
+ <div id="description" class="description">
265
+
266
+ </div><!-- description -->
267
+
268
+
269
+
270
+
271
+ <section id="5Buntitled-5D" class="documentation-section">
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+ <!-- Methods -->
281
+
282
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
283
+ <h3 class="section-header">Public Class Methods</h3>
284
+
285
+
286
+ <div id="method-c-create" class="method-detail ">
287
+
288
+ <div class="method-heading">
289
+ <span class="method-name">create</span><span
290
+ class="method-args">()</span>
291
+
292
+ <span class="method-click-advice">click to toggle source</span>
293
+
294
+ </div>
295
+
296
+
297
+ <div class="method-description">
298
+
299
+ <p>Not Implemented. You cannot create a <a href="Stat.html">Stat</a>.</p>
300
+
301
+
302
+
303
+
304
+ <div class="method-source-code" id="create-source">
305
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 33</span>
306
+ </pre>
307
+ </div><!-- create-source -->
308
+
309
+ </div>
310
+
311
+
312
+
313
+
314
+ </div><!-- create-method -->
315
+
316
+
317
+ <div id="method-c-find" class="method-detail ">
318
+
319
+ <div class="method-heading">
320
+ <span class="method-name">find</span><span
321
+ class="method-args">(*)</span>
322
+
323
+ <span class="method-click-advice">click to toggle source</span>
324
+
325
+ </div>
326
+
327
+
328
+ <div class="method-description">
329
+
330
+ <p>Not Implemented. You cannot search for a <a href="Stat.html">Stat</a>.</p>
331
+
332
+
333
+
334
+
335
+ <div class="method-source-code" id="find-source">
336
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 26</span>
337
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">find</span>(<span class="ruby-operator">*</span>)
338
+ <span class="ruby-identifier">fail</span> <span class="ruby-constant">ESP</span><span class="ruby-operator">::</span><span class="ruby-constant">NotImplementedError</span>, <span class="ruby-string">&#39;Regular ARELlike methods are disabled. Use either the ESP::Stat.for_report or ESP::Stat.latest_for_teams method.&#39;</span>
339
+ <span class="ruby-keyword">end</span></pre>
340
+ </div><!-- find-source -->
341
+
342
+ </div>
343
+
344
+
345
+
346
+
347
+ </div><!-- find-method -->
348
+
349
+
350
+ <div id="method-c-for_report" class="method-detail ">
351
+
352
+ <div class="method-heading">
353
+ <span class="method-name">for_report</span><span
354
+ class="method-args">(report_id = nil)</span>
355
+
356
+ <span class="method-click-advice">click to toggle source</span>
357
+
358
+ </div>
359
+
360
+
361
+ <div class="method-description">
362
+
363
+ <p>Returns all the stats of all the alerts for a report identified by the
364
+ report_id parameter. Said report contains all statistics for this alert
365
+ triggered from signatures contained in all regions for the selected hour.</p>
366
+
367
+
368
+
369
+
370
+ <div class="method-source-code" id="for_report-source">
371
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 40</span>
372
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">for_report</span>(<span class="ruby-identifier">report_id</span> = <span class="ruby-keyword">nil</span>)
373
+ <span class="ruby-identifier">fail</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-string">&quot;You must supply a report id.&quot;</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">report_id</span>.<span class="ruby-identifier">present?</span>
374
+ <span class="ruby-comment"># call find_one directly since find is overriden/not implemented</span>
375
+ <span class="ruby-identifier">find_one</span>(<span class="ruby-identifier">from</span><span class="ruby-operator">:</span> <span class="ruby-node">&quot;#{prefix}reports/#{report_id}/stats.json&quot;</span>)
376
+ <span class="ruby-keyword">end</span></pre>
377
+ </div><!-- for_report-source -->
378
+
379
+ </div>
380
+
381
+
382
+
383
+
384
+ </div><!-- for_report-method -->
385
+
386
+
387
+ <div id="method-c-latest_for_teams" class="method-detail ">
388
+
389
+ <div class="method-heading">
390
+ <span class="method-name">latest_for_teams</span><span
391
+ class="method-args">()</span>
392
+
393
+ <span class="method-click-advice">click to toggle source</span>
394
+
395
+ </div>
396
+
397
+
398
+ <div class="method-description">
399
+
400
+ <p>Returns all the stats for the most recent report of each team accessible by
401
+ the given API key.</p>
402
+
403
+
404
+
405
+
406
+ <div class="method-source-code" id="latest_for_teams-source">
407
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 47</span>
408
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">latest_for_teams</span>
409
+ <span class="ruby-comment"># call find_every directly since find is overriden/not implemented</span>
410
+ <span class="ruby-identifier">find_every</span>(<span class="ruby-identifier">from</span><span class="ruby-operator">:</span> <span class="ruby-value">:latest_for_teams</span>)
411
+ <span class="ruby-keyword">end</span></pre>
412
+ </div><!-- latest_for_teams-source -->
413
+
414
+ </div>
415
+
416
+
417
+
418
+
419
+ </div><!-- latest_for_teams-method -->
420
+
421
+
422
+ </section><!-- public-class-method-details -->
423
+
424
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
425
+ <h3 class="section-header">Public Instance Methods</h3>
426
+
427
+
428
+ <div id="method-i-custom_signatures" class="method-detail ">
429
+
430
+ <div class="method-heading">
431
+ <span class="method-name">custom_signatures</span><span
432
+ class="method-args">()</span>
433
+
434
+ <span class="method-click-advice">click to toggle source</span>
435
+
436
+ </div>
437
+
438
+
439
+ <div class="method-description">
440
+
441
+ <p>The stats for each custom signature associated with this stat object.</p>
442
+
443
+
444
+
445
+
446
+ <div class="method-source-code" id="custom_signatures-source">
447
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 23</span>
448
+ <span class="ruby-identifier">has_many</span> <span class="ruby-value">:custom_signatures</span>, <span class="ruby-identifier">class_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&#39;ESP::StatCustomSignature&#39;</span>
449
+ </pre>
450
+ </div><!-- custom_signatures-source -->
451
+
452
+ </div>
453
+
454
+
455
+
456
+
457
+ </div><!-- custom_signatures-method -->
458
+
459
+
460
+ <div id="method-i-destroy" class="method-detail ">
461
+
462
+ <div class="method-heading">
463
+ <span class="method-name">destroy</span><span
464
+ class="method-args">()</span>
465
+
466
+ <span class="method-click-advice">click to toggle source</span>
467
+
468
+ </div>
469
+
470
+
471
+ <div class="method-description">
472
+
473
+ <p>Not Implemented. You cannot delete a <a href="Stat.html">Stat</a>.</p>
474
+
475
+
476
+
477
+
478
+ <div class="method-source-code" id="destroy-source">
479
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 39</span>
480
+ </pre>
481
+ </div><!-- destroy-source -->
482
+
483
+ </div>
484
+
485
+
486
+
487
+
488
+ </div><!-- destroy-method -->
489
+
490
+
491
+ <div id="method-i-regions" class="method-detail ">
492
+
493
+ <div class="method-heading">
494
+ <span class="method-name">regions</span><span
495
+ class="method-args">()</span>
496
+
497
+ <span class="method-click-advice">click to toggle source</span>
498
+
499
+ </div>
500
+
501
+
502
+ <div class="method-description">
503
+
504
+ <p>The stats for each region associated with this stat object.</p>
505
+
506
+
507
+
508
+
509
+ <div class="method-source-code" id="regions-source">
510
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 11</span>
511
+ <span class="ruby-identifier">has_many</span> <span class="ruby-value">:regions</span>, <span class="ruby-identifier">class_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&#39;ESP::StatRegion&#39;</span>
512
+ </pre>
513
+ </div><!-- regions-source -->
514
+
515
+ </div>
516
+
517
+
518
+
519
+
520
+ </div><!-- regions-method -->
521
+
522
+
523
+ <div id="method-i-report" class="method-detail ">
524
+
525
+ <div class="method-heading">
526
+ <span class="method-name">report</span><span
527
+ class="method-args">()</span>
528
+
529
+ <span class="method-click-advice">click to toggle source</span>
530
+
531
+ </div>
532
+
533
+
534
+ <div class="method-description">
535
+
536
+ <p>The report these stats are for.</p>
537
+
538
+
539
+
540
+
541
+ <div class="method-source-code" id="report-source">
542
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 7</span>
543
+ <span class="ruby-identifier">belongs_to</span> <span class="ruby-value">:report</span>, <span class="ruby-identifier">class_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&#39;ESP::Report&#39;</span>
544
+ </pre>
545
+ </div><!-- report-source -->
546
+
547
+ </div>
548
+
549
+
550
+
551
+
552
+ </div><!-- report-method -->
553
+
554
+
555
+ <div id="method-i-save" class="method-detail ">
556
+
557
+ <div class="method-heading">
558
+ <span class="method-name">save</span><span
559
+ class="method-args">()</span>
560
+
561
+ <span class="method-click-advice">click to toggle source</span>
562
+
563
+ </div>
564
+
565
+
566
+ <div class="method-description">
567
+
568
+ <p>Not Implemented. You cannot create or update a <a
569
+ href="Stat.html">Stat</a>.</p>
570
+
571
+
572
+
573
+
574
+ <div class="method-source-code" id="save-source">
575
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 36</span>
576
+ </pre>
577
+ </div><!-- save-source -->
578
+
579
+ </div>
580
+
581
+
582
+
583
+
584
+ </div><!-- save-method -->
585
+
586
+
587
+ <div id="method-i-services" class="method-detail ">
588
+
589
+ <div class="method-heading">
590
+ <span class="method-name">services</span><span
591
+ class="method-args">()</span>
592
+
593
+ <span class="method-click-advice">click to toggle source</span>
594
+
595
+ </div>
596
+
597
+
598
+ <div class="method-description">
599
+
600
+ <p>The stats for each service associated with this stat object.</p>
601
+
602
+
603
+
604
+
605
+ <div class="method-source-code" id="services-source">
606
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 15</span>
607
+ <span class="ruby-identifier">has_many</span> <span class="ruby-value">:services</span>, <span class="ruby-identifier">class_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&#39;ESP::StatService&#39;</span>
608
+ </pre>
609
+ </div><!-- services-source -->
610
+
611
+ </div>
612
+
613
+
614
+
615
+
616
+ </div><!-- services-method -->
617
+
618
+
619
+ <div id="method-i-signatures" class="method-detail ">
620
+
621
+ <div class="method-heading">
622
+ <span class="method-name">signatures</span><span
623
+ class="method-args">()</span>
624
+
625
+ <span class="method-click-advice">click to toggle source</span>
626
+
627
+ </div>
628
+
629
+
630
+ <div class="method-description">
631
+
632
+ <p>The stats for each signature associated with this stat object.</p>
633
+
634
+
635
+
636
+
637
+ <div class="method-source-code" id="signatures-source">
638
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 19</span>
639
+ <span class="ruby-identifier">has_many</span> <span class="ruby-value">:signatures</span>, <span class="ruby-identifier">class_name</span><span class="ruby-operator">:</span> <span class="ruby-string">&#39;ESP::StatSignature&#39;</span>
640
+ </pre>
641
+ </div><!-- signatures-source -->
642
+
643
+ </div>
644
+
645
+
646
+
647
+
648
+ </div><!-- signatures-method -->
649
+
650
+
651
+ </section><!-- public-instance-method-details -->
652
+
653
+ </section><!-- 5Buntitled-5D -->
654
+
655
+
656
+
657
+ <section id="27total-27+rollup+methods" class="documentation-section">
658
+
659
+ <div class="documentation-section-title">
660
+ <h2 class="section-header">
661
+ 'total' rollup methods
662
+ </h2>
663
+ <span class="section-click-top">
664
+ <a href="#top">&uarr; top</a>
665
+ </span>
666
+ </div>
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+ <!-- Methods -->
676
+
677
+ <section id="public-instance-27total-27+rollup+methods-method-details" class="method-section section">
678
+ <h3 class="section-header">Public Instance Methods</h3>
679
+
680
+
681
+ <div id="method-i-total" class="method-detail ">
682
+
683
+ <div class="method-heading">
684
+ <span class="method-name">total</span><span
685
+ class="method-args">()</span>
686
+
687
+ <span class="method-click-advice">click to toggle source</span>
688
+
689
+ </div>
690
+
691
+
692
+ <div class="method-description">
693
+
694
+
695
+
696
+
697
+
698
+
699
+ <div class="method-source-code" id="total-source">
700
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 56</span>
701
+ </pre>
702
+ </div><!-- total-source -->
703
+
704
+ </div>
705
+
706
+
707
+
708
+
709
+ </div><!-- total-method -->
710
+
711
+
712
+ <div id="method-i-total_error" class="method-detail ">
713
+
714
+ <div class="method-heading">
715
+ <span class="method-name">total_error</span><span
716
+ class="method-args">()</span>
717
+
718
+ <span class="method-click-advice">click to toggle source</span>
719
+
720
+ </div>
721
+
722
+
723
+ <div class="method-description">
724
+
725
+
726
+
727
+
728
+
729
+
730
+ <div class="method-source-code" id="total_error-source">
731
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 64</span>
732
+ </pre>
733
+ </div><!-- total_error-source -->
734
+
735
+ </div>
736
+
737
+
738
+
739
+
740
+ </div><!-- total_error-method -->
741
+
742
+
743
+ <div id="method-i-total_fail" class="method-detail ">
744
+
745
+ <div class="method-heading">
746
+ <span class="method-name">total_fail</span><span
747
+ class="method-args">()</span>
748
+
749
+ <span class="method-click-advice">click to toggle source</span>
750
+
751
+ </div>
752
+
753
+
754
+ <div class="method-description">
755
+
756
+
757
+
758
+
759
+
760
+
761
+ <div class="method-source-code" id="total_fail-source">
762
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 60</span>
763
+ </pre>
764
+ </div><!-- total_fail-source -->
765
+
766
+ </div>
767
+
768
+
769
+
770
+
771
+ </div><!-- total_fail-method -->
772
+
773
+
774
+ <div id="method-i-total_info" class="method-detail ">
775
+
776
+ <div class="method-heading">
777
+ <span class="method-name">total_info</span><span
778
+ class="method-args">()</span>
779
+
780
+ <span class="method-click-advice">click to toggle source</span>
781
+
782
+ </div>
783
+
784
+
785
+ <div class="method-description">
786
+
787
+
788
+
789
+
790
+
791
+
792
+ <div class="method-source-code" id="total_info-source">
793
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 66</span>
794
+ </pre>
795
+ </div><!-- total_info-source -->
796
+
797
+ </div>
798
+
799
+
800
+
801
+
802
+ </div><!-- total_info-method -->
803
+
804
+
805
+ <div id="method-i-total_new_1d" class="method-detail ">
806
+
807
+ <div class="method-heading">
808
+ <span class="method-name">total_new_1d</span><span
809
+ class="method-args">()</span>
810
+
811
+ <span class="method-click-advice">click to toggle source</span>
812
+
813
+ </div>
814
+
815
+
816
+ <div class="method-description">
817
+
818
+
819
+
820
+
821
+
822
+
823
+ <div class="method-source-code" id="total_new_1d-source">
824
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 120</span>
825
+ </pre>
826
+ </div><!-- total_new_1d-source -->
827
+
828
+ </div>
829
+
830
+
831
+
832
+
833
+ </div><!-- total_new_1d-method -->
834
+
835
+
836
+ <div id="method-i-total_new_1d_error" class="method-detail ">
837
+
838
+ <div class="method-heading">
839
+ <span class="method-name">total_new_1d_error</span><span
840
+ class="method-args">()</span>
841
+
842
+ <span class="method-click-advice">click to toggle source</span>
843
+
844
+ </div>
845
+
846
+
847
+ <div class="method-description">
848
+
849
+
850
+
851
+
852
+
853
+
854
+ <div class="method-source-code" id="total_new_1d_error-source">
855
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 84</span>
856
+ </pre>
857
+ </div><!-- total_new_1d_error-source -->
858
+
859
+ </div>
860
+
861
+
862
+
863
+
864
+ </div><!-- total_new_1d_error-method -->
865
+
866
+
867
+ <div id="method-i-total_new_1d_fail" class="method-detail ">
868
+
869
+ <div class="method-heading">
870
+ <span class="method-name">total_new_1d_fail</span><span
871
+ class="method-args">()</span>
872
+
873
+ <span class="method-click-advice">click to toggle source</span>
874
+
875
+ </div>
876
+
877
+
878
+ <div class="method-description">
879
+
880
+
881
+
882
+
883
+
884
+
885
+ <div class="method-source-code" id="total_new_1d_fail-source">
886
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 80</span>
887
+ </pre>
888
+ </div><!-- total_new_1d_fail-source -->
889
+
890
+ </div>
891
+
892
+
893
+
894
+
895
+ </div><!-- total_new_1d_fail-method -->
896
+
897
+
898
+ <div id="method-i-total_new_1d_info" class="method-detail ">
899
+
900
+ <div class="method-heading">
901
+ <span class="method-name">total_new_1d_info</span><span
902
+ class="method-args">()</span>
903
+
904
+ <span class="method-click-advice">click to toggle source</span>
905
+
906
+ </div>
907
+
908
+
909
+ <div class="method-description">
910
+
911
+
912
+
913
+
914
+
915
+
916
+ <div class="method-source-code" id="total_new_1d_info-source">
917
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 86</span>
918
+ </pre>
919
+ </div><!-- total_new_1d_info-source -->
920
+
921
+ </div>
922
+
923
+
924
+
925
+
926
+ </div><!-- total_new_1d_info-method -->
927
+
928
+
929
+ <div id="method-i-total_new_1d_pass" class="method-detail ">
930
+
931
+ <div class="method-heading">
932
+ <span class="method-name">total_new_1d_pass</span><span
933
+ class="method-args">()</span>
934
+
935
+ <span class="method-click-advice">click to toggle source</span>
936
+
937
+ </div>
938
+
939
+
940
+ <div class="method-description">
941
+
942
+
943
+
944
+
945
+
946
+
947
+ <div class="method-source-code" id="total_new_1d_pass-source">
948
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 78</span>
949
+ </pre>
950
+ </div><!-- total_new_1d_pass-source -->
951
+
952
+ </div>
953
+
954
+
955
+
956
+
957
+ </div><!-- total_new_1d_pass-method -->
958
+
959
+
960
+ <div id="method-i-total_new_1d_warn" class="method-detail ">
961
+
962
+ <div class="method-heading">
963
+ <span class="method-name">total_new_1d_warn</span><span
964
+ class="method-args">()</span>
965
+
966
+ <span class="method-click-advice">click to toggle source</span>
967
+
968
+ </div>
969
+
970
+
971
+ <div class="method-description">
972
+
973
+
974
+
975
+
976
+
977
+
978
+ <div class="method-source-code" id="total_new_1d_warn-source">
979
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 82</span>
980
+ </pre>
981
+ </div><!-- total_new_1d_warn-source -->
982
+
983
+ </div>
984
+
985
+
986
+
987
+
988
+ </div><!-- total_new_1d_warn-method -->
989
+
990
+
991
+ <div id="method-i-total_new_1h" class="method-detail ">
992
+
993
+ <div class="method-heading">
994
+ <span class="method-name">total_new_1h</span><span
995
+ class="method-args">()</span>
996
+
997
+ <span class="method-click-advice">click to toggle source</span>
998
+
999
+ </div>
1000
+
1001
+
1002
+ <div class="method-description">
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+ <div class="method-source-code" id="total_new_1h-source">
1010
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 118</span>
1011
+ </pre>
1012
+ </div><!-- total_new_1h-source -->
1013
+
1014
+ </div>
1015
+
1016
+
1017
+
1018
+
1019
+ </div><!-- total_new_1h-method -->
1020
+
1021
+
1022
+ <div id="method-i-total_new_1h_error" class="method-detail ">
1023
+
1024
+ <div class="method-heading">
1025
+ <span class="method-name">total_new_1h_error</span><span
1026
+ class="method-args">()</span>
1027
+
1028
+ <span class="method-click-advice">click to toggle source</span>
1029
+
1030
+ </div>
1031
+
1032
+
1033
+ <div class="method-description">
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+ <div class="method-source-code" id="total_new_1h_error-source">
1041
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 74</span>
1042
+ </pre>
1043
+ </div><!-- total_new_1h_error-source -->
1044
+
1045
+ </div>
1046
+
1047
+
1048
+
1049
+
1050
+ </div><!-- total_new_1h_error-method -->
1051
+
1052
+
1053
+ <div id="method-i-total_new_1h_fail" class="method-detail ">
1054
+
1055
+ <div class="method-heading">
1056
+ <span class="method-name">total_new_1h_fail</span><span
1057
+ class="method-args">()</span>
1058
+
1059
+ <span class="method-click-advice">click to toggle source</span>
1060
+
1061
+ </div>
1062
+
1063
+
1064
+ <div class="method-description">
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+ <div class="method-source-code" id="total_new_1h_fail-source">
1072
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 70</span>
1073
+ </pre>
1074
+ </div><!-- total_new_1h_fail-source -->
1075
+
1076
+ </div>
1077
+
1078
+
1079
+
1080
+
1081
+ </div><!-- total_new_1h_fail-method -->
1082
+
1083
+
1084
+ <div id="method-i-total_new_1h_info" class="method-detail ">
1085
+
1086
+ <div class="method-heading">
1087
+ <span class="method-name">total_new_1h_info</span><span
1088
+ class="method-args">()</span>
1089
+
1090
+ <span class="method-click-advice">click to toggle source</span>
1091
+
1092
+ </div>
1093
+
1094
+
1095
+ <div class="method-description">
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+ <div class="method-source-code" id="total_new_1h_info-source">
1103
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 76</span>
1104
+ </pre>
1105
+ </div><!-- total_new_1h_info-source -->
1106
+
1107
+ </div>
1108
+
1109
+
1110
+
1111
+
1112
+ </div><!-- total_new_1h_info-method -->
1113
+
1114
+
1115
+ <div id="method-i-total_new_1h_pass" class="method-detail ">
1116
+
1117
+ <div class="method-heading">
1118
+ <span class="method-name">total_new_1h_pass</span><span
1119
+ class="method-args">()</span>
1120
+
1121
+ <span class="method-click-advice">click to toggle source</span>
1122
+
1123
+ </div>
1124
+
1125
+
1126
+ <div class="method-description">
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+ <div class="method-source-code" id="total_new_1h_pass-source">
1134
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 68</span>
1135
+ </pre>
1136
+ </div><!-- total_new_1h_pass-source -->
1137
+
1138
+ </div>
1139
+
1140
+
1141
+
1142
+
1143
+ </div><!-- total_new_1h_pass-method -->
1144
+
1145
+
1146
+ <div id="method-i-total_new_1h_warn" class="method-detail ">
1147
+
1148
+ <div class="method-heading">
1149
+ <span class="method-name">total_new_1h_warn</span><span
1150
+ class="method-args">()</span>
1151
+
1152
+ <span class="method-click-advice">click to toggle source</span>
1153
+
1154
+ </div>
1155
+
1156
+
1157
+ <div class="method-description">
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+ <div class="method-source-code" id="total_new_1h_warn-source">
1165
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 72</span>
1166
+ </pre>
1167
+ </div><!-- total_new_1h_warn-source -->
1168
+
1169
+ </div>
1170
+
1171
+
1172
+
1173
+
1174
+ </div><!-- total_new_1h_warn-method -->
1175
+
1176
+
1177
+ <div id="method-i-total_new_1w" class="method-detail ">
1178
+
1179
+ <div class="method-heading">
1180
+ <span class="method-name">total_new_1w</span><span
1181
+ class="method-args">()</span>
1182
+
1183
+ <span class="method-click-advice">click to toggle source</span>
1184
+
1185
+ </div>
1186
+
1187
+
1188
+ <div class="method-description">
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+ <div class="method-source-code" id="total_new_1w-source">
1196
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 122</span>
1197
+ </pre>
1198
+ </div><!-- total_new_1w-source -->
1199
+
1200
+ </div>
1201
+
1202
+
1203
+
1204
+
1205
+ </div><!-- total_new_1w-method -->
1206
+
1207
+
1208
+ <div id="method-i-total_new_1w_error" class="method-detail ">
1209
+
1210
+ <div class="method-heading">
1211
+ <span class="method-name">total_new_1w_error</span><span
1212
+ class="method-args">()</span>
1213
+
1214
+ <span class="method-click-advice">click to toggle source</span>
1215
+
1216
+ </div>
1217
+
1218
+
1219
+ <div class="method-description">
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+ <div class="method-source-code" id="total_new_1w_error-source">
1227
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 92</span>
1228
+ </pre>
1229
+ </div><!-- total_new_1w_error-source -->
1230
+
1231
+ </div>
1232
+
1233
+
1234
+
1235
+
1236
+ </div><!-- total_new_1w_error-method -->
1237
+
1238
+
1239
+ <div id="method-i-total_new_1w_fail" class="method-detail ">
1240
+
1241
+ <div class="method-heading">
1242
+ <span class="method-name">total_new_1w_fail</span><span
1243
+ class="method-args">()</span>
1244
+
1245
+ <span class="method-click-advice">click to toggle source</span>
1246
+
1247
+ </div>
1248
+
1249
+
1250
+ <div class="method-description">
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+ <div class="method-source-code" id="total_new_1w_fail-source">
1258
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 90</span>
1259
+ </pre>
1260
+ </div><!-- total_new_1w_fail-source -->
1261
+
1262
+ </div>
1263
+
1264
+
1265
+
1266
+
1267
+ </div><!-- total_new_1w_fail-method -->
1268
+
1269
+
1270
+ <div id="method-i-total_new_1w_info" class="method-detail ">
1271
+
1272
+ <div class="method-heading">
1273
+ <span class="method-name">total_new_1w_info</span><span
1274
+ class="method-args">()</span>
1275
+
1276
+ <span class="method-click-advice">click to toggle source</span>
1277
+
1278
+ </div>
1279
+
1280
+
1281
+ <div class="method-description">
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+ <div class="method-source-code" id="total_new_1w_info-source">
1289
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 94</span>
1290
+ </pre>
1291
+ </div><!-- total_new_1w_info-source -->
1292
+
1293
+ </div>
1294
+
1295
+
1296
+
1297
+
1298
+ </div><!-- total_new_1w_info-method -->
1299
+
1300
+
1301
+ <div id="method-i-total_new_1w_pass" class="method-detail ">
1302
+
1303
+ <div class="method-heading">
1304
+ <span class="method-name">total_new_1w_pass</span><span
1305
+ class="method-args">()</span>
1306
+
1307
+ <span class="method-click-advice">click to toggle source</span>
1308
+
1309
+ </div>
1310
+
1311
+
1312
+ <div class="method-description">
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+ <div class="method-source-code" id="total_new_1w_pass-source">
1320
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 88</span>
1321
+ </pre>
1322
+ </div><!-- total_new_1w_pass-source -->
1323
+
1324
+ </div>
1325
+
1326
+
1327
+
1328
+
1329
+ </div><!-- total_new_1w_pass-method -->
1330
+
1331
+
1332
+ <div id="method-i-total_new_1w_warn" class="method-detail ">
1333
+
1334
+ <div class="method-heading">
1335
+ <span class="method-name">total_new_1w_warn</span><span
1336
+ class="method-args">()</span>
1337
+
1338
+ <span class="method-click-advice">click to toggle source</span>
1339
+
1340
+ </div>
1341
+
1342
+
1343
+ <div class="method-description">
1344
+
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+ <div class="method-source-code" id="total_new_1w_warn-source">
1351
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 96</span>
1352
+ </pre>
1353
+ </div><!-- total_new_1w_warn-source -->
1354
+
1355
+ </div>
1356
+
1357
+
1358
+
1359
+
1360
+ </div><!-- total_new_1w_warn-method -->
1361
+
1362
+
1363
+ <div id="method-i-total_old" class="method-detail ">
1364
+
1365
+ <div class="method-heading">
1366
+ <span class="method-name">total_old</span><span
1367
+ class="method-args">()</span>
1368
+
1369
+ <span class="method-click-advice">click to toggle source</span>
1370
+
1371
+ </div>
1372
+
1373
+
1374
+ <div class="method-description">
1375
+
1376
+
1377
+
1378
+
1379
+
1380
+
1381
+ <div class="method-source-code" id="total_old-source">
1382
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 123</span>
1383
+ </pre>
1384
+ </div><!-- total_old-source -->
1385
+
1386
+ </div>
1387
+
1388
+
1389
+
1390
+
1391
+ </div><!-- total_old-method -->
1392
+
1393
+
1394
+ <div id="method-i-total_old_error" class="method-detail ">
1395
+
1396
+ <div class="method-heading">
1397
+ <span class="method-name">total_old_error</span><span
1398
+ class="method-args">()</span>
1399
+
1400
+ <span class="method-click-advice">click to toggle source</span>
1401
+
1402
+ </div>
1403
+
1404
+
1405
+ <div class="method-description">
1406
+
1407
+
1408
+
1409
+
1410
+
1411
+
1412
+ <div class="method-source-code" id="total_old_error-source">
1413
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 104</span>
1414
+ </pre>
1415
+ </div><!-- total_old_error-source -->
1416
+
1417
+ </div>
1418
+
1419
+
1420
+
1421
+
1422
+ </div><!-- total_old_error-method -->
1423
+
1424
+
1425
+ <div id="method-i-total_old_fail" class="method-detail ">
1426
+
1427
+ <div class="method-heading">
1428
+ <span class="method-name">total_old_fail</span><span
1429
+ class="method-args">()</span>
1430
+
1431
+ <span class="method-click-advice">click to toggle source</span>
1432
+
1433
+ </div>
1434
+
1435
+
1436
+ <div class="method-description">
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+ <div class="method-source-code" id="total_old_fail-source">
1444
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 98</span>
1445
+ </pre>
1446
+ </div><!-- total_old_fail-source -->
1447
+
1448
+ </div>
1449
+
1450
+
1451
+
1452
+
1453
+ </div><!-- total_old_fail-method -->
1454
+
1455
+
1456
+ <div id="method-i-total_old_info" class="method-detail ">
1457
+
1458
+ <div class="method-heading">
1459
+ <span class="method-name">total_old_info</span><span
1460
+ class="method-args">()</span>
1461
+
1462
+ <span class="method-click-advice">click to toggle source</span>
1463
+
1464
+ </div>
1465
+
1466
+
1467
+ <div class="method-description">
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+ <div class="method-source-code" id="total_old_info-source">
1475
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 106</span>
1476
+ </pre>
1477
+ </div><!-- total_old_info-source -->
1478
+
1479
+ </div>
1480
+
1481
+
1482
+
1483
+
1484
+ </div><!-- total_old_info-method -->
1485
+
1486
+
1487
+ <div id="method-i-total_old_pass" class="method-detail ">
1488
+
1489
+ <div class="method-heading">
1490
+ <span class="method-name">total_old_pass</span><span
1491
+ class="method-args">()</span>
1492
+
1493
+ <span class="method-click-advice">click to toggle source</span>
1494
+
1495
+ </div>
1496
+
1497
+
1498
+ <div class="method-description">
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+
1505
+ <div class="method-source-code" id="total_old_pass-source">
1506
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 100</span>
1507
+ </pre>
1508
+ </div><!-- total_old_pass-source -->
1509
+
1510
+ </div>
1511
+
1512
+
1513
+
1514
+
1515
+ </div><!-- total_old_pass-method -->
1516
+
1517
+
1518
+ <div id="method-i-total_old_warn" class="method-detail ">
1519
+
1520
+ <div class="method-heading">
1521
+ <span class="method-name">total_old_warn</span><span
1522
+ class="method-args">()</span>
1523
+
1524
+ <span class="method-click-advice">click to toggle source</span>
1525
+
1526
+ </div>
1527
+
1528
+
1529
+ <div class="method-description">
1530
+
1531
+
1532
+
1533
+
1534
+
1535
+
1536
+ <div class="method-source-code" id="total_old_warn-source">
1537
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 102</span>
1538
+ </pre>
1539
+ </div><!-- total_old_warn-source -->
1540
+
1541
+ </div>
1542
+
1543
+
1544
+
1545
+
1546
+ </div><!-- total_old_warn-method -->
1547
+
1548
+
1549
+ <div id="method-i-total_pass" class="method-detail ">
1550
+
1551
+ <div class="method-heading">
1552
+ <span class="method-name">total_pass</span><span
1553
+ class="method-args">()</span>
1554
+
1555
+ <span class="method-click-advice">click to toggle source</span>
1556
+
1557
+ </div>
1558
+
1559
+
1560
+ <div class="method-description">
1561
+
1562
+
1563
+
1564
+
1565
+
1566
+
1567
+ <div class="method-source-code" id="total_pass-source">
1568
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 58</span>
1569
+ </pre>
1570
+ </div><!-- total_pass-source -->
1571
+
1572
+ </div>
1573
+
1574
+
1575
+
1576
+
1577
+ </div><!-- total_pass-method -->
1578
+
1579
+
1580
+ <div id="method-i-total_suppressed" class="method-detail ">
1581
+
1582
+ <div class="method-heading">
1583
+ <span class="method-name">total_suppressed</span><span
1584
+ class="method-args">()</span>
1585
+
1586
+ <span class="method-click-advice">click to toggle source</span>
1587
+
1588
+ </div>
1589
+
1590
+
1591
+ <div class="method-description">
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+ <div class="method-source-code" id="total_suppressed-source">
1599
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 108</span>
1600
+ </pre>
1601
+ </div><!-- total_suppressed-source -->
1602
+
1603
+ </div>
1604
+
1605
+
1606
+
1607
+
1608
+ </div><!-- total_suppressed-method -->
1609
+
1610
+
1611
+ <div id="method-i-total_suppressed_error" class="method-detail ">
1612
+
1613
+ <div class="method-heading">
1614
+ <span class="method-name">total_suppressed_error</span><span
1615
+ class="method-args">()</span>
1616
+
1617
+ <span class="method-click-advice">click to toggle source</span>
1618
+
1619
+ </div>
1620
+
1621
+
1622
+ <div class="method-description">
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+ <div class="method-source-code" id="total_suppressed_error-source">
1630
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 116</span>
1631
+ </pre>
1632
+ </div><!-- total_suppressed_error-source -->
1633
+
1634
+ </div>
1635
+
1636
+
1637
+
1638
+
1639
+ </div><!-- total_suppressed_error-method -->
1640
+
1641
+
1642
+ <div id="method-i-total_suppressed_fail" class="method-detail ">
1643
+
1644
+ <div class="method-heading">
1645
+ <span class="method-name">total_suppressed_fail</span><span
1646
+ class="method-args">()</span>
1647
+
1648
+ <span class="method-click-advice">click to toggle source</span>
1649
+
1650
+ </div>
1651
+
1652
+
1653
+ <div class="method-description">
1654
+
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+ <div class="method-source-code" id="total_suppressed_fail-source">
1661
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 112</span>
1662
+ </pre>
1663
+ </div><!-- total_suppressed_fail-source -->
1664
+
1665
+ </div>
1666
+
1667
+
1668
+
1669
+
1670
+ </div><!-- total_suppressed_fail-method -->
1671
+
1672
+
1673
+ <div id="method-i-total_suppressed_pass" class="method-detail ">
1674
+
1675
+ <div class="method-heading">
1676
+ <span class="method-name">total_suppressed_pass</span><span
1677
+ class="method-args">()</span>
1678
+
1679
+ <span class="method-click-advice">click to toggle source</span>
1680
+
1681
+ </div>
1682
+
1683
+
1684
+ <div class="method-description">
1685
+
1686
+
1687
+
1688
+
1689
+
1690
+
1691
+ <div class="method-source-code" id="total_suppressed_pass-source">
1692
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 110</span>
1693
+ </pre>
1694
+ </div><!-- total_suppressed_pass-source -->
1695
+
1696
+ </div>
1697
+
1698
+
1699
+
1700
+
1701
+ </div><!-- total_suppressed_pass-method -->
1702
+
1703
+
1704
+ <div id="method-i-total_suppressed_warn" class="method-detail ">
1705
+
1706
+ <div class="method-heading">
1707
+ <span class="method-name">total_suppressed_warn</span><span
1708
+ class="method-args">()</span>
1709
+
1710
+ <span class="method-click-advice">click to toggle source</span>
1711
+
1712
+ </div>
1713
+
1714
+
1715
+ <div class="method-description">
1716
+
1717
+
1718
+
1719
+
1720
+
1721
+
1722
+ <div class="method-source-code" id="total_suppressed_warn-source">
1723
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 114</span>
1724
+ </pre>
1725
+ </div><!-- total_suppressed_warn-source -->
1726
+
1727
+ </div>
1728
+
1729
+
1730
+
1731
+
1732
+ </div><!-- total_suppressed_warn-method -->
1733
+
1734
+
1735
+ <div id="method-i-total_warn" class="method-detail ">
1736
+
1737
+ <div class="method-heading">
1738
+ <span class="method-name">total_warn</span><span
1739
+ class="method-args">()</span>
1740
+
1741
+ <span class="method-click-advice">click to toggle source</span>
1742
+
1743
+ </div>
1744
+
1745
+
1746
+ <div class="method-description">
1747
+
1748
+
1749
+
1750
+
1751
+
1752
+
1753
+ <div class="method-source-code" id="total_warn-source">
1754
+ <pre><span class="ruby-comment"># File lib/esp/resources/stat.rb, line 62</span>
1755
+ </pre>
1756
+ </div><!-- total_warn-source -->
1757
+
1758
+ </div>
1759
+
1760
+
1761
+
1762
+
1763
+ </div><!-- total_warn-method -->
1764
+
1765
+
1766
+ </section><!-- public-instance-method-details -->
1767
+
1768
+ </section><!-- 27total-27+rollup+methods -->
1769
+
1770
+ </div><!-- documentation -->
1771
+
1772
+
1773
+ <footer id="validator-badges">
1774
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
1775
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
1776
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
1777
+ </footer>
1778
+