rsbe-client 0.5.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 (82) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +21 -0
  3. data/.rspec +3 -0
  4. data/GETTING-STARTED.md +17 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +73 -0
  8. data/Rakefile +11 -0
  9. data/TODO.md +38 -0
  10. data/lib/rsbe/client.rb +50 -0
  11. data/lib/rsbe/client/base.rb +140 -0
  12. data/lib/rsbe/client/collection.rb +84 -0
  13. data/lib/rsbe/client/connection.rb +24 -0
  14. data/lib/rsbe/client/method_not_implemented_error.rb +6 -0
  15. data/lib/rsbe/client/not_found_error.rb +6 -0
  16. data/lib/rsbe/client/partner.rb +82 -0
  17. data/lib/rsbe/client/provider.rb +47 -0
  18. data/lib/rsbe/client/se.rb +97 -0
  19. data/lib/rsbe/client/search.rb +80 -0
  20. data/lib/rsbe/client/search_results.rb +41 -0
  21. data/lib/rsbe/client/unrecognized_resource_error.rb +6 -0
  22. data/lib/rsbe/client/version.rb +5 -0
  23. data/lib/rsbe/client/wrong_origin_error.rb +6 -0
  24. data/rsbe-client.gemspec +30 -0
  25. data/spec/fixtures/partners/partners_all.json +1 -0
  26. data/spec/fixtures/partners/partners_none.json +1 -0
  27. data/spec/rsbe/client/base_spec.rb +10 -0
  28. data/spec/rsbe/client/collection_spec.rb +186 -0
  29. data/spec/rsbe/client/connection_spec.rb +20 -0
  30. data/spec/rsbe/client/partner_spec.rb +185 -0
  31. data/spec/rsbe/client/provider_spec.rb +122 -0
  32. data/spec/rsbe/client/se_spec.rb +273 -0
  33. data/spec/rsbe/client/search_results_spec.rb +140 -0
  34. data/spec/rsbe/client/search_spec.rb +74 -0
  35. data/spec/rsbe/client_spec.rb +52 -0
  36. data/spec/spec_helper.rb +43 -0
  37. data/spec/vcr_cassettes/client/find_collection.yml +53 -0
  38. data/spec/vcr_cassettes/client/find_partner.yml +52 -0
  39. data/spec/vcr_cassettes/client/find_provider.yml +52 -0
  40. data/spec/vcr_cassettes/client/find_se.yml +53 -0
  41. data/spec/vcr_cassettes/collection/find-existing.yml +53 -0
  42. data/spec/vcr_cassettes/collection/find-non_existent.yml +50 -0
  43. data/spec/vcr_cassettes/collection/lazy-eval-dne.yml +285 -0
  44. data/spec/vcr_cassettes/collection/lazy-eval-exists.yml +53 -0
  45. data/spec/vcr_cassettes/collection/save-create-known-id.yml +103 -0
  46. data/spec/vcr_cassettes/collection/save-create-unknown-id.yml +56 -0
  47. data/spec/vcr_cassettes/collection/save-invalid.yml +143 -0
  48. data/spec/vcr_cassettes/collection/save-update-valid.yml +99 -0
  49. data/spec/vcr_cassettes/partner/all.yml +300 -0
  50. data/spec/vcr_cassettes/partner/dne-with-id.yml +238 -0
  51. data/spec/vcr_cassettes/partner/find-existing.yml +52 -0
  52. data/spec/vcr_cassettes/partner/find-non_existent.yml +50 -0
  53. data/spec/vcr_cassettes/partner/lazy-eval-exists.yml +53 -0
  54. data/spec/vcr_cassettes/partner/save-create-known-id.yml +101 -0
  55. data/spec/vcr_cassettes/partner/save-create-unknown-id.yml +54 -0
  56. data/spec/vcr_cassettes/partner/save-invalid.yml +177 -0
  57. data/spec/vcr_cassettes/partner/save-unknown-id.yml +54 -0
  58. data/spec/vcr_cassettes/partner/save-update-valid.yml +98 -0
  59. data/spec/vcr_cassettes/partner/with-collections.yml +203 -0
  60. data/spec/vcr_cassettes/partner/without-collections.yml +101 -0
  61. data/spec/vcr_cassettes/provider/all.yml +248 -0
  62. data/spec/vcr_cassettes/provider/find-existing.yml +52 -0
  63. data/spec/vcr_cassettes/provider/find-non_existent.yml +50 -0
  64. data/spec/vcr_cassettes/provider/save-create-known-id.yml +101 -0
  65. data/spec/vcr_cassettes/provider/save-create-unknown-id.yml +54 -0
  66. data/spec/vcr_cassettes/provider/save-invalid.yml +178 -0
  67. data/spec/vcr_cassettes/provider/save-update-valid.yml +144 -0
  68. data/spec/vcr_cassettes/se/find-existing.yml +53 -0
  69. data/spec/vcr_cassettes/se/find-non_existent.yml +50 -0
  70. data/spec/vcr_cassettes/se/lazy-eval-exists.yml +52 -0
  71. data/spec/vcr_cassettes/se/save-create-known-id.yml +146 -0
  72. data/spec/vcr_cassettes/se/save-create-unknown-id.yml +56 -0
  73. data/spec/vcr_cassettes/se/save-invalid.yml +305 -0
  74. data/spec/vcr_cassettes/se/save-update-valid.yml +99 -0
  75. data/spec/vcr_cassettes/se/search-malformed-uuid.yml +54 -0
  76. data/spec/vcr_cassettes/se/search-with-existing-se.yml +52 -0
  77. data/spec/vcr_cassettes/se/search-with-missing-se.yml +52 -0
  78. data/spec/vcr_cassettes/search/search-with-existing-se.yml +52 -0
  79. data/spec/vcr_cassettes/search_results/no-results.yml +52 -0
  80. data/spec/vcr_cassettes/search_results/search-by-digi_id.yml +101 -0
  81. data/spec/vcr_cassettes/search_results/search-by-step.yml +201 -0
  82. metadata +307 -0
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://foo:bar@localhost:3000/api/v0/partners
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"id":null,"code":"foo","name":null,"rel_path":"a/b/c"}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Content-Type:
13
+ - application/json
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - '*/*'
18
+ response:
19
+ status:
20
+ code: 201
21
+ message: Created
22
+ headers:
23
+ X-Frame-Options:
24
+ - SAMEORIGIN
25
+ X-Xss-Protection:
26
+ - 1; mode=block
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ X-Ua-Compatible:
30
+ - chrome=1
31
+ Location:
32
+ - http://localhost:3000/api/v0/partners/1cc96158-5b9a-402e-b4b6-93a9c0059b58
33
+ Content-Type:
34
+ - application/json; charset=utf-8
35
+ X-Meta-Request-Version:
36
+ - 0.2.9
37
+ Etag:
38
+ - '"2e8e3c94923ba6f28294409744a683a3"'
39
+ Cache-Control:
40
+ - max-age=0, private, must-revalidate
41
+ X-Request-Id:
42
+ - 1bf0f833-e2c0-463e-bb25-a1a2a7cf206b
43
+ X-Runtime:
44
+ - '1.176057'
45
+ Connection:
46
+ - close
47
+ Server:
48
+ - thin 1.6.2 codename Doc Brown
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"id":"1cc96158-5b9a-402e-b4b6-93a9c0059b58","code":"foo","name":null,"lock_version":0,"created_at":"2014-10-14T21:01:17.261Z","updated_at":"2014-10-14T21:01:17.261Z","rel_path":"a/b/c"}'
52
+ http_version:
53
+ recorded_at: Tue, 14 Oct 2014 21:01:17 GMT
54
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://foo:bar@localhost:3000/api/v0/partners/b051f936-835c-4abb-9034-efa7508db4bf
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - '*/*'
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ X-Ua-Compatible:
28
+ - chrome=1
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ X-Meta-Request-Version:
32
+ - 0.2.9
33
+ Etag:
34
+ - '"4ef62b71afde6f5f042f199ebd3c7651"'
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ Set-Cookie:
38
+ - request_method=GET; path=/
39
+ X-Request-Id:
40
+ - 29affa84-c91a-488f-ab72-b430ea947817
41
+ X-Runtime:
42
+ - '0.107785'
43
+ Connection:
44
+ - close
45
+ Server:
46
+ - thin 1.6.2 codename Doc Brown
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"id":"b051f936-835c-4abb-9034-efa7508db4bf","code":"onyx","name":null,"created_at":"2014-10-16T13:22:56.010Z","updated_at":"2014-10-16T13:39:21.521Z","colls_url":"http://localhost:3000/api/v0/partners/b051f936-835c-4abb-9034-efa7508db4bf/colls","lock_version":1,"rel_path":"o/n/y/x"}'
50
+ http_version:
51
+ recorded_at: Thu, 16 Oct 2014 14:15:48 GMT
52
+ - request:
53
+ method: put
54
+ uri: http://foo:bar@localhost:3000/api/v0/partners/b051f936-835c-4abb-9034-efa7508db4bf
55
+ body:
56
+ encoding: UTF-8
57
+ string: '{"id":"b051f936-835c-4abb-9034-efa7508db4bf","code":"onyx","name":"The
58
+ Black Onyx Syndicate","rel_path":"o/n/y/x","created_at":"2014-10-16T13:22:56.010Z","updated_at":"2014-10-16T13:39:21.521Z","lock_version":1}'
59
+ headers:
60
+ User-Agent:
61
+ - Faraday v0.9.0
62
+ Content-Type:
63
+ - application/json
64
+ Accept-Encoding:
65
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
66
+ Accept:
67
+ - '*/*'
68
+ response:
69
+ status:
70
+ code: 204
71
+ message: No Content
72
+ headers:
73
+ X-Frame-Options:
74
+ - SAMEORIGIN
75
+ X-Xss-Protection:
76
+ - 1; mode=block
77
+ X-Content-Type-Options:
78
+ - nosniff
79
+ X-Ua-Compatible:
80
+ - chrome=1
81
+ X-Meta-Request-Version:
82
+ - 0.2.9
83
+ Cache-Control:
84
+ - no-cache
85
+ X-Request-Id:
86
+ - 859a6711-d483-4c40-ad5d-1c36d2dc0605
87
+ X-Runtime:
88
+ - '0.199148'
89
+ Connection:
90
+ - close
91
+ Server:
92
+ - thin 1.6.2 codename Doc Brown
93
+ body:
94
+ encoding: UTF-8
95
+ string: ''
96
+ http_version:
97
+ recorded_at: Thu, 16 Oct 2014 14:15:48 GMT
98
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,203 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://foo:bar@localhost:3000/api/v0/partners/5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - '*/*'
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ X-Ua-Compatible:
28
+ - chrome=1
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ X-Meta-Request-Version:
32
+ - 0.2.9
33
+ Etag:
34
+ - '"f0bce311187f92164a06b74d18f65b22"'
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ Set-Cookie:
38
+ - request_method=GET; path=/
39
+ X-Request-Id:
40
+ - a55b4c93-7500-4523-983b-fb07bd9c63a5
41
+ X-Runtime:
42
+ - '0.108835'
43
+ Connection:
44
+ - close
45
+ Server:
46
+ - thin 1.6.2 codename Doc Brown
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"id":"5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa","code":"foo","name":null,"created_at":"2014-10-16T14:06:28.938Z","updated_at":"2014-10-16T14:06:28.938Z","colls_url":"http://localhost:3000/api/v0/partners/5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa/colls","lock_version":0,"rel_path":"f/o/o"}'
50
+ http_version:
51
+ recorded_at: Fri, 07 Nov 2014 20:40:15 GMT
52
+ - request:
53
+ method: get
54
+ uri: http://foo:bar@localhost:3000/api/v0/partners/5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa/colls
55
+ body:
56
+ encoding: US-ASCII
57
+ string: ''
58
+ headers:
59
+ User-Agent:
60
+ - Faraday v0.9.0
61
+ Accept-Encoding:
62
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
+ Accept:
64
+ - '*/*'
65
+ response:
66
+ status:
67
+ code: 200
68
+ message: OK
69
+ headers:
70
+ X-Frame-Options:
71
+ - SAMEORIGIN
72
+ X-Xss-Protection:
73
+ - 1; mode=block
74
+ X-Content-Type-Options:
75
+ - nosniff
76
+ X-Ua-Compatible:
77
+ - chrome=1
78
+ Content-Type:
79
+ - application/json; charset=utf-8
80
+ X-Meta-Request-Version:
81
+ - 0.2.9
82
+ Etag:
83
+ - '"6154eb7d3f8158008d9a95ad7b8aa752"'
84
+ Cache-Control:
85
+ - max-age=0, private, must-revalidate
86
+ Set-Cookie:
87
+ - request_method=GET; path=/
88
+ X-Request-Id:
89
+ - 473b061b-071d-470f-b3bc-edbc2d8aceb1
90
+ X-Runtime:
91
+ - '0.165129'
92
+ Connection:
93
+ - close
94
+ Server:
95
+ - thin 1.6.2 codename Doc Brown
96
+ body:
97
+ encoding: UTF-8
98
+ string: '[{"id":"8cdab8d4-6eb7-4ef3-9e53-93efb987cbaa","partner_id":"5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa","code":"luke","name":"Lasers
99
+ Under Kinetic Ether","coll_type":"origin","created_at":"2014-11-07T14:57:13.784Z","updated_at":"2014-11-07T14:57:13.784Z","url":"http://localhost:3000/api/v0/colls/8cdab8d4-6eb7-4ef3-9e53-93efb987cbaa","partner_url":"http://localhost:3000/api/v0/partners/5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa"},{"id":"07998216-af0a-4262-b7f9-6a7d9c4aeae4","partner_id":"5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa","code":"leia","name":"Last
100
+ Emu In Australia","coll_type":"origin","created_at":"2014-11-07T14:57:14.130Z","updated_at":"2014-11-07T14:57:14.727Z","url":"http://localhost:3000/api/v0/colls/07998216-af0a-4262-b7f9-6a7d9c4aeae4","partner_url":"http://localhost:3000/api/v0/partners/5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa"}]'
101
+ http_version:
102
+ recorded_at: Fri, 07 Nov 2014 20:40:15 GMT
103
+ - request:
104
+ method: get
105
+ uri: http://foo:bar@localhost:3000/api/v0/colls/8cdab8d4-6eb7-4ef3-9e53-93efb987cbaa
106
+ body:
107
+ encoding: US-ASCII
108
+ string: ''
109
+ headers:
110
+ User-Agent:
111
+ - Faraday v0.9.0
112
+ Accept-Encoding:
113
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
114
+ Accept:
115
+ - '*/*'
116
+ response:
117
+ status:
118
+ code: 200
119
+ message: OK
120
+ headers:
121
+ X-Frame-Options:
122
+ - SAMEORIGIN
123
+ X-Xss-Protection:
124
+ - 1; mode=block
125
+ X-Content-Type-Options:
126
+ - nosniff
127
+ X-Ua-Compatible:
128
+ - chrome=1
129
+ Content-Type:
130
+ - application/json; charset=utf-8
131
+ X-Meta-Request-Version:
132
+ - 0.2.9
133
+ Etag:
134
+ - '"2f962f256a49f7be152b112c118df259"'
135
+ Cache-Control:
136
+ - max-age=0, private, must-revalidate
137
+ Set-Cookie:
138
+ - request_method=GET; path=/
139
+ X-Request-Id:
140
+ - 90537724-7164-4c21-84e9-7c44c2651439
141
+ X-Runtime:
142
+ - '0.105542'
143
+ Connection:
144
+ - close
145
+ Server:
146
+ - thin 1.6.2 codename Doc Brown
147
+ body:
148
+ encoding: UTF-8
149
+ string: '{"id":"8cdab8d4-6eb7-4ef3-9e53-93efb987cbaa","partner_id":"5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa","code":"luke","name":"Lasers
150
+ Under Kinetic Ether","coll_type":"origin","created_at":"2014-11-07T14:57:13.784Z","updated_at":"2014-11-07T14:57:13.784Z","quota":1024,"ready_for_content":false,"partner_url":"http://localhost:3000/api/v0/partners/5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa","lock_version":0,"rel_path":null}'
151
+ http_version:
152
+ recorded_at: Fri, 07 Nov 2014 20:40:15 GMT
153
+ - request:
154
+ method: get
155
+ uri: http://foo:bar@localhost:3000/api/v0/colls/07998216-af0a-4262-b7f9-6a7d9c4aeae4
156
+ body:
157
+ encoding: US-ASCII
158
+ string: ''
159
+ headers:
160
+ User-Agent:
161
+ - Faraday v0.9.0
162
+ Accept-Encoding:
163
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
164
+ Accept:
165
+ - '*/*'
166
+ response:
167
+ status:
168
+ code: 200
169
+ message: OK
170
+ headers:
171
+ X-Frame-Options:
172
+ - SAMEORIGIN
173
+ X-Xss-Protection:
174
+ - 1; mode=block
175
+ X-Content-Type-Options:
176
+ - nosniff
177
+ X-Ua-Compatible:
178
+ - chrome=1
179
+ Content-Type:
180
+ - application/json; charset=utf-8
181
+ X-Meta-Request-Version:
182
+ - 0.2.9
183
+ Etag:
184
+ - '"f4765c49365aba54d8b4a44557b4d3c3"'
185
+ Cache-Control:
186
+ - max-age=0, private, must-revalidate
187
+ Set-Cookie:
188
+ - request_method=GET; path=/
189
+ X-Request-Id:
190
+ - 60a732ae-2aa0-4696-a4f7-34fccd2a7041
191
+ X-Runtime:
192
+ - '0.104391'
193
+ Connection:
194
+ - close
195
+ Server:
196
+ - thin 1.6.2 codename Doc Brown
197
+ body:
198
+ encoding: UTF-8
199
+ string: '{"id":"07998216-af0a-4262-b7f9-6a7d9c4aeae4","partner_id":"5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa","code":"leia","name":"Last
200
+ Emu In Australia","coll_type":"origin","created_at":"2014-11-07T14:57:14.130Z","updated_at":"2014-11-07T14:57:14.727Z","quota":123,"ready_for_content":false,"partner_url":"http://localhost:3000/api/v0/partners/5c902ffa-b2d9-4b8a-bac6-6ec8cfb50baa","lock_version":1,"rel_path":null}'
201
+ http_version:
202
+ recorded_at: Fri, 07 Nov 2014 20:40:15 GMT
203
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,101 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://foo:bar@localhost:3000/api/v0/partners/51213be7-c8de-4e06-8cc2-06bfc82cdd68
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - '*/*'
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ X-Ua-Compatible:
28
+ - chrome=1
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ X-Meta-Request-Version:
32
+ - 0.2.9
33
+ Etag:
34
+ - '"416e42db8d4cda42e4d97bac97df65fb"'
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ Set-Cookie:
38
+ - request_method=GET; path=/
39
+ X-Request-Id:
40
+ - abfd0e49-8d92-4b84-bc06-bd4c71f8c60d
41
+ X-Runtime:
42
+ - '0.105053'
43
+ Connection:
44
+ - close
45
+ Server:
46
+ - thin 1.6.2 codename Doc Brown
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"id":"51213be7-c8de-4e06-8cc2-06bfc82cdd68","code":"bar","name":null,"created_at":"2014-10-16T14:08:36.445Z","updated_at":"2014-10-16T14:08:36.445Z","colls_url":"http://localhost:3000/api/v0/partners/51213be7-c8de-4e06-8cc2-06bfc82cdd68/colls","lock_version":0,"rel_path":"b/a/r"}'
50
+ http_version:
51
+ recorded_at: Fri, 07 Nov 2014 20:43:16 GMT
52
+ - request:
53
+ method: get
54
+ uri: http://foo:bar@localhost:3000/api/v0/partners/51213be7-c8de-4e06-8cc2-06bfc82cdd68/colls
55
+ body:
56
+ encoding: US-ASCII
57
+ string: ''
58
+ headers:
59
+ User-Agent:
60
+ - Faraday v0.9.0
61
+ Accept-Encoding:
62
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
+ Accept:
64
+ - '*/*'
65
+ response:
66
+ status:
67
+ code: 200
68
+ message: OK
69
+ headers:
70
+ X-Frame-Options:
71
+ - SAMEORIGIN
72
+ X-Xss-Protection:
73
+ - 1; mode=block
74
+ X-Content-Type-Options:
75
+ - nosniff
76
+ X-Ua-Compatible:
77
+ - chrome=1
78
+ Content-Type:
79
+ - application/json; charset=utf-8
80
+ X-Meta-Request-Version:
81
+ - 0.2.9
82
+ Etag:
83
+ - '"d751713988987e9331980363e24189ce"'
84
+ Cache-Control:
85
+ - max-age=0, private, must-revalidate
86
+ Set-Cookie:
87
+ - request_method=GET; path=/
88
+ X-Request-Id:
89
+ - 2ca5d8e0-b581-45de-a69e-797102551248
90
+ X-Runtime:
91
+ - '0.112509'
92
+ Connection:
93
+ - close
94
+ Server:
95
+ - thin 1.6.2 codename Doc Brown
96
+ body:
97
+ encoding: UTF-8
98
+ string: '[]'
99
+ http_version:
100
+ recorded_at: Fri, 07 Nov 2014 20:43:17 GMT
101
+ recorded_with: VCR 2.9.3