poptart 0.0.10 → 0.0.11
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/poptart/request.rb +6 -0
- data/lib/poptart/user.rb +9 -2
- data/lib/poptart.rb +18 -0
- data/lib/version.rb +1 -1
- data/spec/requests/answering_survey_questions_spec.rb +6 -0
- data/spec/requests/answers_spec.rb +2 -0
- data/spec/requests/surveys_spec.rb +11 -0
- data/spec/requests/user_management_spec.rb +1 -0
- data/spec/vcr/answering/survey_questions_answers_a_multiple_choice_question.yml +3407 -626
- data/spec/vcr/answering/survey_questions_answers_a_survey_question.yml +6035 -1352
- data/spec/vcr/answering/survey_questions_creates_and_returns_a_random_question_survey.yml +75 -240
- data/spec/vcr/answering/survey_questions_creates_and_returns_an_empty_survey.yml +35 -27
- data/spec/vcr/answering/survey_questions_finds_survey_question_for_id.yml +73 -235
- data/spec/vcr/creating/quesitons_returns_boolean_question.yml +19 -15
- data/spec/vcr/creating/quesitons_returns_multiple_question.yml +76 -60
- data/spec/vcr/creating/quesitons_returns_range_question.yml +75 -59
- data/spec/vcr/retrieving/answers_returns_all_answered_survey_questions_for_a_question.yml +6923 -442
- data/spec/vcr/retrieving/answers_returns_all_answered_survey_questions_for_a_question_by_key.yml +2055 -329
- data/spec/vcr/surveys/fetchs_all_surveys_for_a_user.yml +476 -0
- data/spec/vcr/user/management_creates_a_user.yml +55 -48
- data/spec/vcr/user/management_returns_a_user.yml +468 -17
- metadata +6 -2
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
|
-
method:
|
5
|
-
uri: http://localhost:3000/
|
4
|
+
method: post
|
5
|
+
uri: http://localhost:3000/api/questions/
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string: '
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"question":{"question_type":"multiple","responses":["Yes","No"],"text":"Do
|
9
|
+
you like poptarts?","freeform":false,"absolute_index":null,"parent_question_id":null}}'
|
9
10
|
headers:
|
10
11
|
User-Agent:
|
11
12
|
- Faraday v0.9.0
|
@@ -19,8 +20,8 @@ http_interactions:
|
|
19
20
|
- "*/*"
|
20
21
|
response:
|
21
22
|
status:
|
22
|
-
code:
|
23
|
-
message: '
|
23
|
+
code: 201
|
24
|
+
message: 'Created '
|
24
25
|
headers:
|
25
26
|
X-Frame-Options:
|
26
27
|
- SAMEORIGIN
|
@@ -33,49 +34,44 @@ http_interactions:
|
|
33
34
|
Content-Type:
|
34
35
|
- application/json; charset=utf-8
|
35
36
|
Etag:
|
36
|
-
- '"
|
37
|
+
- '"f6e5852ba4f14e962fb6195400ec85d2"'
|
37
38
|
Cache-Control:
|
38
39
|
- max-age=0, private, must-revalidate
|
39
40
|
X-Request-Id:
|
40
|
-
-
|
41
|
+
- 5a358303-e7ac-4e00-88b7-6bbcab11a400
|
41
42
|
X-Runtime:
|
42
|
-
- '0.
|
43
|
+
- '0.008645'
|
43
44
|
Server:
|
44
45
|
- WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
|
45
46
|
Date:
|
46
47
|
- Sun, 28 Sep 2014 14:43:00 GMT
|
47
48
|
Content-Length:
|
48
|
-
- '
|
49
|
+
- '199'
|
49
50
|
Connection:
|
50
51
|
- Keep-Alive
|
51
52
|
body:
|
52
53
|
encoding: UTF-8
|
53
54
|
string: |-
|
54
55
|
{
|
55
|
-
"
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
"
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
"questions": {
|
66
|
-
"href": "api/questions"
|
67
|
-
}
|
68
|
-
}
|
56
|
+
"id": 83,
|
57
|
+
"question_type": "multiple",
|
58
|
+
"text": "Do you like poptarts?",
|
59
|
+
"responses": [
|
60
|
+
"Yes",
|
61
|
+
"No"
|
62
|
+
],
|
63
|
+
"freeform": false,
|
64
|
+
"absolute_index": null,
|
65
|
+
"parent_question_id": null
|
69
66
|
}
|
70
67
|
http_version:
|
71
68
|
recorded_at: Sun, 28 Sep 2014 14:43:00 GMT
|
72
69
|
- request:
|
73
|
-
method:
|
74
|
-
uri: http://localhost:3000/
|
70
|
+
method: get
|
71
|
+
uri: http://localhost:3000/
|
75
72
|
body:
|
76
|
-
encoding:
|
77
|
-
string: '
|
78
|
-
you like poptarts?","freeform":false,"absolute_index":null,"parent_question_id":null}}'
|
73
|
+
encoding: US-ASCII
|
74
|
+
string: ''
|
79
75
|
headers:
|
80
76
|
User-Agent:
|
81
77
|
- Faraday v0.9.0
|
@@ -83,14 +79,18 @@ http_interactions:
|
|
83
79
|
- application/json
|
84
80
|
Api-Token:
|
85
81
|
- testing
|
82
|
+
User-Token:
|
83
|
+
- 6f60976124c03c4dcb6eec1203befa6e93931b5232dfaf40eae202f652518523
|
84
|
+
Service-User-Id:
|
85
|
+
- 9b9cecf62bf7b0209bc1d02efe07c39d3b4c9aea55305263c0a5ea3a879ac114
|
86
86
|
Accept-Encoding:
|
87
87
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
88
88
|
Accept:
|
89
89
|
- "*/*"
|
90
90
|
response:
|
91
91
|
status:
|
92
|
-
code:
|
93
|
-
message: '
|
92
|
+
code: 200
|
93
|
+
message: 'OK '
|
94
94
|
headers:
|
95
95
|
X-Frame-Options:
|
96
96
|
- SAMEORIGIN
|
@@ -103,38 +103,45 @@ http_interactions:
|
|
103
103
|
Content-Type:
|
104
104
|
- application/json; charset=utf-8
|
105
105
|
Etag:
|
106
|
-
- '"
|
106
|
+
- '"2aa11a1ab77b139e58f765299f923a01"'
|
107
107
|
Cache-Control:
|
108
108
|
- max-age=0, private, must-revalidate
|
109
109
|
X-Request-Id:
|
110
|
-
-
|
110
|
+
- dedf42bf-4591-4ff5-b146-e2ec911e2264
|
111
111
|
X-Runtime:
|
112
|
-
- '0.
|
112
|
+
- '0.008361'
|
113
113
|
Server:
|
114
114
|
- WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
|
115
115
|
Date:
|
116
|
-
-
|
116
|
+
- Sat, 18 Oct 2014 17:28:27 GMT
|
117
117
|
Content-Length:
|
118
|
-
- '
|
118
|
+
- '469'
|
119
119
|
Connection:
|
120
120
|
- Keep-Alive
|
121
121
|
body:
|
122
122
|
encoding: UTF-8
|
123
123
|
string: |-
|
124
124
|
{
|
125
|
-
"
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
"
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
125
|
+
"_links": {
|
126
|
+
"self": {
|
127
|
+
"href": "http://localhost:3000/"
|
128
|
+
},
|
129
|
+
"surveys": {
|
130
|
+
"href": "http://localhost:3000/api/surveys{/id}{?query*}"
|
131
|
+
},
|
132
|
+
"users": {
|
133
|
+
"href": "http://localhost:3000/api/users{/id}{?query*}"
|
134
|
+
},
|
135
|
+
"questions": {
|
136
|
+
"href": "http://localhost:3000/api/questions{/id}{?query*}"
|
137
|
+
},
|
138
|
+
"survey_questions": {
|
139
|
+
"href": "http://localhost:3000/api/questions{/question_id}/survey_questions{?query*}"
|
140
|
+
}
|
141
|
+
}
|
135
142
|
}
|
136
143
|
http_version:
|
137
|
-
recorded_at:
|
144
|
+
recorded_at: Sat, 18 Oct 2014 17:28:27 GMT
|
138
145
|
- request:
|
139
146
|
method: get
|
140
147
|
uri: http://localhost:3000/
|
@@ -148,6 +155,10 @@ http_interactions:
|
|
148
155
|
- application/json
|
149
156
|
Api-Token:
|
150
157
|
- testing
|
158
|
+
User-Token:
|
159
|
+
- 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
|
160
|
+
Service-User-Id:
|
161
|
+
- 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
|
151
162
|
Accept-Encoding:
|
152
163
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
153
164
|
Accept:
|
@@ -172,13 +183,13 @@ http_interactions:
|
|
172
183
|
Cache-Control:
|
173
184
|
- max-age=0, private, must-revalidate
|
174
185
|
X-Request-Id:
|
175
|
-
-
|
186
|
+
- 92b4e9df-13ba-44e5-ba81-1dca130e0268
|
176
187
|
X-Runtime:
|
177
|
-
- '0.
|
188
|
+
- '0.011956'
|
178
189
|
Server:
|
179
190
|
- WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
|
180
191
|
Date:
|
181
|
-
-
|
192
|
+
- Sat, 18 Oct 2014 17:30:45 GMT
|
182
193
|
Content-Length:
|
183
194
|
- '469'
|
184
195
|
Connection:
|
@@ -206,14 +217,14 @@ http_interactions:
|
|
206
217
|
}
|
207
218
|
}
|
208
219
|
http_version:
|
209
|
-
recorded_at:
|
220
|
+
recorded_at: Sat, 18 Oct 2014 17:30:45 GMT
|
210
221
|
- request:
|
211
222
|
method: post
|
212
223
|
uri: http://localhost:3000/api/questions
|
213
224
|
body:
|
214
225
|
encoding: UTF-8
|
215
226
|
string: '{"question":{"question_type":"multiple","responses":["Yes","No"],"text":"Do
|
216
|
-
you like poptarts?","freeform":false,"absolute_index":null,"parent_question_id":null}}'
|
227
|
+
you like poptarts?","freeform":false,"absolute_index":null,"parent_question_id":null,"key":null}}'
|
217
228
|
headers:
|
218
229
|
User-Agent:
|
219
230
|
- Faraday v0.9.0
|
@@ -221,6 +232,10 @@ http_interactions:
|
|
221
232
|
- application/json
|
222
233
|
Api-Token:
|
223
234
|
- testing
|
235
|
+
User-Token:
|
236
|
+
- 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
|
237
|
+
Service-User-Id:
|
238
|
+
- 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
|
224
239
|
Accept-Encoding:
|
225
240
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
226
241
|
Accept:
|
@@ -241,26 +256,26 @@ http_interactions:
|
|
241
256
|
Content-Type:
|
242
257
|
- application/json; charset=utf-8
|
243
258
|
Etag:
|
244
|
-
- '"
|
259
|
+
- '"0e12592faf47ba744ffe04c77cefb0dd"'
|
245
260
|
Cache-Control:
|
246
261
|
- max-age=0, private, must-revalidate
|
247
262
|
X-Request-Id:
|
248
|
-
-
|
263
|
+
- 24d58fce-6dc9-451b-9839-073b2a85b639
|
249
264
|
X-Runtime:
|
250
|
-
- '0.
|
265
|
+
- '0.010383'
|
251
266
|
Server:
|
252
267
|
- WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
|
253
268
|
Date:
|
254
|
-
-
|
269
|
+
- Sat, 18 Oct 2014 17:30:45 GMT
|
255
270
|
Content-Length:
|
256
|
-
- '
|
271
|
+
- '215'
|
257
272
|
Connection:
|
258
273
|
- Keep-Alive
|
259
274
|
body:
|
260
275
|
encoding: UTF-8
|
261
276
|
string: |-
|
262
277
|
{
|
263
|
-
"id":
|
278
|
+
"id": 128,
|
264
279
|
"question_type": "multiple",
|
265
280
|
"text": "Do you like poptarts?",
|
266
281
|
"responses": [
|
@@ -269,8 +284,9 @@ http_interactions:
|
|
269
284
|
],
|
270
285
|
"freeform": false,
|
271
286
|
"absolute_index": null,
|
272
|
-
"parent_question_id": null
|
287
|
+
"parent_question_id": null,
|
288
|
+
"key": null
|
273
289
|
}
|
274
290
|
http_version:
|
275
|
-
recorded_at:
|
291
|
+
recorded_at: Sat, 18 Oct 2014 17:30:45 GMT
|
276
292
|
recorded_with: VCR 2.6.0
|
@@ -1,11 +1,12 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
|
-
method:
|
5
|
-
uri: http://localhost:3000/
|
4
|
+
method: post
|
5
|
+
uri: http://localhost:3000/api/questions/
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string: '
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"question":{"question_type":"range","responses":[0,10],"text":"Do
|
9
|
+
you like poptarts?","freeform":false,"absolute_index":null}}'
|
9
10
|
headers:
|
10
11
|
User-Agent:
|
11
12
|
- Faraday v0.9.0
|
@@ -19,8 +20,8 @@ http_interactions:
|
|
19
20
|
- "*/*"
|
20
21
|
response:
|
21
22
|
status:
|
22
|
-
code:
|
23
|
-
message: '
|
23
|
+
code: 201
|
24
|
+
message: 'Created '
|
24
25
|
headers:
|
25
26
|
X-Frame-Options:
|
26
27
|
- SAMEORIGIN
|
@@ -33,49 +34,43 @@ http_interactions:
|
|
33
34
|
Content-Type:
|
34
35
|
- application/json; charset=utf-8
|
35
36
|
Etag:
|
36
|
-
- '"
|
37
|
+
- '"9eef25b486b78af9f95e57c05769d723"'
|
37
38
|
Cache-Control:
|
38
39
|
- max-age=0, private, must-revalidate
|
39
40
|
X-Request-Id:
|
40
|
-
-
|
41
|
+
- 066da954-7460-437f-9364-e9b732b438d5
|
41
42
|
X-Runtime:
|
42
|
-
- '0.
|
43
|
+
- '0.006798'
|
43
44
|
Server:
|
44
45
|
- WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
|
45
46
|
Date:
|
46
47
|
- Sun, 28 Sep 2014 14:33:16 GMT
|
47
48
|
Content-Length:
|
48
|
-
- '
|
49
|
+
- '160'
|
49
50
|
Connection:
|
50
51
|
- Keep-Alive
|
51
52
|
body:
|
52
53
|
encoding: UTF-8
|
53
54
|
string: |-
|
54
55
|
{
|
55
|
-
"
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
},
|
65
|
-
"questions": {
|
66
|
-
"href": "api/questions"
|
67
|
-
}
|
68
|
-
}
|
56
|
+
"id": 74,
|
57
|
+
"question_type": "range",
|
58
|
+
"text": "Do you like poptarts?",
|
59
|
+
"responses": [
|
60
|
+
0,
|
61
|
+
10
|
62
|
+
],
|
63
|
+
"freeform": false,
|
64
|
+
"absolute_index": null
|
69
65
|
}
|
70
66
|
http_version:
|
71
67
|
recorded_at: Sun, 28 Sep 2014 14:33:16 GMT
|
72
68
|
- request:
|
73
|
-
method:
|
74
|
-
uri: http://localhost:3000/
|
69
|
+
method: get
|
70
|
+
uri: http://localhost:3000/
|
75
71
|
body:
|
76
|
-
encoding:
|
77
|
-
string: '
|
78
|
-
you like poptarts?","freeform":false,"absolute_index":null}}'
|
72
|
+
encoding: US-ASCII
|
73
|
+
string: ''
|
79
74
|
headers:
|
80
75
|
User-Agent:
|
81
76
|
- Faraday v0.9.0
|
@@ -83,14 +78,18 @@ http_interactions:
|
|
83
78
|
- application/json
|
84
79
|
Api-Token:
|
85
80
|
- testing
|
81
|
+
User-Token:
|
82
|
+
- 6f60976124c03c4dcb6eec1203befa6e93931b5232dfaf40eae202f652518523
|
83
|
+
Service-User-Id:
|
84
|
+
- 9b9cecf62bf7b0209bc1d02efe07c39d3b4c9aea55305263c0a5ea3a879ac114
|
86
85
|
Accept-Encoding:
|
87
86
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
88
87
|
Accept:
|
89
88
|
- "*/*"
|
90
89
|
response:
|
91
90
|
status:
|
92
|
-
code:
|
93
|
-
message: '
|
91
|
+
code: 200
|
92
|
+
message: 'OK '
|
94
93
|
headers:
|
95
94
|
X-Frame-Options:
|
96
95
|
- SAMEORIGIN
|
@@ -103,37 +102,45 @@ http_interactions:
|
|
103
102
|
Content-Type:
|
104
103
|
- application/json; charset=utf-8
|
105
104
|
Etag:
|
106
|
-
- '"
|
105
|
+
- '"2aa11a1ab77b139e58f765299f923a01"'
|
107
106
|
Cache-Control:
|
108
107
|
- max-age=0, private, must-revalidate
|
109
108
|
X-Request-Id:
|
110
|
-
-
|
109
|
+
- 846e2cef-f185-4a2c-ba92-41313f0cb099
|
111
110
|
X-Runtime:
|
112
|
-
- '0.
|
111
|
+
- '0.004806'
|
113
112
|
Server:
|
114
113
|
- WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
|
115
114
|
Date:
|
116
|
-
-
|
115
|
+
- Sat, 18 Oct 2014 17:28:27 GMT
|
117
116
|
Content-Length:
|
118
|
-
- '
|
117
|
+
- '469'
|
119
118
|
Connection:
|
120
119
|
- Keep-Alive
|
121
120
|
body:
|
122
121
|
encoding: UTF-8
|
123
122
|
string: |-
|
124
123
|
{
|
125
|
-
"
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
124
|
+
"_links": {
|
125
|
+
"self": {
|
126
|
+
"href": "http://localhost:3000/"
|
127
|
+
},
|
128
|
+
"surveys": {
|
129
|
+
"href": "http://localhost:3000/api/surveys{/id}{?query*}"
|
130
|
+
},
|
131
|
+
"users": {
|
132
|
+
"href": "http://localhost:3000/api/users{/id}{?query*}"
|
133
|
+
},
|
134
|
+
"questions": {
|
135
|
+
"href": "http://localhost:3000/api/questions{/id}{?query*}"
|
136
|
+
},
|
137
|
+
"survey_questions": {
|
138
|
+
"href": "http://localhost:3000/api/questions{/question_id}/survey_questions{?query*}"
|
139
|
+
}
|
140
|
+
}
|
134
141
|
}
|
135
142
|
http_version:
|
136
|
-
recorded_at:
|
143
|
+
recorded_at: Sat, 18 Oct 2014 17:28:27 GMT
|
137
144
|
- request:
|
138
145
|
method: get
|
139
146
|
uri: http://localhost:3000/
|
@@ -147,6 +154,10 @@ http_interactions:
|
|
147
154
|
- application/json
|
148
155
|
Api-Token:
|
149
156
|
- testing
|
157
|
+
User-Token:
|
158
|
+
- 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
|
159
|
+
Service-User-Id:
|
160
|
+
- 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
|
150
161
|
Accept-Encoding:
|
151
162
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
152
163
|
Accept:
|
@@ -171,13 +182,13 @@ http_interactions:
|
|
171
182
|
Cache-Control:
|
172
183
|
- max-age=0, private, must-revalidate
|
173
184
|
X-Request-Id:
|
174
|
-
-
|
185
|
+
- 717aae80-1992-4e83-956e-717131677d58
|
175
186
|
X-Runtime:
|
176
|
-
- '0.
|
187
|
+
- '0.004791'
|
177
188
|
Server:
|
178
189
|
- WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
|
179
190
|
Date:
|
180
|
-
-
|
191
|
+
- Sat, 18 Oct 2014 17:30:45 GMT
|
181
192
|
Content-Length:
|
182
193
|
- '469'
|
183
194
|
Connection:
|
@@ -205,14 +216,14 @@ http_interactions:
|
|
205
216
|
}
|
206
217
|
}
|
207
218
|
http_version:
|
208
|
-
recorded_at:
|
219
|
+
recorded_at: Sat, 18 Oct 2014 17:30:45 GMT
|
209
220
|
- request:
|
210
221
|
method: post
|
211
222
|
uri: http://localhost:3000/api/questions
|
212
223
|
body:
|
213
224
|
encoding: UTF-8
|
214
225
|
string: '{"question":{"question_type":"range","responses":[0,10],"text":"Do
|
215
|
-
you like poptarts?","freeform":false,"absolute_index":null,"parent_question_id":null}}'
|
226
|
+
you like poptarts?","freeform":false,"absolute_index":null,"parent_question_id":null,"key":null}}'
|
216
227
|
headers:
|
217
228
|
User-Agent:
|
218
229
|
- Faraday v0.9.0
|
@@ -220,6 +231,10 @@ http_interactions:
|
|
220
231
|
- application/json
|
221
232
|
Api-Token:
|
222
233
|
- testing
|
234
|
+
User-Token:
|
235
|
+
- 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
|
236
|
+
Service-User-Id:
|
237
|
+
- 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
|
223
238
|
Accept-Encoding:
|
224
239
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
225
240
|
Accept:
|
@@ -240,26 +255,26 @@ http_interactions:
|
|
240
255
|
Content-Type:
|
241
256
|
- application/json; charset=utf-8
|
242
257
|
Etag:
|
243
|
-
- '"
|
258
|
+
- '"92706492cd743c739513c62eb39f5978"'
|
244
259
|
Cache-Control:
|
245
260
|
- max-age=0, private, must-revalidate
|
246
261
|
X-Request-Id:
|
247
|
-
-
|
262
|
+
- b40fa04b-2e23-4e6a-8425-7c5a39f52cfa
|
248
263
|
X-Runtime:
|
249
|
-
- '0.
|
264
|
+
- '0.010944'
|
250
265
|
Server:
|
251
266
|
- WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
|
252
267
|
Date:
|
253
|
-
-
|
268
|
+
- Sat, 18 Oct 2014 17:30:45 GMT
|
254
269
|
Content-Length:
|
255
|
-
- '
|
270
|
+
- '206'
|
256
271
|
Connection:
|
257
272
|
- Keep-Alive
|
258
273
|
body:
|
259
274
|
encoding: UTF-8
|
260
275
|
string: |-
|
261
276
|
{
|
262
|
-
"id":
|
277
|
+
"id": 129,
|
263
278
|
"question_type": "range",
|
264
279
|
"text": "Do you like poptarts?",
|
265
280
|
"responses": [
|
@@ -268,8 +283,9 @@ http_interactions:
|
|
268
283
|
],
|
269
284
|
"freeform": false,
|
270
285
|
"absolute_index": null,
|
271
|
-
"parent_question_id": null
|
286
|
+
"parent_question_id": null,
|
287
|
+
"key": null
|
272
288
|
}
|
273
289
|
http_version:
|
274
|
-
recorded_at:
|
290
|
+
recorded_at: Sat, 18 Oct 2014 17:30:45 GMT
|
275
291
|
recorded_with: VCR 2.6.0
|