smartdc 1.3.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -19
  3. data/.travis.yml +1 -1
  4. data/Gemfile +5 -11
  5. data/README.md +25 -40
  6. data/Rakefile +5 -5
  7. data/bin/sdc +4 -380
  8. data/config.ru +2 -0
  9. data/lib/smartdc.rb +23 -15
  10. data/lib/smartdc/api/analytics.rb +19 -36
  11. data/lib/smartdc/api/analytics/heatmap.rb +6 -15
  12. data/lib/smartdc/api/datacenters.rb +7 -16
  13. data/lib/smartdc/api/images.rb +11 -0
  14. data/lib/smartdc/api/keys.rb +13 -23
  15. data/lib/smartdc/api/machines.rb +26 -60
  16. data/lib/smartdc/api/machines/metadata.rb +15 -0
  17. data/lib/smartdc/api/machines/snapshots.rb +23 -0
  18. data/lib/smartdc/api/machines/tags.rb +19 -0
  19. data/lib/smartdc/api/packages.rb +7 -17
  20. data/lib/smartdc/auth.rb +39 -5
  21. data/lib/smartdc/cli.rb +65 -0
  22. data/lib/smartdc/cli/analytic.rb +52 -0
  23. data/lib/smartdc/cli/datacenter.rb +15 -0
  24. data/lib/smartdc/cli/image.rb +19 -0
  25. data/lib/smartdc/cli/key.rb +26 -0
  26. data/lib/smartdc/cli/machine.rb +79 -0
  27. data/lib/smartdc/cli/machine/metadata.rb +30 -0
  28. data/lib/smartdc/cli/machine/snapshot.rb +38 -0
  29. data/lib/smartdc/cli/machine/tag.rb +33 -0
  30. data/lib/smartdc/cli/package.rb +17 -0
  31. data/lib/smartdc/cli_configure.rb +81 -0
  32. data/lib/smartdc/cli_helper.rb +111 -0
  33. data/lib/smartdc/client.rb +33 -28
  34. data/lib/smartdc/configure.rb +30 -0
  35. data/lib/smartdc/default.rb +35 -0
  36. data/lib/smartdc/version.rb +1 -1
  37. data/smartdc.gemspec +20 -16
  38. data/spec/cassettes/analytics/create.yml +64 -0
  39. data/spec/cassettes/analytics/describe.yml +123 -0
  40. data/spec/cassettes/analytics/destroy.yml +56 -0
  41. data/spec/cassettes/analytics/index.yml +62 -0
  42. data/spec/cassettes/analytics/show.yml +62 -0
  43. data/spec/cassettes/analytics/value.yml +62 -0
  44. data/spec/cassettes/datacenters/index.yml +62 -0
  45. data/spec/cassettes/datacenters/show.yml +64 -0
  46. data/spec/cassettes/images/index.yml +519 -0
  47. data/spec/cassettes/images/show.yml +63 -0
  48. data/spec/cassettes/keys/create.yml +65 -0
  49. data/spec/cassettes/keys/destroy.yml +56 -0
  50. data/spec/cassettes/keys/index.yml +63 -0
  51. data/spec/cassettes/keys/show.yml +63 -0
  52. data/spec/cassettes/machines/create.yml +65 -0
  53. data/spec/cassettes/machines/destroy.yml +56 -0
  54. data/spec/cassettes/machines/index.yml +67 -0
  55. data/spec/cassettes/machines/metadata/destroy.yml +56 -0
  56. data/spec/cassettes/machines/metadata/index.yml +62 -0
  57. data/spec/cassettes/machines/metadata/update.yml +64 -0
  58. data/spec/cassettes/machines/reboot.yml +58 -0
  59. data/spec/cassettes/machines/show.yml +63 -0
  60. data/spec/cassettes/machines/snapshots/create.yml +62 -0
  61. data/spec/cassettes/machines/snapshots/destroy.yml +56 -0
  62. data/spec/cassettes/machines/snapshots/index.yml +62 -0
  63. data/spec/cassettes/machines/snapshots/show.yml +62 -0
  64. data/spec/cassettes/machines/snapshots/start.yml +58 -0
  65. data/spec/cassettes/machines/start.yml +58 -0
  66. data/spec/cassettes/machines/stop.yml +58 -0
  67. data/spec/cassettes/machines/tags/create.yml +64 -0
  68. data/spec/cassettes/machines/tags/destroy.yml +56 -0
  69. data/spec/cassettes/machines/tags/index.yml +62 -0
  70. data/spec/cassettes/machines/tags/show.yml +62 -0
  71. data/spec/cassettes/packages/index.yml +123 -0
  72. data/spec/cassettes/packages/show.yml +63 -0
  73. data/spec/fixtures/config/sdccfg +4 -0
  74. data/spec/fixtures/ssh/id_rsa +27 -0
  75. data/spec/fixtures/ssh/id_rsa.pub +1 -0
  76. data/spec/smartdc/api/analytics_spec.rb +47 -0
  77. data/spec/smartdc/api/datacenters_spec.rb +19 -0
  78. data/spec/smartdc/api/images_spec.rb +19 -0
  79. data/spec/smartdc/api/keys_spec.rb +34 -0
  80. data/spec/smartdc/api/machines/metadata_spec.rb +27 -0
  81. data/spec/smartdc/api/machines/snapshots_spec.rb +38 -0
  82. data/spec/smartdc/api/machines/tags_spec.rb +33 -0
  83. data/spec/smartdc/api/machines_spec.rb +59 -0
  84. data/spec/smartdc/api/packages_spec.rb +19 -0
  85. data/spec/smartdc/auth_spec.rb +25 -0
  86. data/spec/smartdc/cli_configure_spec.rb +32 -0
  87. data/spec/smartdc/client_spec.rb +11 -0
  88. data/spec/smartdc_spec.rb +44 -0
  89. data/spec/spec_helper.rb +25 -8
  90. metadata +176 -83
  91. data/lib/cli_helper.rb +0 -126
  92. data/lib/configure.rb +0 -125
  93. data/lib/smartdc/api/datasets.rb +0 -20
  94. data/lib/smartdc/api/machine/metadata.rb +0 -24
  95. data/lib/smartdc/api/machine/snapshots.rb +0 -35
  96. data/lib/smartdc/api/machine/tags.rb +0 -29
  97. data/lib/smartdc/error.rb +0 -35
  98. data/lib/smartdc/request.rb +0 -83
  99. data/lib/smartdc/response.rb +0 -25
  100. data/lib/smartdc/response/raise_error.rb +0 -38
  101. data/spec/fixtures/analytics.json +0 -26
  102. data/spec/fixtures/datacenter.json +0 -4
  103. data/spec/fixtures/datacenters.json +0 -3
  104. data/spec/fixtures/datasets.json +0 -38
  105. data/spec/fixtures/keys.json +0 -14
  106. data/spec/fixtures/machines.json +0 -36
  107. data/spec/fixtures/packages.json +0 -18
  108. data/spec/fixtures/snapshots.json +0 -8
  109. data/spec/fixtures/tag.json +0 -3
  110. data/spec/unit/smartdc/api/analytics_spec.rb +0 -48
  111. data/spec/unit/smartdc/api/datacenters_spec.rb +0 -28
  112. data/spec/unit/smartdc/api/datasets_spec.rb +0 -28
  113. data/spec/unit/smartdc/api/keys_spec.rb +0 -48
  114. data/spec/unit/smartdc/api/machine/metadata_spec.rb +0 -38
  115. data/spec/unit/smartdc/api/machine/snapshots_spec.rb +0 -48
  116. data/spec/unit/smartdc/api/machine/tags_spec.rb +0 -48
  117. data/spec/unit/smartdc/api/machines_spec.rb +0 -48
  118. data/spec/unit/smartdc/api/packages_spec.rb +0 -28
  119. data/spec/unit/smartdc/client_spec.rb +0 -40
  120. data/spec/unit/smartdc_spec.rb +0 -9
@@ -0,0 +1,62 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://us-east-1.api.joyentcloud.com/my/machines/4d17c91d-6b94-6f81-cbea-acfb3a8473b4/snapshots/example
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Date: ''
11
+ Authorization: ''
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Api-Version:
17
+ - "~7.0"
18
+ User-Agent:
19
+ - Faraday v0.9.1
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ X-Api-Version:
28
+ - 7.2.0
29
+ Server:
30
+ - Joyent SmartDataCenter 7.2.0
31
+ Request-Id: ''
32
+ Content-Type:
33
+ - application/json
34
+ Access-Control-Expose-Headers:
35
+ - Api-Version, Request-Id, Response-Time
36
+ Strict-Transport-Security:
37
+ - max-age=6570000
38
+ Date: ''
39
+ X-Request-Id: ''
40
+ Content-Md5:
41
+ - 9JdR/xwHzOXgp1Kiv19Jsw==
42
+ Access-Control-Allow-Origin:
43
+ - "*"
44
+ Response-Time: ''
45
+ X-Response-Time: ''
46
+ Connection:
47
+ - Keep-Alive
48
+ Access-Control-Allow-Headers:
49
+ - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
50
+ Response-Time
51
+ Access-Control-Allow-Methods:
52
+ - POST, GET, HEAD, DELETE
53
+ Api-Version:
54
+ - 7.2.0
55
+ Content-Length:
56
+ - '110'
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{"name":"example","state":"created","created":"2015-02-15T11:27:13.000Z","updated":"2015-02-15T11:27:13.000Z"}'
60
+ http_version:
61
+ recorded_at: Sun, 15 Feb 2015 11:28:30 GMT
62
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,58 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://us-east-1.api.joyentcloud.com/my/machines/4d17c91d-6b94-6f81-cbea-acfb3a8473b4/snapshots/example
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ Date: ''
11
+ Authorization: ''
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Api-Version:
17
+ - "~7.0"
18
+ User-Agent:
19
+ - Faraday v0.9.1
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 202
25
+ message: Accepted
26
+ headers:
27
+ X-Api-Version:
28
+ - 7.2.0
29
+ Server:
30
+ - Joyent SmartDataCenter 7.2.0
31
+ Request-Id: ''
32
+ Access-Control-Expose-Headers:
33
+ - Api-Version, Request-Id, Response-Time
34
+ Strict-Transport-Security:
35
+ - max-age=6570000
36
+ Date: ''
37
+ X-Request-Id: ''
38
+ Transfer-Encoding:
39
+ - chunked
40
+ Access-Control-Allow-Origin:
41
+ - "*"
42
+ Response-Time: ''
43
+ X-Response-Time: ''
44
+ Connection:
45
+ - Keep-Alive
46
+ Access-Control-Allow-Headers:
47
+ - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
48
+ Response-Time
49
+ Access-Control-Allow-Methods:
50
+ - POST, GET, HEAD, DELETE
51
+ Api-Version:
52
+ - 7.2.0
53
+ body:
54
+ encoding: UTF-8
55
+ string: ''
56
+ http_version:
57
+ recorded_at: Sun, 15 Feb 2015 11:28:31 GMT
58
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,58 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://us-east-1.api.joyentcloud.com/my/machines/4d17c91d-6b94-6f81-cbea-acfb3a8473b4
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"action":"start"}'
9
+ headers:
10
+ Date: ''
11
+ Authorization: ''
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Api-Version:
17
+ - "~7.0"
18
+ User-Agent:
19
+ - Faraday v0.9.1
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 202
25
+ message: Accepted
26
+ headers:
27
+ X-Api-Version:
28
+ - 7.2.0
29
+ Server:
30
+ - Joyent SmartDataCenter 7.2.0
31
+ Request-Id: ''
32
+ Access-Control-Expose-Headers:
33
+ - Api-Version, Request-Id, Response-Time
34
+ Strict-Transport-Security:
35
+ - max-age=6570000
36
+ Date: ''
37
+ X-Request-Id: ''
38
+ Transfer-Encoding:
39
+ - chunked
40
+ Access-Control-Allow-Origin:
41
+ - "*"
42
+ Response-Time: ''
43
+ X-Response-Time: ''
44
+ Connection:
45
+ - Keep-Alive
46
+ Access-Control-Allow-Headers:
47
+ - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
48
+ Response-Time
49
+ Access-Control-Allow-Methods:
50
+ - POST, GET, HEAD, DELETE, PUT
51
+ Api-Version:
52
+ - 7.2.0
53
+ body:
54
+ encoding: UTF-8
55
+ string: ''
56
+ http_version:
57
+ recorded_at: Sun, 15 Feb 2015 10:41:32 GMT
58
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,58 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://us-east-1.api.joyentcloud.com/my/machines/4d17c91d-6b94-6f81-cbea-acfb3a8473b4
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"action":"stop"}'
9
+ headers:
10
+ Date: ''
11
+ Authorization: ''
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Api-Version:
17
+ - "~7.0"
18
+ User-Agent:
19
+ - Faraday v0.9.1
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 202
25
+ message: Accepted
26
+ headers:
27
+ X-Api-Version:
28
+ - 7.2.0
29
+ Server:
30
+ - Joyent SmartDataCenter 7.2.0
31
+ Request-Id: ''
32
+ Access-Control-Expose-Headers:
33
+ - Api-Version, Request-Id, Response-Time
34
+ Strict-Transport-Security:
35
+ - max-age=6570000
36
+ Date: ''
37
+ X-Request-Id: ''
38
+ Transfer-Encoding:
39
+ - chunked
40
+ Access-Control-Allow-Origin:
41
+ - "*"
42
+ Response-Time: ''
43
+ X-Response-Time: ''
44
+ Connection:
45
+ - Keep-Alive
46
+ Access-Control-Allow-Headers:
47
+ - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
48
+ Response-Time
49
+ Access-Control-Allow-Methods:
50
+ - POST, GET, HEAD, DELETE, PUT
51
+ Api-Version:
52
+ - 7.2.0
53
+ body:
54
+ encoding: UTF-8
55
+ string: ''
56
+ http_version:
57
+ recorded_at: Sun, 15 Feb 2015 10:39:10 GMT
58
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,64 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://us-east-1.api.joyentcloud.com/my/machines/4d17c91d-6b94-6f81-cbea-acfb3a8473b4/tags
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"key":"value"}'
9
+ headers:
10
+ Date: ''
11
+ Authorization: ''
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Api-Version:
17
+ - "~7.0"
18
+ User-Agent:
19
+ - Faraday v0.9.1
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ X-Api-Version:
28
+ - 7.2.0
29
+ Server:
30
+ - Joyent SmartDataCenter 7.2.0
31
+ Request-Id: ''
32
+ X-Job-Uuid:
33
+ - 07d75047-e65a-41d7-beb5-ac0f50d6925a
34
+ Content-Type:
35
+ - application/json
36
+ Access-Control-Expose-Headers:
37
+ - Api-Version, Request-Id, Response-Time
38
+ Strict-Transport-Security:
39
+ - max-age=6570000
40
+ Date: ''
41
+ X-Request-Id: ''
42
+ Content-Md5:
43
+ - pzU/fN3OgI3gAydHoLe+UA==
44
+ Access-Control-Allow-Origin:
45
+ - "*"
46
+ Response-Time: ''
47
+ X-Response-Time: ''
48
+ Connection:
49
+ - Keep-Alive
50
+ Access-Control-Allow-Headers:
51
+ - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
52
+ Response-Time
53
+ Access-Control-Allow-Methods:
54
+ - POST, PUT, GET, HEAD, DELETE
55
+ Api-Version:
56
+ - 7.2.0
57
+ Content-Length:
58
+ - '15'
59
+ body:
60
+ encoding: UTF-8
61
+ string: '{"key":"value"}'
62
+ http_version:
63
+ recorded_at: Sun, 15 Feb 2015 11:09:51 GMT
64
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://us-east-1.api.joyentcloud.com/my/machines/4d17c91d-6b94-6f81-cbea-acfb3a8473b4/tags/key
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Date: ''
11
+ Authorization: ''
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Api-Version:
17
+ - "~7.0"
18
+ User-Agent:
19
+ - Faraday v0.9.1
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 204
25
+ message: No Content
26
+ headers:
27
+ X-Api-Version:
28
+ - 7.2.0
29
+ Server:
30
+ - Joyent SmartDataCenter 7.2.0
31
+ Request-Id: ''
32
+ Access-Control-Expose-Headers:
33
+ - Api-Version, Request-Id, Response-Time
34
+ Strict-Transport-Security:
35
+ - max-age=6570000
36
+ Date: ''
37
+ X-Request-Id: ''
38
+ Access-Control-Allow-Origin:
39
+ - "*"
40
+ Response-Time: ''
41
+ X-Response-Time: ''
42
+ Connection:
43
+ - Keep-Alive
44
+ Access-Control-Allow-Headers:
45
+ - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
46
+ Response-Time
47
+ Access-Control-Allow-Methods:
48
+ - GET, HEAD, DELETE
49
+ Api-Version:
50
+ - 7.2.0
51
+ body:
52
+ encoding: UTF-8
53
+ string: ''
54
+ http_version:
55
+ recorded_at: Sun, 15 Feb 2015 11:10:36 GMT
56
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,62 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://us-east-1.api.joyentcloud.com/my/machines/4d17c91d-6b94-6f81-cbea-acfb3a8473b4/tags
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Date: ''
11
+ Authorization: ''
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Api-Version:
17
+ - "~7.0"
18
+ User-Agent:
19
+ - Faraday v0.9.1
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ X-Api-Version:
28
+ - 7.2.0
29
+ Server:
30
+ - Joyent SmartDataCenter 7.2.0
31
+ Request-Id: ''
32
+ Content-Type:
33
+ - application/json
34
+ Access-Control-Expose-Headers:
35
+ - Api-Version, Request-Id, Response-Time
36
+ Strict-Transport-Security:
37
+ - max-age=6570000
38
+ Date: ''
39
+ X-Request-Id: ''
40
+ Content-Md5:
41
+ - pzU/fN3OgI3gAydHoLe+UA==
42
+ Access-Control-Allow-Origin:
43
+ - "*"
44
+ Response-Time: ''
45
+ X-Response-Time: ''
46
+ Connection:
47
+ - Keep-Alive
48
+ Access-Control-Allow-Headers:
49
+ - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
50
+ Response-Time
51
+ Access-Control-Allow-Methods:
52
+ - POST, PUT, GET, HEAD, DELETE
53
+ Api-Version:
54
+ - 7.2.0
55
+ Content-Length:
56
+ - '15'
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{"key":"value"}'
60
+ http_version:
61
+ recorded_at: Sun, 15 Feb 2015 11:10:33 GMT
62
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,62 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://us-east-1.api.joyentcloud.com/my/machines/4d17c91d-6b94-6f81-cbea-acfb3a8473b4/tags/key
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Date: ''
11
+ Authorization: ''
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Api-Version:
17
+ - "~7.0"
18
+ User-Agent:
19
+ - Faraday v0.9.1
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ X-Api-Version:
28
+ - 7.2.0
29
+ Server:
30
+ - Joyent SmartDataCenter 7.2.0
31
+ Request-Id: ''
32
+ Content-Type:
33
+ - application/json
34
+ Access-Control-Expose-Headers:
35
+ - Api-Version, Request-Id, Response-Time
36
+ Strict-Transport-Security:
37
+ - max-age=6570000
38
+ Date: ''
39
+ X-Request-Id: ''
40
+ Content-Md5:
41
+ - TyfDgnYctlIRYXR2e29S/w==
42
+ Access-Control-Allow-Origin:
43
+ - "*"
44
+ Response-Time: ''
45
+ X-Response-Time: ''
46
+ Connection:
47
+ - Keep-Alive
48
+ Access-Control-Allow-Headers:
49
+ - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
50
+ Response-Time
51
+ Access-Control-Allow-Methods:
52
+ - GET, HEAD, DELETE
53
+ Api-Version:
54
+ - 7.2.0
55
+ Content-Length:
56
+ - '7'
57
+ body:
58
+ encoding: UTF-8
59
+ string: '"value"'
60
+ http_version:
61
+ recorded_at: Sun, 15 Feb 2015 11:10:34 GMT
62
+ recorded_with: VCR 2.9.3