esp_sdk 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -3,10 +3,10 @@ FactoryGirl.define do
3
3
  skip_create
4
4
 
5
5
  sequence(:id) { |n| n }
6
- created_at { Time.current }
6
+ created_at "2015-09-11T21:12:15.183Z"
7
7
  email "customer@email.com"
8
8
  time_zone "UTC"
9
- updated_at { Time.current }
9
+ updated_at "2015-09-11T21:12:15.183Z"
10
10
  first_name "Custom"
11
11
  last_name "McGaa"
12
12
  phone "8135551234"
@@ -50,5 +50,68 @@ FactoryGirl.define do
50
50
  }
51
51
  }
52
52
  end
53
+
54
+ trait :with_include do
55
+ included do
56
+ [
57
+ {
58
+ id: '2',
59
+ type: "teams",
60
+ name: "Default Team",
61
+ created_at: "2015-09-11T21:12:15.183Z",
62
+ updated_at: "2015-09-11T21:12:15.183Z",
63
+ relationships: {
64
+ sub_organization: {
65
+ data: {
66
+ type: "sub_organizations",
67
+ id: "2"
68
+ },
69
+ links: {
70
+ related: "http://localhost:3000/api/v2/sub_organizations/2.json"
71
+ }
72
+ },
73
+ organization: {
74
+ data: {
75
+ type: "organizations",
76
+ id: "2"
77
+ },
78
+ links: {
79
+ related: "http://localhost:3000/api/v2/organizations/2.json"
80
+ }
81
+ }
82
+ }
83
+ },
84
+ {
85
+ id: '2',
86
+ type: "sub_organizations",
87
+ name: "Default Sub Organization",
88
+ created_at: "2015-09-11T21:12:15.183Z",
89
+ updated_at: "2015-09-11T21:12:15.183Z",
90
+ relationships: {
91
+ organization: {
92
+ data: {
93
+ type: "organizations",
94
+ id: "2"
95
+ },
96
+ links: {
97
+ related: "http://localhost:3000/api/v2/organizations/2.json"
98
+ }
99
+ },
100
+ teams: {
101
+ data: [
102
+ {
103
+ type: "teams",
104
+ id: "2"
105
+ }
106
+ ],
107
+ links: {
108
+ related: "http://localhost:3000/api/v2/teams.json?filter%5Bsub_organization_id_eq%5D=2"
109
+ }
110
+ }
111
+ }
112
+ }
113
+ ]
114
+ end
115
+ end
53
116
  end
54
117
  end
data/test/test_helper.rb CHANGED
@@ -33,20 +33,21 @@ class ActiveSupport::TestCase
33
33
  def json_list(*args)
34
34
  page_args = args.last.delete(:page) if args.last.present? && args.last.is_a?(Hash)
35
35
  page_args ||= { number: 1, size: 20 }
36
- json_array = super
37
- data = json_array.map { |j| JSON.parse(j)['data'] }
38
- links = build_links(data, page_args)
39
- { 'data' => data.slice(0, page_args[:size]),
40
- 'included' => JSON.parse(json_array.first)['included'],
41
- "links" => links
42
- }.to_json
36
+ json_array = args.first == :empty ? [] : super
37
+ data = json_array.map { |j| JSON.parse(j)['data'] }
38
+ links = build_links(data, page_args)
39
+ list = { 'data' => data.slice(0, page_args[:size]),
40
+ "links" => links
41
+ }
42
+ list['included'] = JSON.parse(json_array.first)['included'] if json_array.first.present?
43
+ list.to_json
43
44
  end
44
45
 
45
46
  private
46
47
 
47
48
  def build_links(data, page)
48
49
  current_page = page[:number]
49
- last_page = (data.count.to_f / page[:size]).ceil
50
+ last_page = (data.count.to_f / page[:size]).ceil
50
51
  { "self" => "http://localhost:3000/api/v2/not_the_real_url/but_useful_for_testing.json?page%5Bnumber%5D=#{current_page}&page%5Bsize%5D=#{page[:size]}" }.tap do |links|
51
52
  links["prev"] = "http://localhost:3000/api/v2/not_the_real_url/but_useful_for_testing.json?page%5Bnumber%5D=#{current_page - 1}&page%5Bsize%5D=#{page[:size]}" unless current_page == 1
52
53
  unless current_page == last_page
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esp_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evident.io
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-16 00:00:00.000000000 Z
11
+ date: 2016-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -220,6 +220,34 @@ dependencies:
220
220
  - - '>='
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: awesome_print
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - '>='
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: aws-sdk
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - '>='
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - '>='
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
223
251
  - !ruby/object:Gem::Dependency
224
252
  name: activeresource
225
253
  requirement: !ruby/object:Gem::Requirement
@@ -266,7 +294,7 @@ description:
266
294
  email:
267
295
  - support@evident.io
268
296
  executables:
269
- - esp_console
297
+ - esp
270
298
  extensions: []
271
299
  extra_rdoc_files: []
272
300
  files:
@@ -285,13 +313,18 @@ files:
285
313
  - Rakefile
286
314
  - assets/esp_logo.ans
287
315
  - assets/logo.png
288
- - bin/esp_console
316
+ - bin/esp
289
317
  - esp_sdk.gemspec
290
318
  - lib/esp.rb
319
+ - lib/esp/aws_clients.rb
320
+ - lib/esp/commands/add_external_account.rb
321
+ - lib/esp/commands/commands_tasks.rb
322
+ - lib/esp/commands/console.rb
291
323
  - lib/esp/exceptions.rb
292
324
  - lib/esp/extensions/active_resource/formats/json_api_format.rb
293
325
  - lib/esp/extensions/active_resource/paginated_collection.rb
294
326
  - lib/esp/extensions/active_resource/validations.rb
327
+ - lib/esp/external_account_creator.rb
295
328
  - lib/esp/resources/alert.rb
296
329
  - lib/esp/resources/cloud_trail_event.rb
297
330
  - lib/esp/resources/concerns/stat_totals.rb
@@ -323,74 +356,11 @@ files:
323
356
  - lib/esp_sdk.rb
324
357
  - lib/tasks/rubocop.rake
325
358
  - lib/tasks/testing.rake
326
- - rdoc/ActiveResource.html
327
- - rdoc/ActiveResource/Formats.html
328
- - rdoc/ActiveResource/PaginatedCollection.html
329
- - rdoc/ESP.html
330
- - rdoc/ESP/Alert.html
331
- - rdoc/ESP/CloudTrailEvent.html
332
- - rdoc/ESP/ContactRequest.html
333
- - rdoc/ESP/CustomSignature.html
334
- - rdoc/ESP/Dashboard.html
335
- - rdoc/ESP/ExternalAccount.html
336
- - rdoc/ESP/Metadata.html
337
- - rdoc/ESP/Organization.html
338
- - rdoc/ESP/Region.html
339
- - rdoc/ESP/Report.html
340
- - rdoc/ESP/Service.html
341
- - rdoc/ESP/Signature.html
342
- - rdoc/ESP/Stat.html
343
- - rdoc/ESP/StatCustomSignature.html
344
- - rdoc/ESP/StatRegion.html
345
- - rdoc/ESP/StatService.html
346
- - rdoc/ESP/StatSignature.html
347
- - rdoc/ESP/SubOrganization.html
348
- - rdoc/ESP/Suppression.html
349
- - rdoc/ESP/Suppression/Region.html
350
- - rdoc/ESP/Suppression/Signature.html
351
- - rdoc/ESP/Suppression/UniqueIdentifier.html
352
- - rdoc/ESP/Tag.html
353
- - rdoc/ESP/Team.html
354
- - rdoc/ESP/User.html
355
- - rdoc/README_md.html
356
- - rdoc/created.rid
357
- - rdoc/images/add.png
358
- - rdoc/images/arrow_up.png
359
- - rdoc/images/brick.png
360
- - rdoc/images/brick_link.png
361
- - rdoc/images/bug.png
362
- - rdoc/images/bullet_black.png
363
- - rdoc/images/bullet_toggle_minus.png
364
- - rdoc/images/bullet_toggle_plus.png
365
- - rdoc/images/date.png
366
- - rdoc/images/delete.png
367
- - rdoc/images/find.png
368
- - rdoc/images/loadingAnimation.gif
369
- - rdoc/images/macFFBgHack.png
370
- - rdoc/images/package.png
371
- - rdoc/images/page_green.png
372
- - rdoc/images/page_white_text.png
373
- - rdoc/images/page_white_width.png
374
- - rdoc/images/plugin.png
375
- - rdoc/images/ruby.png
376
- - rdoc/images/tag_blue.png
377
- - rdoc/images/tag_green.png
378
- - rdoc/images/transparent.png
379
- - rdoc/images/wrench.png
380
- - rdoc/images/wrench_orange.png
381
- - rdoc/images/zoom.png
382
- - rdoc/index.html
383
- - rdoc/js/darkfish.js
384
- - rdoc/js/jquery.js
385
- - rdoc/js/navigation.js
386
- - rdoc/js/search.js
387
- - rdoc/js/search_index.js
388
- - rdoc/js/searcher.js
389
- - rdoc/rdoc.css
390
- - rdoc/table_of_contents.html
359
+ - test/esp/aws_clients_test.rb
391
360
  - test/esp/extensions/active_resource/formats/json_api_format_test.rb
392
361
  - test/esp/extensions/active_resource/paginated_collection_test.rb
393
362
  - test/esp/extensions/active_resource/validations_test.rb
363
+ - test/esp/external_account_creator_test.rb
394
364
  - test/esp/resources/alert_test.rb
395
365
  - test/esp/resources/cloud_trail_event_test.rb
396
366
  - test/esp/resources/contact_request_test.rb
@@ -471,9 +441,11 @@ signing_key:
471
441
  specification_version: 4
472
442
  summary: SDK for interacting with the ESP API.
473
443
  test_files:
444
+ - test/esp/aws_clients_test.rb
474
445
  - test/esp/extensions/active_resource/formats/json_api_format_test.rb
475
446
  - test/esp/extensions/active_resource/paginated_collection_test.rb
476
447
  - test/esp/extensions/active_resource/validations_test.rb
448
+ - test/esp/external_account_creator_test.rb
477
449
  - test/esp/resources/alert_test.rb
478
450
  - test/esp/resources/cloud_trail_event_test.rb
479
451
  - test/esp/resources/contact_request_test.rb
data/bin/esp_console DELETED
@@ -1,67 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # https://www.fedux.org/articles/2015/08/26/creating-an-irb-based-repl-console-for-your-project.html
3
-
4
- ENV['ESP_ENV'] = ARGV[0]
5
- require 'irb'
6
- require_relative '../lib/esp_sdk'
7
-
8
- module ESP
9
- class Console
10
- def start
11
- ARGV.clear
12
- IRB.setup nil
13
-
14
- IRB.conf[:PROMPT] = {}
15
- IRB.conf[:IRB_NAME] = 'espsdk'
16
- IRB.conf[:PROMPT][:ESPSDK] = {
17
- :PROMPT_I => '%N:%03n:%i> ',
18
- :PROMPT_N => '%N:%03n:%i> ',
19
- :PROMPT_S => '%N:%03n:%i%l ',
20
- :PROMPT_C => '%N:%03n:%i* ',
21
- :RETURN => "# => %s\n"
22
- }
23
- IRB.conf[:PROMPT_MODE] = :ESPSDK
24
-
25
- IRB.conf[:RC] = false
26
-
27
- require 'irb/completion'
28
- require 'irb/ext/save-history'
29
- IRB.conf[:READLINE] = true
30
- IRB.conf[:SAVE_HISTORY] = 1000
31
- IRB.conf[:HISTORY_FILE] = '~/.esp_sdk_history'
32
-
33
- context = Class.new do
34
- include ESP
35
- end
36
-
37
- irb = IRB::Irb.new(IRB::WorkSpace.new(context.new))
38
- IRB.conf[:MAIN_CONTEXT] = irb.context
39
-
40
- trap("SIGINT") do
41
- irb.signal_handle
42
- end
43
-
44
- begin
45
- catch(:IRB_EXIT) do
46
- irb.eval_input
47
- end
48
- ensure
49
- IRB.irb_at_exit
50
- end
51
- end
52
- end
53
- end
54
-
55
- begin
56
- puts File.read(File.expand_path(File.dirname(__FILE__) + '/../assets/esp_logo.ans'))
57
- rescue
58
- #swallow the error
59
- end
60
- print <<-banner
61
-
62
- Evident Security Platform Console #{ESP::VERSION}
63
- Copyright (c) 2013-#{Time.now.year} Evident Security, All Rights Reserved.
64
- http://www.evident.io
65
- banner
66
- ESP::Console.new.start
67
-
@@ -1,178 +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>module ActiveResource::Formats - 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="module">
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/resource.rb
53
- </ul>
54
- </nav>
55
-
56
-
57
- </div>
58
-
59
- <div id="class-metadata">
60
-
61
-
62
-
63
-
64
-
65
- </div>
66
-
67
- <div id="project-metadata">
68
- <nav id="fileindex-section" class="section project-section">
69
- <h3 class="section-header">Pages</h3>
70
-
71
- <ul>
72
-
73
- <li class="file"><a href="../README_md.html">README</a>
74
-
75
- </ul>
76
- </nav>
77
-
78
- <nav id="classindex-section" class="section project-section">
79
- <h3 class="section-header">Class and Module Index</h3>
80
-
81
- <ul class="link-list">
82
-
83
- <li><a href="../ActiveResource.html">ActiveResource</a>
84
-
85
- <li><a href="../ActiveResource/Formats.html">ActiveResource::Formats</a>
86
-
87
- <li><a href="../ActiveResource/PaginatedCollection.html">ActiveResource::PaginatedCollection</a>
88
-
89
- <li><a href="../ESP.html">ESP</a>
90
-
91
- <li><a href="../ESP/Alert.html">ESP::Alert</a>
92
-
93
- <li><a href="../ESP/CloudTrailEvent.html">ESP::CloudTrailEvent</a>
94
-
95
- <li><a href="../ESP/ContactRequest.html">ESP::ContactRequest</a>
96
-
97
- <li><a href="../ESP/CustomSignature.html">ESP::CustomSignature</a>
98
-
99
- <li><a href="../ESP/Dashboard.html">ESP::Dashboard</a>
100
-
101
- <li><a href="../ESP/ExternalAccount.html">ESP::ExternalAccount</a>
102
-
103
- <li><a href="../ESP/Metadata.html">ESP::Metadata</a>
104
-
105
- <li><a href="../ESP/Organization.html">ESP::Organization</a>
106
-
107
- <li><a href="../ESP/Region.html">ESP::Region</a>
108
-
109
- <li><a href="../ESP/Report.html">ESP::Report</a>
110
-
111
- <li><a href="../ESP/Service.html">ESP::Service</a>
112
-
113
- <li><a href="../ESP/Signature.html">ESP::Signature</a>
114
-
115
- <li><a href="../ESP/Stat.html">ESP::Stat</a>
116
-
117
- <li><a href="../ESP/StatCustomSignature.html">ESP::StatCustomSignature</a>
118
-
119
- <li><a href="../ESP/StatRegion.html">ESP::StatRegion</a>
120
-
121
- <li><a href="../ESP/StatService.html">ESP::StatService</a>
122
-
123
- <li><a href="../ESP/StatSignature.html">ESP::StatSignature</a>
124
-
125
- <li><a href="../ESP/SubOrganization.html">ESP::SubOrganization</a>
126
-
127
- <li><a href="../ESP/Suppression.html">ESP::Suppression</a>
128
-
129
- <li><a href="../ESP/Suppression/Region.html">ESP::Suppression::Region</a>
130
-
131
- <li><a href="../ESP/Suppression/Signature.html">ESP::Suppression::Signature</a>
132
-
133
- <li><a href="../ESP/Suppression/UniqueIdentifier.html">ESP::Suppression::UniqueIdentifier</a>
134
-
135
- <li><a href="../ESP/Tag.html">ESP::Tag</a>
136
-
137
- <li><a href="../ESP/Team.html">ESP::Team</a>
138
-
139
- <li><a href="../ESP/User.html">ESP::User</a>
140
-
141
- </ul>
142
- </nav>
143
-
144
- </div>
145
- </nav>
146
-
147
- <div id="documentation">
148
- <h1 class="module">module ActiveResource::Formats</h1>
149
-
150
- <div id="description" class="description">
151
-
152
- </div><!-- description -->
153
-
154
-
155
-
156
-
157
- <section id="5Buntitled-5D" class="documentation-section">
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
- <!-- Methods -->
167
-
168
- </section><!-- 5Buntitled-5D -->
169
-
170
- </div><!-- documentation -->
171
-
172
-
173
- <footer id="validator-badges">
174
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
175
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
176
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
177
- </footer>
178
-