poptart 0.0.11 → 0.0.12

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.
@@ -8977,6 +8977,810 @@ http_interactions:
8977
8977
  string: ''
8978
8978
  http_version:
8979
8979
  recorded_at: Sat, 18 Oct 2014 17:28:27 GMT
8980
+ - request:
8981
+ method: post
8982
+ uri: http://localhost:3000/api/surveys/186/survey_questions
8983
+ body:
8984
+ encoding: UTF-8
8985
+ string: '{"survey_question":{"question_id":126}}'
8986
+ headers:
8987
+ User-Agent:
8988
+ - Faraday v0.9.0
8989
+ Content-Type:
8990
+ - application/json
8991
+ Api-Token:
8992
+ - testing
8993
+ User-Token:
8994
+ - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
8995
+ Service-User-Id:
8996
+ - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
8997
+ Accept-Encoding:
8998
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
8999
+ Accept:
9000
+ - "*/*"
9001
+ response:
9002
+ status:
9003
+ code: 201
9004
+ message: 'Created '
9005
+ headers:
9006
+ X-Frame-Options:
9007
+ - SAMEORIGIN
9008
+ X-Xss-Protection:
9009
+ - 1; mode=block
9010
+ X-Content-Type-Options:
9011
+ - nosniff
9012
+ X-Ua-Compatible:
9013
+ - chrome=1
9014
+ Content-Type:
9015
+ - application/json; charset=utf-8
9016
+ Etag:
9017
+ - '"b673ccea86fd971d9f20458f0733abd9"'
9018
+ Cache-Control:
9019
+ - max-age=0, private, must-revalidate
9020
+ X-Request-Id:
9021
+ - 8589b89f-31b4-41c1-8ca3-0a79fe701949
9022
+ X-Runtime:
9023
+ - '0.015804'
9024
+ Server:
9025
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9026
+ Date:
9027
+ - Sat, 18 Oct 2014 17:30:44 GMT
9028
+ Content-Length:
9029
+ - '571'
9030
+ Connection:
9031
+ - Keep-Alive
9032
+ body:
9033
+ encoding: UTF-8
9034
+ string: |-
9035
+ {
9036
+ "id": 269,
9037
+ "text": "Do you like poptarts?",
9038
+ "type": "boolean",
9039
+ "responses": [
9040
+ "t",
9041
+ "f"
9042
+ ],
9043
+ "answer": null,
9044
+ "freeform": false,
9045
+ "_links": {
9046
+ "self": {
9047
+ "href": "http://localhost:3000/api/surveys/186/survey_questions/269"
9048
+ },
9049
+ "post": {
9050
+ "href": "http://localhost:3000/api/surveys/186/survey_questions"
9051
+ },
9052
+ "put": {
9053
+ "href": "http://localhost:3000/api/surveys/186/survey_questions/269"
9054
+ },
9055
+ "survey": {
9056
+ "href": "http://localhost:3000/api/surveys/186"
9057
+ }
9058
+ },
9059
+ "created_at": "2014-10-18T17:30:44.637Z"
9060
+ }
9061
+ http_version:
9062
+ recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
9063
+ - request:
9064
+ method: post
9065
+ uri: http://localhost:3000/api/surveys/187/survey_questions
9066
+ body:
9067
+ encoding: UTF-8
9068
+ string: '{"survey_question":{"question_id":126}}'
9069
+ headers:
9070
+ User-Agent:
9071
+ - Faraday v0.9.0
9072
+ Content-Type:
9073
+ - application/json
9074
+ Api-Token:
9075
+ - testing
9076
+ User-Token:
9077
+ - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
9078
+ Service-User-Id:
9079
+ - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
9080
+ Accept-Encoding:
9081
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9082
+ Accept:
9083
+ - "*/*"
9084
+ response:
9085
+ status:
9086
+ code: 201
9087
+ message: 'Created '
9088
+ headers:
9089
+ X-Frame-Options:
9090
+ - SAMEORIGIN
9091
+ X-Xss-Protection:
9092
+ - 1; mode=block
9093
+ X-Content-Type-Options:
9094
+ - nosniff
9095
+ X-Ua-Compatible:
9096
+ - chrome=1
9097
+ Content-Type:
9098
+ - application/json; charset=utf-8
9099
+ Etag:
9100
+ - '"56b2013e2b798ef475d439572de342ef"'
9101
+ Cache-Control:
9102
+ - max-age=0, private, must-revalidate
9103
+ X-Request-Id:
9104
+ - 2ff012c3-d6c8-4e03-b462-2caf8f7f3871
9105
+ X-Runtime:
9106
+ - '0.012672'
9107
+ Server:
9108
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9109
+ Date:
9110
+ - Sat, 18 Oct 2014 17:30:44 GMT
9111
+ Content-Length:
9112
+ - '571'
9113
+ Connection:
9114
+ - Keep-Alive
9115
+ body:
9116
+ encoding: UTF-8
9117
+ string: |-
9118
+ {
9119
+ "id": 270,
9120
+ "text": "Do you like poptarts?",
9121
+ "type": "boolean",
9122
+ "responses": [
9123
+ "t",
9124
+ "f"
9125
+ ],
9126
+ "answer": null,
9127
+ "freeform": false,
9128
+ "_links": {
9129
+ "self": {
9130
+ "href": "http://localhost:3000/api/surveys/187/survey_questions/270"
9131
+ },
9132
+ "post": {
9133
+ "href": "http://localhost:3000/api/surveys/187/survey_questions"
9134
+ },
9135
+ "put": {
9136
+ "href": "http://localhost:3000/api/surveys/187/survey_questions/270"
9137
+ },
9138
+ "survey": {
9139
+ "href": "http://localhost:3000/api/surveys/187"
9140
+ }
9141
+ },
9142
+ "created_at": "2014-10-18T17:30:44.702Z"
9143
+ }
9144
+ http_version:
9145
+ recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
9146
+ - request:
9147
+ method: put
9148
+ uri: http://localhost:3000/api/surveys/186/survey_questions/269
9149
+ body:
9150
+ encoding: UTF-8
9151
+ string: '{"id":269,"survey_question":{"answer":true}}'
9152
+ headers:
9153
+ User-Agent:
9154
+ - Faraday v0.9.0
9155
+ Content-Type:
9156
+ - application/json
9157
+ Api-Token:
9158
+ - testing
9159
+ User-Token:
9160
+ - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
9161
+ Service-User-Id:
9162
+ - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
9163
+ Accept-Encoding:
9164
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9165
+ Accept:
9166
+ - "*/*"
9167
+ response:
9168
+ status:
9169
+ code: 204
9170
+ message: 'No Content '
9171
+ headers:
9172
+ X-Frame-Options:
9173
+ - SAMEORIGIN
9174
+ X-Xss-Protection:
9175
+ - 1; mode=block
9176
+ X-Content-Type-Options:
9177
+ - nosniff
9178
+ X-Ua-Compatible:
9179
+ - chrome=1
9180
+ Cache-Control:
9181
+ - no-cache
9182
+ X-Request-Id:
9183
+ - e73b75fb-cffb-44fc-8d01-ea0d972e9c40
9184
+ X-Runtime:
9185
+ - '0.015726'
9186
+ Server:
9187
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9188
+ Date:
9189
+ - Sat, 18 Oct 2014 17:30:44 GMT
9190
+ Connection:
9191
+ - Keep-Alive
9192
+ body:
9193
+ encoding: UTF-8
9194
+ string: ''
9195
+ http_version:
9196
+ recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
9197
+ - request:
9198
+ method: put
9199
+ uri: http://localhost:3000/api/surveys/187/survey_questions/270
9200
+ body:
9201
+ encoding: UTF-8
9202
+ string: '{"id":270,"survey_question":{"answer":false}}'
9203
+ headers:
9204
+ User-Agent:
9205
+ - Faraday v0.9.0
9206
+ Content-Type:
9207
+ - application/json
9208
+ Api-Token:
9209
+ - testing
9210
+ User-Token:
9211
+ - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
9212
+ Service-User-Id:
9213
+ - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
9214
+ Accept-Encoding:
9215
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9216
+ Accept:
9217
+ - "*/*"
9218
+ response:
9219
+ status:
9220
+ code: 204
9221
+ message: 'No Content '
9222
+ headers:
9223
+ X-Frame-Options:
9224
+ - SAMEORIGIN
9225
+ X-Xss-Protection:
9226
+ - 1; mode=block
9227
+ X-Content-Type-Options:
9228
+ - nosniff
9229
+ X-Ua-Compatible:
9230
+ - chrome=1
9231
+ Cache-Control:
9232
+ - no-cache
9233
+ X-Request-Id:
9234
+ - 41a37992-6353-49cf-b6bb-4e7b78ed04bd
9235
+ X-Runtime:
9236
+ - '0.010537'
9237
+ Server:
9238
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9239
+ Date:
9240
+ - Sat, 18 Oct 2014 17:30:44 GMT
9241
+ Connection:
9242
+ - Keep-Alive
9243
+ body:
9244
+ encoding: UTF-8
9245
+ string: ''
9246
+ http_version:
9247
+ recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
9248
+ - request:
9249
+ method: post
9250
+ uri: http://localhost:3000/api/surveys/191/survey_questions
9251
+ body:
9252
+ encoding: UTF-8
9253
+ string: '{"survey_question":{"question_id":130}}'
9254
+ headers:
9255
+ User-Agent:
9256
+ - Faraday v0.9.0
9257
+ Content-Type:
9258
+ - application/json
9259
+ Api-Token:
9260
+ - testing
9261
+ User-Token:
9262
+ - 68e8575008e75611c5df4a8b5ae709e44f53228733aa24d87dfbd68c4bd5901d
9263
+ Service-User-Id:
9264
+ - f74bf991c9703ab84cf946be3e26d1497b9c5dee7cee626a4dd2c80fdaa7a855
9265
+ Accept-Encoding:
9266
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9267
+ Accept:
9268
+ - "*/*"
9269
+ response:
9270
+ status:
9271
+ code: 201
9272
+ message: 'Created '
9273
+ headers:
9274
+ X-Frame-Options:
9275
+ - SAMEORIGIN
9276
+ X-Xss-Protection:
9277
+ - 1; mode=block
9278
+ X-Content-Type-Options:
9279
+ - nosniff
9280
+ X-Ua-Compatible:
9281
+ - chrome=1
9282
+ Content-Type:
9283
+ - application/json; charset=utf-8
9284
+ Etag:
9285
+ - '"699dea14ffcadf3b701dc67a67b592a1"'
9286
+ Cache-Control:
9287
+ - max-age=0, private, must-revalidate
9288
+ X-Request-Id:
9289
+ - c4defd7b-d4f7-4bd6-a957-5f2fe3aca6a1
9290
+ X-Runtime:
9291
+ - '0.029208'
9292
+ Server:
9293
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9294
+ Date:
9295
+ - Sat, 25 Oct 2014 17:45:48 GMT
9296
+ Content-Length:
9297
+ - '571'
9298
+ Connection:
9299
+ - Keep-Alive
9300
+ body:
9301
+ encoding: UTF-8
9302
+ string: |-
9303
+ {
9304
+ "id": 276,
9305
+ "text": "Do you like poptarts?",
9306
+ "type": "boolean",
9307
+ "responses": [
9308
+ "t",
9309
+ "f"
9310
+ ],
9311
+ "answer": null,
9312
+ "freeform": false,
9313
+ "_links": {
9314
+ "self": {
9315
+ "href": "http://localhost:3000/api/surveys/191/survey_questions/276"
9316
+ },
9317
+ "post": {
9318
+ "href": "http://localhost:3000/api/surveys/191/survey_questions"
9319
+ },
9320
+ "put": {
9321
+ "href": "http://localhost:3000/api/surveys/191/survey_questions/276"
9322
+ },
9323
+ "survey": {
9324
+ "href": "http://localhost:3000/api/surveys/191"
9325
+ }
9326
+ },
9327
+ "created_at": "2014-10-25T17:45:48.665Z"
9328
+ }
9329
+ http_version:
9330
+ recorded_at: Sat, 25 Oct 2014 17:45:48 GMT
9331
+ - request:
9332
+ method: post
9333
+ uri: http://localhost:3000/api/surveys/192/survey_questions
9334
+ body:
9335
+ encoding: UTF-8
9336
+ string: '{"survey_question":{"question_id":130}}'
9337
+ headers:
9338
+ User-Agent:
9339
+ - Faraday v0.9.0
9340
+ Content-Type:
9341
+ - application/json
9342
+ Api-Token:
9343
+ - testing
9344
+ User-Token:
9345
+ - 68e8575008e75611c5df4a8b5ae709e44f53228733aa24d87dfbd68c4bd5901d
9346
+ Service-User-Id:
9347
+ - f74bf991c9703ab84cf946be3e26d1497b9c5dee7cee626a4dd2c80fdaa7a855
9348
+ Accept-Encoding:
9349
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9350
+ Accept:
9351
+ - "*/*"
9352
+ response:
9353
+ status:
9354
+ code: 201
9355
+ message: 'Created '
9356
+ headers:
9357
+ X-Frame-Options:
9358
+ - SAMEORIGIN
9359
+ X-Xss-Protection:
9360
+ - 1; mode=block
9361
+ X-Content-Type-Options:
9362
+ - nosniff
9363
+ X-Ua-Compatible:
9364
+ - chrome=1
9365
+ Content-Type:
9366
+ - application/json; charset=utf-8
9367
+ Etag:
9368
+ - '"148e7e59f8964e54b7ab47893b33bfff"'
9369
+ Cache-Control:
9370
+ - max-age=0, private, must-revalidate
9371
+ X-Request-Id:
9372
+ - 945298f3-d560-4b91-8c6a-1ce2106468a2
9373
+ X-Runtime:
9374
+ - '0.013269'
9375
+ Server:
9376
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9377
+ Date:
9378
+ - Sat, 25 Oct 2014 17:45:48 GMT
9379
+ Content-Length:
9380
+ - '571'
9381
+ Connection:
9382
+ - Keep-Alive
9383
+ body:
9384
+ encoding: UTF-8
9385
+ string: |-
9386
+ {
9387
+ "id": 277,
9388
+ "text": "Do you like poptarts?",
9389
+ "type": "boolean",
9390
+ "responses": [
9391
+ "t",
9392
+ "f"
9393
+ ],
9394
+ "answer": null,
9395
+ "freeform": false,
9396
+ "_links": {
9397
+ "self": {
9398
+ "href": "http://localhost:3000/api/surveys/192/survey_questions/277"
9399
+ },
9400
+ "post": {
9401
+ "href": "http://localhost:3000/api/surveys/192/survey_questions"
9402
+ },
9403
+ "put": {
9404
+ "href": "http://localhost:3000/api/surveys/192/survey_questions/277"
9405
+ },
9406
+ "survey": {
9407
+ "href": "http://localhost:3000/api/surveys/192"
9408
+ }
9409
+ },
9410
+ "created_at": "2014-10-25T17:45:48.726Z"
9411
+ }
9412
+ http_version:
9413
+ recorded_at: Sat, 25 Oct 2014 17:45:48 GMT
9414
+ - request:
9415
+ method: put
9416
+ uri: http://localhost:3000/api/surveys/191/survey_questions/276
9417
+ body:
9418
+ encoding: UTF-8
9419
+ string: '{"id":276,"survey_question":{"answer":true}}'
9420
+ headers:
9421
+ User-Agent:
9422
+ - Faraday v0.9.0
9423
+ Content-Type:
9424
+ - application/json
9425
+ Api-Token:
9426
+ - testing
9427
+ User-Token:
9428
+ - 68e8575008e75611c5df4a8b5ae709e44f53228733aa24d87dfbd68c4bd5901d
9429
+ Service-User-Id:
9430
+ - f74bf991c9703ab84cf946be3e26d1497b9c5dee7cee626a4dd2c80fdaa7a855
9431
+ Accept-Encoding:
9432
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9433
+ Accept:
9434
+ - "*/*"
9435
+ response:
9436
+ status:
9437
+ code: 204
9438
+ message: 'No Content '
9439
+ headers:
9440
+ X-Frame-Options:
9441
+ - SAMEORIGIN
9442
+ X-Xss-Protection:
9443
+ - 1; mode=block
9444
+ X-Content-Type-Options:
9445
+ - nosniff
9446
+ X-Ua-Compatible:
9447
+ - chrome=1
9448
+ Cache-Control:
9449
+ - no-cache
9450
+ X-Request-Id:
9451
+ - 4f0127bb-2970-489e-848c-4f13cd0aa4c3
9452
+ X-Runtime:
9453
+ - '0.013744'
9454
+ Server:
9455
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9456
+ Date:
9457
+ - Sat, 25 Oct 2014 17:45:48 GMT
9458
+ Connection:
9459
+ - Keep-Alive
9460
+ body:
9461
+ encoding: UTF-8
9462
+ string: ''
9463
+ http_version:
9464
+ recorded_at: Sat, 25 Oct 2014 17:45:48 GMT
9465
+ - request:
9466
+ method: put
9467
+ uri: http://localhost:3000/api/surveys/192/survey_questions/277
9468
+ body:
9469
+ encoding: UTF-8
9470
+ string: '{"id":277,"survey_question":{"answer":false}}'
9471
+ headers:
9472
+ User-Agent:
9473
+ - Faraday v0.9.0
9474
+ Content-Type:
9475
+ - application/json
9476
+ Api-Token:
9477
+ - testing
9478
+ User-Token:
9479
+ - 68e8575008e75611c5df4a8b5ae709e44f53228733aa24d87dfbd68c4bd5901d
9480
+ Service-User-Id:
9481
+ - f74bf991c9703ab84cf946be3e26d1497b9c5dee7cee626a4dd2c80fdaa7a855
9482
+ Accept-Encoding:
9483
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9484
+ Accept:
9485
+ - "*/*"
9486
+ response:
9487
+ status:
9488
+ code: 204
9489
+ message: 'No Content '
9490
+ headers:
9491
+ X-Frame-Options:
9492
+ - SAMEORIGIN
9493
+ X-Xss-Protection:
9494
+ - 1; mode=block
9495
+ X-Content-Type-Options:
9496
+ - nosniff
9497
+ X-Ua-Compatible:
9498
+ - chrome=1
9499
+ Cache-Control:
9500
+ - no-cache
9501
+ X-Request-Id:
9502
+ - fb6188f8-6e81-427d-84f2-2a8ab9101cdd
9503
+ X-Runtime:
9504
+ - '0.012077'
9505
+ Server:
9506
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9507
+ Date:
9508
+ - Sat, 25 Oct 2014 17:45:48 GMT
9509
+ Connection:
9510
+ - Keep-Alive
9511
+ body:
9512
+ encoding: UTF-8
9513
+ string: ''
9514
+ http_version:
9515
+ recorded_at: Sat, 25 Oct 2014 17:45:48 GMT
9516
+ - request:
9517
+ method: post
9518
+ uri: http://localhost:3000/api/surveys/193/survey_questions
9519
+ body:
9520
+ encoding: UTF-8
9521
+ string: '{"survey_question":{"question_id":131}}'
9522
+ headers:
9523
+ User-Agent:
9524
+ - Faraday v0.9.0
9525
+ Content-Type:
9526
+ - application/json
9527
+ Api-Token:
9528
+ - testing
9529
+ User-Token:
9530
+ - c8842d36e5666fc97cbe15a50faca277a4cf9b868793a5951502a734522b8a2f
9531
+ Service-User-Id:
9532
+ - 5e937a19844717c6957689fc2c786edf9bfe49ccc4277984574af091f012904b
9533
+ Accept-Encoding:
9534
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9535
+ Accept:
9536
+ - "*/*"
9537
+ response:
9538
+ status:
9539
+ code: 201
9540
+ message: 'Created '
9541
+ headers:
9542
+ X-Frame-Options:
9543
+ - SAMEORIGIN
9544
+ X-Xss-Protection:
9545
+ - 1; mode=block
9546
+ X-Content-Type-Options:
9547
+ - nosniff
9548
+ X-Ua-Compatible:
9549
+ - chrome=1
9550
+ Content-Type:
9551
+ - application/json; charset=utf-8
9552
+ Etag:
9553
+ - '"28f8d79aa1dc49ee19d82f457152450d"'
9554
+ Cache-Control:
9555
+ - max-age=0, private, must-revalidate
9556
+ X-Request-Id:
9557
+ - 019b3e31-d9a5-426a-9b38-be5908d4646f
9558
+ X-Runtime:
9559
+ - '0.015809'
9560
+ Server:
9561
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9562
+ Date:
9563
+ - Sat, 25 Oct 2014 17:46:15 GMT
9564
+ Content-Length:
9565
+ - '571'
9566
+ Connection:
9567
+ - Keep-Alive
9568
+ body:
9569
+ encoding: UTF-8
9570
+ string: |-
9571
+ {
9572
+ "id": 278,
9573
+ "text": "Do you like poptarts?",
9574
+ "type": "boolean",
9575
+ "responses": [
9576
+ "t",
9577
+ "f"
9578
+ ],
9579
+ "answer": null,
9580
+ "freeform": false,
9581
+ "_links": {
9582
+ "self": {
9583
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/278"
9584
+ },
9585
+ "post": {
9586
+ "href": "http://localhost:3000/api/surveys/193/survey_questions"
9587
+ },
9588
+ "put": {
9589
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/278"
9590
+ },
9591
+ "survey": {
9592
+ "href": "http://localhost:3000/api/surveys/193"
9593
+ }
9594
+ },
9595
+ "created_at": "2014-10-25T17:46:15.048Z"
9596
+ }
9597
+ http_version:
9598
+ recorded_at: Sat, 25 Oct 2014 17:46:15 GMT
9599
+ - request:
9600
+ method: post
9601
+ uri: http://localhost:3000/api/surveys/194/survey_questions
9602
+ body:
9603
+ encoding: UTF-8
9604
+ string: '{"survey_question":{"question_id":131}}'
9605
+ headers:
9606
+ User-Agent:
9607
+ - Faraday v0.9.0
9608
+ Content-Type:
9609
+ - application/json
9610
+ Api-Token:
9611
+ - testing
9612
+ User-Token:
9613
+ - c8842d36e5666fc97cbe15a50faca277a4cf9b868793a5951502a734522b8a2f
9614
+ Service-User-Id:
9615
+ - 5e937a19844717c6957689fc2c786edf9bfe49ccc4277984574af091f012904b
9616
+ Accept-Encoding:
9617
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9618
+ Accept:
9619
+ - "*/*"
9620
+ response:
9621
+ status:
9622
+ code: 201
9623
+ message: 'Created '
9624
+ headers:
9625
+ X-Frame-Options:
9626
+ - SAMEORIGIN
9627
+ X-Xss-Protection:
9628
+ - 1; mode=block
9629
+ X-Content-Type-Options:
9630
+ - nosniff
9631
+ X-Ua-Compatible:
9632
+ - chrome=1
9633
+ Content-Type:
9634
+ - application/json; charset=utf-8
9635
+ Etag:
9636
+ - '"42aef16309315b60d27bb49af82768f1"'
9637
+ Cache-Control:
9638
+ - max-age=0, private, must-revalidate
9639
+ X-Request-Id:
9640
+ - a8abc60a-fd39-4239-9b28-132c9ed169cd
9641
+ X-Runtime:
9642
+ - '0.011367'
9643
+ Server:
9644
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9645
+ Date:
9646
+ - Sat, 25 Oct 2014 17:46:15 GMT
9647
+ Content-Length:
9648
+ - '571'
9649
+ Connection:
9650
+ - Keep-Alive
9651
+ body:
9652
+ encoding: UTF-8
9653
+ string: |-
9654
+ {
9655
+ "id": 279,
9656
+ "text": "Do you like poptarts?",
9657
+ "type": "boolean",
9658
+ "responses": [
9659
+ "t",
9660
+ "f"
9661
+ ],
9662
+ "answer": null,
9663
+ "freeform": false,
9664
+ "_links": {
9665
+ "self": {
9666
+ "href": "http://localhost:3000/api/surveys/194/survey_questions/279"
9667
+ },
9668
+ "post": {
9669
+ "href": "http://localhost:3000/api/surveys/194/survey_questions"
9670
+ },
9671
+ "put": {
9672
+ "href": "http://localhost:3000/api/surveys/194/survey_questions/279"
9673
+ },
9674
+ "survey": {
9675
+ "href": "http://localhost:3000/api/surveys/194"
9676
+ }
9677
+ },
9678
+ "created_at": "2014-10-25T17:46:15.086Z"
9679
+ }
9680
+ http_version:
9681
+ recorded_at: Sat, 25 Oct 2014 17:46:15 GMT
9682
+ - request:
9683
+ method: put
9684
+ uri: http://localhost:3000/api/surveys/193/survey_questions/278
9685
+ body:
9686
+ encoding: UTF-8
9687
+ string: '{"id":278,"survey_question":{"answer":true}}'
9688
+ headers:
9689
+ User-Agent:
9690
+ - Faraday v0.9.0
9691
+ Content-Type:
9692
+ - application/json
9693
+ Api-Token:
9694
+ - testing
9695
+ User-Token:
9696
+ - c8842d36e5666fc97cbe15a50faca277a4cf9b868793a5951502a734522b8a2f
9697
+ Service-User-Id:
9698
+ - 5e937a19844717c6957689fc2c786edf9bfe49ccc4277984574af091f012904b
9699
+ Accept-Encoding:
9700
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9701
+ Accept:
9702
+ - "*/*"
9703
+ response:
9704
+ status:
9705
+ code: 204
9706
+ message: 'No Content '
9707
+ headers:
9708
+ X-Frame-Options:
9709
+ - SAMEORIGIN
9710
+ X-Xss-Protection:
9711
+ - 1; mode=block
9712
+ X-Content-Type-Options:
9713
+ - nosniff
9714
+ X-Ua-Compatible:
9715
+ - chrome=1
9716
+ Cache-Control:
9717
+ - no-cache
9718
+ X-Request-Id:
9719
+ - af53bbf2-0259-40f9-8213-88f482399ff0
9720
+ X-Runtime:
9721
+ - '0.010887'
9722
+ Server:
9723
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9724
+ Date:
9725
+ - Sat, 25 Oct 2014 17:46:15 GMT
9726
+ Connection:
9727
+ - Keep-Alive
9728
+ body:
9729
+ encoding: UTF-8
9730
+ string: ''
9731
+ http_version:
9732
+ recorded_at: Sat, 25 Oct 2014 17:46:15 GMT
9733
+ - request:
9734
+ method: put
9735
+ uri: http://localhost:3000/api/surveys/194/survey_questions/279
9736
+ body:
9737
+ encoding: UTF-8
9738
+ string: '{"id":279,"survey_question":{"answer":false}}'
9739
+ headers:
9740
+ User-Agent:
9741
+ - Faraday v0.9.0
9742
+ Content-Type:
9743
+ - application/json
9744
+ Api-Token:
9745
+ - testing
9746
+ User-Token:
9747
+ - c8842d36e5666fc97cbe15a50faca277a4cf9b868793a5951502a734522b8a2f
9748
+ Service-User-Id:
9749
+ - 5e937a19844717c6957689fc2c786edf9bfe49ccc4277984574af091f012904b
9750
+ Accept-Encoding:
9751
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9752
+ Accept:
9753
+ - "*/*"
9754
+ response:
9755
+ status:
9756
+ code: 204
9757
+ message: 'No Content '
9758
+ headers:
9759
+ X-Frame-Options:
9760
+ - SAMEORIGIN
9761
+ X-Xss-Protection:
9762
+ - 1; mode=block
9763
+ X-Content-Type-Options:
9764
+ - nosniff
9765
+ X-Ua-Compatible:
9766
+ - chrome=1
9767
+ Cache-Control:
9768
+ - no-cache
9769
+ X-Request-Id:
9770
+ - 88b76bf5-8724-413e-b14f-3e198efc616a
9771
+ X-Runtime:
9772
+ - '0.012714'
9773
+ Server:
9774
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9775
+ Date:
9776
+ - Sat, 25 Oct 2014 17:46:15 GMT
9777
+ Connection:
9778
+ - Keep-Alive
9779
+ body:
9780
+ encoding: UTF-8
9781
+ string: ''
9782
+ http_version:
9783
+ recorded_at: Sat, 25 Oct 2014 17:46:15 GMT
8980
9784
  - request:
8981
9785
  method: post
8982
9786
  uri: http://localhost:3000/api/questions
@@ -9015,17 +9819,17 @@ http_interactions:
9015
9819
  Content-Type:
9016
9820
  - application/json; charset=utf-8
9017
9821
  Etag:
9018
- - '"00c4e2b79f1b7d9367b0b98619c59386"'
9822
+ - '"9bcf6d160c2bd5b6e1e1267e20211f1f"'
9019
9823
  Cache-Control:
9020
9824
  - max-age=0, private, must-revalidate
9021
9825
  X-Request-Id:
9022
- - ca24d43f-7072-4333-8b20-31faa14b2ae1
9826
+ - 05b0ea27-5549-4051-82ef-7da12b49e024
9023
9827
  X-Runtime:
9024
- - '0.007519'
9828
+ - '0.051019'
9025
9829
  Server:
9026
9830
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9027
9831
  Date:
9028
- - Sat, 18 Oct 2014 17:30:44 GMT
9832
+ - Sat, 25 Oct 2014 17:46:30 GMT
9029
9833
  Content-Length:
9030
9834
  - '227'
9031
9835
  Connection:
@@ -9034,7 +9838,7 @@ http_interactions:
9034
9838
  encoding: UTF-8
9035
9839
  string: |-
9036
9840
  {
9037
- "id": 126,
9841
+ "id": 132,
9038
9842
  "question_type": "boolean",
9039
9843
  "text": "Do you like poptarts?",
9040
9844
  "responses": [
@@ -9047,7 +9851,7 @@ http_interactions:
9047
9851
  "key": "testingooptarts"
9048
9852
  }
9049
9853
  http_version:
9050
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
9854
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9051
9855
  - request:
9052
9856
  method: post
9053
9857
  uri: http://localhost:3000/api/users
@@ -9085,17 +9889,17 @@ http_interactions:
9085
9889
  Content-Type:
9086
9890
  - application/json; charset=utf-8
9087
9891
  Etag:
9088
- - '"6b28c257656ca8d458c4e751dc5eca7a"'
9892
+ - '"ea5a23890141f3337edaa6a6fcba6a7a"'
9089
9893
  Cache-Control:
9090
9894
  - max-age=0, private, must-revalidate
9091
9895
  X-Request-Id:
9092
- - 8c561076-40b3-48f4-b4dd-500ec750b96a
9896
+ - ae7f8a74-db49-4de1-aac2-d17afd2a22b1
9093
9897
  X-Runtime:
9094
- - '0.007589'
9898
+ - '0.024557'
9095
9899
  Server:
9096
9900
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9097
9901
  Date:
9098
- - Sat, 18 Oct 2014 17:30:44 GMT
9902
+ - Sat, 25 Oct 2014 17:46:30 GMT
9099
9903
  Content-Length:
9100
9904
  - '261'
9101
9905
  Connection:
@@ -9104,22 +9908,22 @@ http_interactions:
9104
9908
  encoding: UTF-8
9105
9909
  string: |-
9106
9910
  {
9107
- "service_user_id": "0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05",
9911
+ "service_user_id": "9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4",
9108
9912
  "_links": {
9109
9913
  "self": {
9110
- "href": "http://localhost:3000/api/users/150"
9914
+ "href": "http://localhost:3000/api/users/160"
9111
9915
  }
9112
9916
  },
9113
- "token": "79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab"
9917
+ "token": "78758fa0b6cbc73f43f7c185d630d53cf7bd6c4020069b3f381b4a7a7908b55e"
9114
9918
  }
9115
9919
  http_version:
9116
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
9920
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9117
9921
  - request:
9118
9922
  method: post
9119
9923
  uri: http://localhost:3000/api/surveys
9120
9924
  body:
9121
9925
  encoding: UTF-8
9122
- string: '{"survey":{"service_user_id":"0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05"}}'
9926
+ string: '{"survey":{"service_user_id":"9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4"}}'
9123
9927
  headers:
9124
9928
  User-Agent:
9125
9929
  - Faraday v0.9.0
@@ -9128,9 +9932,9 @@ http_interactions:
9128
9932
  Api-Token:
9129
9933
  - testing
9130
9934
  User-Token:
9131
- - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
9935
+ - 78758fa0b6cbc73f43f7c185d630d53cf7bd6c4020069b3f381b4a7a7908b55e
9132
9936
  Service-User-Id:
9133
- - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
9937
+ - 9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4
9134
9938
  Accept-Encoding:
9135
9939
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9136
9940
  Accept:
@@ -9151,17 +9955,17 @@ http_interactions:
9151
9955
  Content-Type:
9152
9956
  - application/json; charset=utf-8
9153
9957
  Etag:
9154
- - '"e61d7e6bf0ffebb01f613e8c03531a1a"'
9958
+ - '"4b6dc65b7750de6115be07dbf5cb791d"'
9155
9959
  Cache-Control:
9156
9960
  - max-age=0, private, must-revalidate
9157
9961
  X-Request-Id:
9158
- - da0a3e4b-fcfd-4c2d-b34f-bde390f43e78
9962
+ - 28a6b0b5-8041-4d1e-b6d4-6b41b3107168
9159
9963
  X-Runtime:
9160
- - '0.035492'
9964
+ - '0.031234'
9161
9965
  Server:
9162
9966
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9163
9967
  Date:
9164
- - Sat, 18 Oct 2014 17:30:44 GMT
9968
+ - Sat, 25 Oct 2014 17:46:30 GMT
9165
9969
  Content-Length:
9166
9970
  - '476'
9167
9971
  Connection:
@@ -9170,18 +9974,18 @@ http_interactions:
9170
9974
  encoding: UTF-8
9171
9975
  string: |-
9172
9976
  {
9173
- "id": 186,
9174
- "service_user_id": "0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05",
9977
+ "id": 195,
9978
+ "service_user_id": "9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4",
9175
9979
  "_links": {
9176
9980
  "self": {
9177
- "href": "http://localhost:3000/api/surveys/186"
9981
+ "href": "http://localhost:3000/api/surveys/195"
9178
9982
  },
9179
9983
  "survey_questions": {
9180
9984
  "post": {
9181
- "href": "http://localhost:3000/api/surveys/186/survey_questions"
9985
+ "href": "http://localhost:3000/api/surveys/195/survey_questions"
9182
9986
  },
9183
9987
  "put": {
9184
- "href": "http://localhost:3000/api/surveys/186/survey_questions"
9988
+ "href": "http://localhost:3000/api/surveys/195/survey_questions"
9185
9989
  }
9186
9990
  }
9187
9991
  },
@@ -9191,13 +9995,13 @@ http_interactions:
9191
9995
  ]
9192
9996
  }
9193
9997
  http_version:
9194
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
9998
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9195
9999
  - request:
9196
10000
  method: post
9197
- uri: http://localhost:3000/api/surveys/186/survey_questions
10001
+ uri: http://localhost:3000/api/surveys/195/survey_questions
9198
10002
  body:
9199
10003
  encoding: UTF-8
9200
- string: '{"survey_question":{"question_id":126}}'
10004
+ string: '{"survey_question":{"question_id":132}}'
9201
10005
  headers:
9202
10006
  User-Agent:
9203
10007
  - Faraday v0.9.0
@@ -9206,9 +10010,9 @@ http_interactions:
9206
10010
  Api-Token:
9207
10011
  - testing
9208
10012
  User-Token:
9209
- - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
10013
+ - 78758fa0b6cbc73f43f7c185d630d53cf7bd6c4020069b3f381b4a7a7908b55e
9210
10014
  Service-User-Id:
9211
- - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
10015
+ - 9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4
9212
10016
  Accept-Encoding:
9213
10017
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9214
10018
  Accept:
@@ -9229,26 +10033,26 @@ http_interactions:
9229
10033
  Content-Type:
9230
10034
  - application/json; charset=utf-8
9231
10035
  Etag:
9232
- - '"b673ccea86fd971d9f20458f0733abd9"'
10036
+ - '"30c40f43d2f2bf056d29a688c4650f42"'
9233
10037
  Cache-Control:
9234
10038
  - max-age=0, private, must-revalidate
9235
10039
  X-Request-Id:
9236
- - 8589b89f-31b4-41c1-8ca3-0a79fe701949
10040
+ - 2b0a6ebe-0e58-4fef-b866-6d6b53d59b89
9237
10041
  X-Runtime:
9238
- - '0.015804'
10042
+ - '0.024571'
9239
10043
  Server:
9240
10044
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9241
10045
  Date:
9242
- - Sat, 18 Oct 2014 17:30:44 GMT
10046
+ - Sat, 25 Oct 2014 17:46:30 GMT
9243
10047
  Content-Length:
9244
- - '571'
10048
+ - '599'
9245
10049
  Connection:
9246
10050
  - Keep-Alive
9247
10051
  body:
9248
10052
  encoding: UTF-8
9249
10053
  string: |-
9250
10054
  {
9251
- "id": 269,
10055
+ "id": 280,
9252
10056
  "text": "Do you like poptarts?",
9253
10057
  "type": "boolean",
9254
10058
  "responses": [
@@ -9259,28 +10063,29 @@ http_interactions:
9259
10063
  "freeform": false,
9260
10064
  "_links": {
9261
10065
  "self": {
9262
- "href": "http://localhost:3000/api/surveys/186/survey_questions/269"
10066
+ "href": "http://localhost:3000/api/surveys/195/survey_questions/280"
9263
10067
  },
9264
10068
  "post": {
9265
- "href": "http://localhost:3000/api/surveys/186/survey_questions"
10069
+ "href": "http://localhost:3000/api/surveys/195/survey_questions"
9266
10070
  },
9267
10071
  "put": {
9268
- "href": "http://localhost:3000/api/surveys/186/survey_questions/269"
10072
+ "href": "http://localhost:3000/api/surveys/195/survey_questions/280"
9269
10073
  },
9270
10074
  "survey": {
9271
- "href": "http://localhost:3000/api/surveys/186"
10075
+ "href": "http://localhost:3000/api/surveys/195"
9272
10076
  }
9273
10077
  },
9274
- "created_at": "2014-10-18T17:30:44.637Z"
10078
+ "created_at": "2014-10-25T17:46:30.299Z",
10079
+ "key": "testingooptarts"
9275
10080
  }
9276
10081
  http_version:
9277
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
10082
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9278
10083
  - request:
9279
10084
  method: post
9280
10085
  uri: http://localhost:3000/api/surveys
9281
10086
  body:
9282
10087
  encoding: UTF-8
9283
- string: '{"survey":{"service_user_id":"0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05"}}'
10088
+ string: '{"survey":{"service_user_id":"9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4"}}'
9284
10089
  headers:
9285
10090
  User-Agent:
9286
10091
  - Faraday v0.9.0
@@ -9289,9 +10094,9 @@ http_interactions:
9289
10094
  Api-Token:
9290
10095
  - testing
9291
10096
  User-Token:
9292
- - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
10097
+ - 78758fa0b6cbc73f43f7c185d630d53cf7bd6c4020069b3f381b4a7a7908b55e
9293
10098
  Service-User-Id:
9294
- - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
10099
+ - 9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4
9295
10100
  Accept-Encoding:
9296
10101
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9297
10102
  Accept:
@@ -9312,17 +10117,17 @@ http_interactions:
9312
10117
  Content-Type:
9313
10118
  - application/json; charset=utf-8
9314
10119
  Etag:
9315
- - '"ff8691d7cc2a4e7fbe4f455700b62a33"'
10120
+ - '"1cca18ea2d28e4bc8e8cc40cb05bfd25"'
9316
10121
  Cache-Control:
9317
10122
  - max-age=0, private, must-revalidate
9318
10123
  X-Request-Id:
9319
- - 3aaab540-8eef-4a62-aa37-7fc31f6e6b01
10124
+ - 5046382a-7e1e-4164-97d9-2a221b75efd9
9320
10125
  X-Runtime:
9321
- - '0.010871'
10126
+ - '0.011940'
9322
10127
  Server:
9323
10128
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9324
10129
  Date:
9325
- - Sat, 18 Oct 2014 17:30:44 GMT
10130
+ - Sat, 25 Oct 2014 17:46:30 GMT
9326
10131
  Content-Length:
9327
10132
  - '476'
9328
10133
  Connection:
@@ -9331,18 +10136,18 @@ http_interactions:
9331
10136
  encoding: UTF-8
9332
10137
  string: |-
9333
10138
  {
9334
- "id": 187,
9335
- "service_user_id": "0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05",
10139
+ "id": 196,
10140
+ "service_user_id": "9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4",
9336
10141
  "_links": {
9337
10142
  "self": {
9338
- "href": "http://localhost:3000/api/surveys/187"
10143
+ "href": "http://localhost:3000/api/surveys/196"
9339
10144
  },
9340
10145
  "survey_questions": {
9341
10146
  "post": {
9342
- "href": "http://localhost:3000/api/surveys/187/survey_questions"
10147
+ "href": "http://localhost:3000/api/surveys/196/survey_questions"
9343
10148
  },
9344
10149
  "put": {
9345
- "href": "http://localhost:3000/api/surveys/187/survey_questions"
10150
+ "href": "http://localhost:3000/api/surveys/196/survey_questions"
9346
10151
  }
9347
10152
  }
9348
10153
  },
@@ -9352,13 +10157,13 @@ http_interactions:
9352
10157
  ]
9353
10158
  }
9354
10159
  http_version:
9355
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
10160
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9356
10161
  - request:
9357
10162
  method: post
9358
- uri: http://localhost:3000/api/surveys/187/survey_questions
10163
+ uri: http://localhost:3000/api/surveys/196/survey_questions
9359
10164
  body:
9360
10165
  encoding: UTF-8
9361
- string: '{"survey_question":{"question_id":126}}'
10166
+ string: '{"survey_question":{"question_id":132}}'
9362
10167
  headers:
9363
10168
  User-Agent:
9364
10169
  - Faraday v0.9.0
@@ -9367,9 +10172,9 @@ http_interactions:
9367
10172
  Api-Token:
9368
10173
  - testing
9369
10174
  User-Token:
9370
- - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
10175
+ - 78758fa0b6cbc73f43f7c185d630d53cf7bd6c4020069b3f381b4a7a7908b55e
9371
10176
  Service-User-Id:
9372
- - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
10177
+ - 9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4
9373
10178
  Accept-Encoding:
9374
10179
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9375
10180
  Accept:
@@ -9390,26 +10195,26 @@ http_interactions:
9390
10195
  Content-Type:
9391
10196
  - application/json; charset=utf-8
9392
10197
  Etag:
9393
- - '"56b2013e2b798ef475d439572de342ef"'
10198
+ - '"b9fffcd9f7feef476ce251c809a69302"'
9394
10199
  Cache-Control:
9395
10200
  - max-age=0, private, must-revalidate
9396
10201
  X-Request-Id:
9397
- - 2ff012c3-d6c8-4e03-b462-2caf8f7f3871
10202
+ - 6eb4a81d-8fb6-479d-bc1b-81bf466eda28
9398
10203
  X-Runtime:
9399
- - '0.012672'
10204
+ - '0.015721'
9400
10205
  Server:
9401
10206
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9402
10207
  Date:
9403
- - Sat, 18 Oct 2014 17:30:44 GMT
10208
+ - Sat, 25 Oct 2014 17:46:30 GMT
9404
10209
  Content-Length:
9405
- - '571'
10210
+ - '599'
9406
10211
  Connection:
9407
10212
  - Keep-Alive
9408
10213
  body:
9409
10214
  encoding: UTF-8
9410
10215
  string: |-
9411
10216
  {
9412
- "id": 270,
10217
+ "id": 281,
9413
10218
  "text": "Do you like poptarts?",
9414
10219
  "type": "boolean",
9415
10220
  "responses": [
@@ -9420,28 +10225,29 @@ http_interactions:
9420
10225
  "freeform": false,
9421
10226
  "_links": {
9422
10227
  "self": {
9423
- "href": "http://localhost:3000/api/surveys/187/survey_questions/270"
10228
+ "href": "http://localhost:3000/api/surveys/196/survey_questions/281"
9424
10229
  },
9425
10230
  "post": {
9426
- "href": "http://localhost:3000/api/surveys/187/survey_questions"
10231
+ "href": "http://localhost:3000/api/surveys/196/survey_questions"
9427
10232
  },
9428
10233
  "put": {
9429
- "href": "http://localhost:3000/api/surveys/187/survey_questions/270"
10234
+ "href": "http://localhost:3000/api/surveys/196/survey_questions/281"
9430
10235
  },
9431
10236
  "survey": {
9432
- "href": "http://localhost:3000/api/surveys/187"
10237
+ "href": "http://localhost:3000/api/surveys/196"
9433
10238
  }
9434
10239
  },
9435
- "created_at": "2014-10-18T17:30:44.702Z"
10240
+ "created_at": "2014-10-25T17:46:30.337Z",
10241
+ "key": "testingooptarts"
9436
10242
  }
9437
10243
  http_version:
9438
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
10244
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9439
10245
  - request:
9440
10246
  method: put
9441
- uri: http://localhost:3000/api/surveys/186/survey_questions/269
10247
+ uri: http://localhost:3000/api/surveys/195/survey_questions/280
9442
10248
  body:
9443
10249
  encoding: UTF-8
9444
- string: '{"id":269,"survey_question":{"answer":true}}'
10250
+ string: '{"id":280,"survey_question":{"answer":true}}'
9445
10251
  headers:
9446
10252
  User-Agent:
9447
10253
  - Faraday v0.9.0
@@ -9450,9 +10256,9 @@ http_interactions:
9450
10256
  Api-Token:
9451
10257
  - testing
9452
10258
  User-Token:
9453
- - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
10259
+ - 78758fa0b6cbc73f43f7c185d630d53cf7bd6c4020069b3f381b4a7a7908b55e
9454
10260
  Service-User-Id:
9455
- - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
10261
+ - 9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4
9456
10262
  Accept-Encoding:
9457
10263
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9458
10264
  Accept:
@@ -9473,26 +10279,26 @@ http_interactions:
9473
10279
  Cache-Control:
9474
10280
  - no-cache
9475
10281
  X-Request-Id:
9476
- - e73b75fb-cffb-44fc-8d01-ea0d972e9c40
10282
+ - bd2c8c9d-c020-46d2-a2e8-7b43a93d6346
9477
10283
  X-Runtime:
9478
- - '0.015726'
10284
+ - '0.011729'
9479
10285
  Server:
9480
10286
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9481
10287
  Date:
9482
- - Sat, 18 Oct 2014 17:30:44 GMT
10288
+ - Sat, 25 Oct 2014 17:46:30 GMT
9483
10289
  Connection:
9484
10290
  - Keep-Alive
9485
10291
  body:
9486
10292
  encoding: UTF-8
9487
10293
  string: ''
9488
10294
  http_version:
9489
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
10295
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9490
10296
  - request:
9491
10297
  method: put
9492
- uri: http://localhost:3000/api/surveys/187/survey_questions/270
10298
+ uri: http://localhost:3000/api/surveys/196/survey_questions/281
9493
10299
  body:
9494
10300
  encoding: UTF-8
9495
- string: '{"id":270,"survey_question":{"answer":false}}'
10301
+ string: '{"id":281,"survey_question":{"answer":false}}'
9496
10302
  headers:
9497
10303
  User-Agent:
9498
10304
  - Faraday v0.9.0
@@ -9501,9 +10307,9 @@ http_interactions:
9501
10307
  Api-Token:
9502
10308
  - testing
9503
10309
  User-Token:
9504
- - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
10310
+ - 78758fa0b6cbc73f43f7c185d630d53cf7bd6c4020069b3f381b4a7a7908b55e
9505
10311
  Service-User-Id:
9506
- - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
10312
+ - 9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4
9507
10313
  Accept-Encoding:
9508
10314
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9509
10315
  Accept:
@@ -9524,20 +10330,20 @@ http_interactions:
9524
10330
  Cache-Control:
9525
10331
  - no-cache
9526
10332
  X-Request-Id:
9527
- - 41a37992-6353-49cf-b6bb-4e7b78ed04bd
10333
+ - be666ddc-b62c-4a8e-abe8-cd7e153e9acf
9528
10334
  X-Runtime:
9529
- - '0.010537'
10335
+ - '0.010861'
9530
10336
  Server:
9531
10337
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9532
10338
  Date:
9533
- - Sat, 18 Oct 2014 17:30:44 GMT
10339
+ - Sat, 25 Oct 2014 17:46:30 GMT
9534
10340
  Connection:
9535
10341
  - Keep-Alive
9536
10342
  body:
9537
10343
  encoding: UTF-8
9538
10344
  string: ''
9539
10345
  http_version:
9540
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
10346
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9541
10347
  - request:
9542
10348
  method: get
9543
10349
  uri: http://localhost:3000/api/questions/testingooptarts/survey_questions
@@ -9552,9 +10358,9 @@ http_interactions:
9552
10358
  Api-Token:
9553
10359
  - testing
9554
10360
  User-Token:
9555
- - 79d638f50b633871f48db1bf89a367c13fa838cc79b665c0f82ffc28fcf2d1ab
10361
+ - 78758fa0b6cbc73f43f7c185d630d53cf7bd6c4020069b3f381b4a7a7908b55e
9556
10362
  Service-User-Id:
9557
- - 0cc711f2486004185fe85b93f829074b225b46a616d10cb2d5c9f15329c22e05
10363
+ - 9d37fe86d9f38d0ec2fcfa66b2eac63fe146fb926bf193e95d9f8edafd5303c4
9558
10364
  Accept-Encoding:
9559
10365
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
9560
10366
  Accept:
@@ -9575,19 +10381,19 @@ http_interactions:
9575
10381
  Content-Type:
9576
10382
  - application/json; charset=utf-8
9577
10383
  Etag:
9578
- - '"b63cae22484e016b6c9ed669090e56ef"'
10384
+ - '"dad5d7a8f0d77ca0ffeba3d1be3561d9"'
9579
10385
  Cache-Control:
9580
10386
  - max-age=0, private, must-revalidate
9581
10387
  X-Request-Id:
9582
- - 2a487380-822d-44d5-9992-5ae55cf21106
10388
+ - 84a24b24-5ca2-46e0-b677-3374cec365e3
9583
10389
  X-Runtime:
9584
- - '0.013948'
10390
+ - '0.029506'
9585
10391
  Server:
9586
10392
  - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
9587
10393
  Date:
9588
- - Sat, 18 Oct 2014 17:30:44 GMT
10394
+ - Sat, 25 Oct 2014 17:46:30 GMT
9589
10395
  Content-Length:
9590
- - '1382'
10396
+ - '1446'
9591
10397
  Connection:
9592
10398
  - Keep-Alive
9593
10399
  body:
@@ -9596,7 +10402,7 @@ http_interactions:
9596
10402
  {
9597
10403
  "survey_questions": [
9598
10404
  {
9599
- "id": 269,
10405
+ "id": 280,
9600
10406
  "text": "Do you like poptarts?",
9601
10407
  "type": "boolean",
9602
10408
  "responses": [
@@ -9607,22 +10413,23 @@ http_interactions:
9607
10413
  "freeform": false,
9608
10414
  "_links": {
9609
10415
  "self": {
9610
- "href": "http://localhost:3000/api/surveys/186/survey_questions/269"
10416
+ "href": "http://localhost:3000/api/surveys/195/survey_questions/280"
9611
10417
  },
9612
10418
  "post": {
9613
- "href": "http://localhost:3000/api/surveys/186/survey_questions"
10419
+ "href": "http://localhost:3000/api/surveys/195/survey_questions"
9614
10420
  },
9615
10421
  "put": {
9616
- "href": "http://localhost:3000/api/surveys/186/survey_questions/269"
10422
+ "href": "http://localhost:3000/api/surveys/195/survey_questions/280"
9617
10423
  },
9618
10424
  "survey": {
9619
- "href": "http://localhost:3000/api/surveys/186"
10425
+ "href": "http://localhost:3000/api/surveys/195"
9620
10426
  }
9621
10427
  },
9622
- "created_at": "2014-10-18T17:30:44.637Z"
10428
+ "created_at": "2014-10-25T17:46:30.299Z",
10429
+ "key": "testingooptarts"
9623
10430
  },
9624
10431
  {
9625
- "id": 270,
10432
+ "id": 281,
9626
10433
  "text": "Do you like poptarts?",
9627
10434
  "type": "boolean",
9628
10435
  "responses": [
@@ -9633,22 +10440,23 @@ http_interactions:
9633
10440
  "freeform": false,
9634
10441
  "_links": {
9635
10442
  "self": {
9636
- "href": "http://localhost:3000/api/surveys/187/survey_questions/270"
10443
+ "href": "http://localhost:3000/api/surveys/196/survey_questions/281"
9637
10444
  },
9638
10445
  "post": {
9639
- "href": "http://localhost:3000/api/surveys/187/survey_questions"
10446
+ "href": "http://localhost:3000/api/surveys/196/survey_questions"
9640
10447
  },
9641
10448
  "put": {
9642
- "href": "http://localhost:3000/api/surveys/187/survey_questions/270"
10449
+ "href": "http://localhost:3000/api/surveys/196/survey_questions/281"
9643
10450
  },
9644
10451
  "survey": {
9645
- "href": "http://localhost:3000/api/surveys/187"
10452
+ "href": "http://localhost:3000/api/surveys/196"
9646
10453
  }
9647
10454
  },
9648
- "created_at": "2014-10-18T17:30:44.702Z"
10455
+ "created_at": "2014-10-25T17:46:30.337Z",
10456
+ "key": "testingooptarts"
9649
10457
  }
9650
10458
  ]
9651
10459
  }
9652
10460
  http_version:
9653
- recorded_at: Sat, 18 Oct 2014 17:30:44 GMT
10461
+ recorded_at: Sat, 25 Oct 2014 17:46:30 GMT
9654
10462
  recorded_with: VCR 2.6.0