esp_sdk 2.0.0 → 2.1.0

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