poptart 0.0.1 → 0.0.2

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.
@@ -452,6 +452,316 @@ http_interactions:
452
452
  }
453
453
  http_version:
454
454
  recorded_at: Mon, 26 May 2014 20:53:53 GMT
455
+ - request:
456
+ method: post
457
+ uri: http://localhost:3000/api/surveys/193/survey_questions
458
+ body:
459
+ encoding: UTF-8
460
+ string: '{"survey_question":{"question_id":9}}'
461
+ headers:
462
+ User-Agent:
463
+ - Faraday v0.9.0
464
+ Content-Type:
465
+ - application/json
466
+ Api-Token:
467
+ - testing
468
+ Accept-Encoding:
469
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
470
+ Accept:
471
+ - "*/*"
472
+ response:
473
+ status:
474
+ code: 201
475
+ message: 'Created '
476
+ headers:
477
+ X-Frame-Options:
478
+ - SAMEORIGIN
479
+ X-Xss-Protection:
480
+ - 1; mode=block
481
+ X-Content-Type-Options:
482
+ - nosniff
483
+ X-Ua-Compatible:
484
+ - chrome=1
485
+ Content-Type:
486
+ - application/json; charset=utf-8
487
+ Etag:
488
+ - '"b8955b885b4b7f97be496a48a7be4a5b"'
489
+ Cache-Control:
490
+ - max-age=0, private, must-revalidate
491
+ X-Request-Id:
492
+ - 677e3981-3ee8-4340-b76d-de49b8464d6c
493
+ X-Runtime:
494
+ - '0.019323'
495
+ Server:
496
+ - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
497
+ Date:
498
+ - Mon, 26 May 2014 20:54:17 GMT
499
+ Content-Length:
500
+ - '571'
501
+ Connection:
502
+ - Keep-Alive
503
+ body:
504
+ encoding: UTF-8
505
+ string: |-
506
+ {
507
+ "id": 675,
508
+ "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
509
+ "type": "boolean",
510
+ "responses": [
511
+ "t",
512
+ "f"
513
+ ],
514
+ "freeform": false,
515
+ "_links": {
516
+ "self": {
517
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
518
+ },
519
+ "survey": {
520
+ "href": "http://localhost:3000/api/surveys/193"
521
+ },
522
+ "create": {
523
+ "href": "http://localhost:3000/api/surveys/193/survey_questions"
524
+ },
525
+ "submit": {
526
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
527
+ }
528
+ }
529
+ }
530
+ http_version:
531
+ recorded_at: Mon, 26 May 2014 20:54:17 GMT
532
+ - request:
533
+ method: get
534
+ uri: http://localhost:3000/api/surveys/193
535
+ body:
536
+ encoding: US-ASCII
537
+ string: ''
538
+ headers:
539
+ User-Agent:
540
+ - Faraday v0.9.0
541
+ Content-Type:
542
+ - application/json
543
+ Api-Token:
544
+ - testing
545
+ Accept-Encoding:
546
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
547
+ Accept:
548
+ - "*/*"
549
+ response:
550
+ status:
551
+ code: 200
552
+ message: 'OK '
553
+ headers:
554
+ X-Frame-Options:
555
+ - SAMEORIGIN
556
+ X-Xss-Protection:
557
+ - 1; mode=block
558
+ X-Content-Type-Options:
559
+ - nosniff
560
+ X-Ua-Compatible:
561
+ - chrome=1
562
+ Content-Type:
563
+ - application/json; charset=utf-8
564
+ Etag:
565
+ - '"b5701c0481185b5b47f77a7e5925e825"'
566
+ Cache-Control:
567
+ - max-age=0, private, must-revalidate
568
+ X-Request-Id:
569
+ - f32a1d2a-f1d0-45ad-91b1-77085142ae51
570
+ X-Runtime:
571
+ - '0.020149'
572
+ Server:
573
+ - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
574
+ Date:
575
+ - Mon, 26 May 2014 20:54:17 GMT
576
+ Content-Length:
577
+ - '1013'
578
+ Connection:
579
+ - Keep-Alive
580
+ body:
581
+ encoding: UTF-8
582
+ string: |-
583
+ {
584
+ "id": 193,
585
+ "user_id": 239,
586
+ "survey_questions": [
587
+ {
588
+ "id": 675,
589
+ "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
590
+ "type": "boolean",
591
+ "responses": [
592
+ "t",
593
+ "f"
594
+ ],
595
+ "freeform": false,
596
+ "_links": {
597
+ "self": {
598
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
599
+ },
600
+ "survey": {
601
+ "href": "http://localhost:3000/api/surveys/193"
602
+ },
603
+ "create": {
604
+ "href": "http://localhost:3000/api/surveys/193/survey_questions"
605
+ },
606
+ "submit": {
607
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
608
+ }
609
+ }
610
+ }
611
+ ],
612
+ "_links": {
613
+ "self": {
614
+ "href": "http://localhost:3000/api/surveys/193"
615
+ },
616
+ "submit": {
617
+ "href": "http://localhost:3000/api/surveys/193/survey_questions"
618
+ },
619
+ "next": {
620
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
621
+ }
622
+ }
623
+ }
624
+ http_version:
625
+ recorded_at: Mon, 26 May 2014 20:54:17 GMT
626
+ - request:
627
+ method: put
628
+ uri: http://localhost:3000/api/surveys/193/survey_questions/675
629
+ body:
630
+ encoding: UTF-8
631
+ string: '{"id":675,"survey_question":{"answer":"true"}}'
632
+ headers:
633
+ User-Agent:
634
+ - Faraday v0.9.0
635
+ Content-Type:
636
+ - application/json
637
+ Api-Token:
638
+ - testing
639
+ Accept-Encoding:
640
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
641
+ Accept:
642
+ - "*/*"
643
+ response:
644
+ status:
645
+ code: 204
646
+ message: 'No Content '
647
+ headers:
648
+ X-Frame-Options:
649
+ - SAMEORIGIN
650
+ X-Xss-Protection:
651
+ - 1; mode=block
652
+ X-Content-Type-Options:
653
+ - nosniff
654
+ X-Ua-Compatible:
655
+ - chrome=1
656
+ Cache-Control:
657
+ - no-cache
658
+ X-Request-Id:
659
+ - cc7a73dc-7ab6-4be2-802d-a048c50ebc2c
660
+ X-Runtime:
661
+ - '0.009526'
662
+ Server:
663
+ - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
664
+ Date:
665
+ - Mon, 26 May 2014 20:54:17 GMT
666
+ Connection:
667
+ - Keep-Alive
668
+ body:
669
+ encoding: UTF-8
670
+ string: ''
671
+ http_version:
672
+ recorded_at: Mon, 26 May 2014 20:54:17 GMT
673
+ - request:
674
+ method: get
675
+ uri: http://localhost:3000/api/surveys/193
676
+ body:
677
+ encoding: US-ASCII
678
+ string: ''
679
+ headers:
680
+ User-Agent:
681
+ - Faraday v0.9.0
682
+ Content-Type:
683
+ - application/json
684
+ Api-Token:
685
+ - testing
686
+ Accept-Encoding:
687
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
688
+ Accept:
689
+ - "*/*"
690
+ response:
691
+ status:
692
+ code: 200
693
+ message: 'OK '
694
+ headers:
695
+ X-Frame-Options:
696
+ - SAMEORIGIN
697
+ X-Xss-Protection:
698
+ - 1; mode=block
699
+ X-Content-Type-Options:
700
+ - nosniff
701
+ X-Ua-Compatible:
702
+ - chrome=1
703
+ Content-Type:
704
+ - application/json; charset=utf-8
705
+ Etag:
706
+ - '"ef20da63db6f97098035a804db644d52"'
707
+ Cache-Control:
708
+ - max-age=0, private, must-revalidate
709
+ X-Request-Id:
710
+ - af8273a6-82dc-4727-a3f0-e54f49668528
711
+ X-Runtime:
712
+ - '0.019528'
713
+ Server:
714
+ - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
715
+ Date:
716
+ - Mon, 26 May 2014 20:54:17 GMT
717
+ Content-Length:
718
+ - '941'
719
+ Connection:
720
+ - Keep-Alive
721
+ body:
722
+ encoding: UTF-8
723
+ string: |-
724
+ {
725
+ "id": 193,
726
+ "user_id": 239,
727
+ "survey_questions": [
728
+ {
729
+ "id": 675,
730
+ "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
731
+ "type": "boolean",
732
+ "responses": [
733
+ "t",
734
+ "f"
735
+ ],
736
+ "answer": "true",
737
+ "freeform": false,
738
+ "_links": {
739
+ "self": {
740
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
741
+ },
742
+ "survey": {
743
+ "href": "http://localhost:3000/api/surveys/193"
744
+ },
745
+ "create": {
746
+ "href": "http://localhost:3000/api/surveys/193/survey_questions"
747
+ },
748
+ "submit": {
749
+ "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
750
+ }
751
+ }
752
+ }
753
+ ],
754
+ "_links": {
755
+ "self": {
756
+ "href": "http://localhost:3000/api/surveys/193"
757
+ },
758
+ "submit": {
759
+ "href": "http://localhost:3000/api/surveys/193/survey_questions"
760
+ }
761
+ }
762
+ }
763
+ http_version:
764
+ recorded_at: Mon, 26 May 2014 20:54:17 GMT
455
765
  - request:
456
766
  method: get
457
767
  uri: http://localhost:3000/
@@ -489,13 +799,13 @@ http_interactions:
489
799
  Cache-Control:
490
800
  - max-age=0, private, must-revalidate
491
801
  X-Request-Id:
492
- - d1dcad37-13ac-4bbe-abac-a58c98fc5a16
802
+ - 9a324988-4344-431b-8c54-67cbf18873e9
493
803
  X-Runtime:
494
- - '0.006919'
804
+ - '0.056897'
495
805
  Server:
496
806
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
497
807
  Date:
498
- - Mon, 26 May 2014 20:54:17 GMT
808
+ - Wed, 28 May 2014 23:42:05 GMT
499
809
  Content-Length:
500
810
  - '305'
501
811
  Connection:
@@ -520,7 +830,7 @@ http_interactions:
520
830
  }
521
831
  }
522
832
  http_version:
523
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
833
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
524
834
  - request:
525
835
  method: get
526
836
  uri: http://localhost:3000/api/questions
@@ -554,19 +864,19 @@ http_interactions:
554
864
  Content-Type:
555
865
  - application/json; charset=utf-8
556
866
  Etag:
557
- - '"431a273abcc40a3bb311bbe267ebed26"'
867
+ - '"30e99cf1968ef3f288f69e72516146dc"'
558
868
  Cache-Control:
559
869
  - max-age=0, private, must-revalidate
560
870
  X-Request-Id:
561
- - efe0ea24-a209-4bab-a600-6e9f35e326d1
871
+ - 95014bec-9d39-438b-ba6b-fef9edb57432
562
872
  X-Runtime:
563
- - '0.013290'
873
+ - '0.055484'
564
874
  Server:
565
875
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
566
876
  Date:
567
- - Mon, 26 May 2014 20:54:17 GMT
877
+ - Wed, 28 May 2014 23:42:05 GMT
568
878
  Content-Length:
569
- - '10868'
879
+ - '11655'
570
880
  Connection:
571
881
  - Keep-Alive
572
882
  body:
@@ -574,10 +884,10 @@ http_interactions:
574
884
  string: |-
575
885
  [
576
886
  {
577
- "id": 1,
887
+ "id": 65,
578
888
  "text": "How hungry or full are you right now?",
579
- "created_at": "2014-05-20T01:42:05.049Z",
580
- "updated_at": "2014-05-20T01:42:05.054Z",
889
+ "created_at": "2014-05-27T12:36:41.979Z",
890
+ "updated_at": "2014-05-27T12:36:41.987Z",
581
891
  "responses": [
582
892
  "Very hungry",
583
893
  "Somewhat hungry",
@@ -586,31 +896,34 @@ http_interactions:
586
896
  "Very full"
587
897
  ],
588
898
  "question_type": "multiple",
589
- "freeform": false
899
+ "freeform": false,
900
+ "always_show": null
590
901
  },
591
902
  {
592
- "id": 2,
903
+ "id": 66,
593
904
  "text": "What time did you wake up this morning?",
594
- "created_at": "2014-05-20T01:42:05.057Z",
595
- "updated_at": "2014-05-20T01:42:05.057Z",
905
+ "created_at": "2014-05-27T12:36:41.991Z",
906
+ "updated_at": "2014-05-27T12:36:41.991Z",
596
907
  "responses": null,
597
908
  "question_type": "time",
598
- "freeform": false
909
+ "freeform": false,
910
+ "always_show": null
599
911
  },
600
912
  {
601
- "id": 3,
913
+ "id": 67,
602
914
  "text": "What time did you got to sleep last night?",
603
- "created_at": "2014-05-20T01:42:05.059Z",
604
- "updated_at": "2014-05-20T01:42:05.059Z",
915
+ "created_at": "2014-05-27T12:36:41.993Z",
916
+ "updated_at": "2014-05-27T12:36:41.993Z",
605
917
  "responses": null,
606
918
  "question_type": "time",
607
- "freeform": false
919
+ "freeform": false,
920
+ "always_show": null
608
921
  },
609
922
  {
610
- "id": 4,
923
+ "id": 68,
611
924
  "text": "Are you judging or evaluating yourself right now (i.e. at the moment just before you were notified)?",
612
- "created_at": "2014-05-20T01:42:05.060Z",
613
- "updated_at": "2014-05-20T01:42:05.062Z",
925
+ "created_at": "2014-05-27T12:36:41.995Z",
926
+ "updated_at": "2014-05-27T12:36:41.996Z",
614
927
  "responses": [
615
928
  "f",
616
929
  "Yes - Negatively",
@@ -618,49 +931,53 @@ http_interactions:
618
931
  "Yes - Positively"
619
932
  ],
620
933
  "question_type": "multiple",
621
- "freeform": false
934
+ "freeform": false,
935
+ "always_show": null
622
936
  },
623
937
  {
624
- "id": 5,
938
+ "id": 69,
625
939
  "text": "How well did you sleep last night?",
626
- "created_at": "2014-05-20T01:42:05.064Z",
627
- "updated_at": "2014-05-20T01:42:05.065Z",
940
+ "created_at": "2014-05-27T12:36:41.998Z",
941
+ "updated_at": "2014-05-27T12:36:41.999Z",
628
942
  "responses": [
629
943
  "0",
630
944
  "10"
631
945
  ],
632
946
  "question_type": "range",
633
- "freeform": false
947
+ "freeform": false,
948
+ "always_show": null
634
949
  },
635
950
  {
636
- "id": 6,
951
+ "id": 70,
637
952
  "text": "To what extent are you engrossed in what you are doing?",
638
- "created_at": "2014-05-20T01:42:05.067Z",
639
- "updated_at": "2014-05-20T01:42:05.068Z",
953
+ "created_at": "2014-05-27T12:36:42.001Z",
954
+ "updated_at": "2014-05-27T12:36:42.002Z",
640
955
  "responses": [
641
956
  "0",
642
957
  "10"
643
958
  ],
644
959
  "question_type": "range",
645
- "freeform": false
960
+ "freeform": false,
961
+ "always_show": null
646
962
  },
647
963
  {
648
- "id": 7,
964
+ "id": 71,
649
965
  "text": "To what extent do you feel accepted by the person/people you are interacting with?",
650
- "created_at": "2014-05-20T01:42:05.070Z",
651
- "updated_at": "2014-05-20T01:42:05.071Z",
966
+ "created_at": "2014-05-27T12:36:42.004Z",
967
+ "updated_at": "2014-05-27T12:36:42.005Z",
652
968
  "responses": [
653
969
  "0",
654
970
  "10"
655
971
  ],
656
972
  "question_type": "range",
657
- "freeform": false
973
+ "freeform": false,
974
+ "always_show": null
658
975
  },
659
976
  {
660
- "id": 8,
977
+ "id": 72,
661
978
  "text": "Are you judging or evaluating what you are doing right now (i.e. at the moment just before you were notified?)",
662
- "created_at": "2014-05-20T01:42:05.073Z",
663
- "updated_at": "2014-05-20T01:42:05.074Z",
979
+ "created_at": "2014-05-27T12:36:42.007Z",
980
+ "updated_at": "2014-05-27T12:36:42.010Z",
664
981
  "responses": [
665
982
  "f",
666
983
  "Yes - Negatively",
@@ -668,60 +985,62 @@ http_interactions:
668
985
  "Yes - Positively"
669
986
  ],
670
987
  "question_type": "multiple",
671
- "freeform": false
988
+ "freeform": false,
989
+ "always_show": null
672
990
  },
673
991
  {
674
- "id": 9,
992
+ "id": 73,
675
993
  "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
676
- "created_at": "2014-05-20T01:42:05.076Z",
677
- "updated_at": "2014-05-20T01:42:05.078Z",
994
+ "created_at": "2014-05-27T12:36:42.012Z",
995
+ "updated_at": "2014-05-27T12:36:42.013Z",
678
996
  "responses": [
679
997
  "t",
680
998
  "f"
681
999
  ],
682
1000
  "question_type": "boolean",
683
- "freeform": false
1001
+ "freeform": false,
1002
+ "always_show": null
684
1003
  },
685
1004
  {
686
- "id": 10,
1005
+ "id": 74,
687
1006
  "text": "Imagine you were given $10 to divide between yourself and a stranger to whom you would remain anonymous. How much would you give to the stranger?",
688
- "created_at": "2014-05-20T01:42:05.080Z",
689
- "updated_at": "2014-05-20T01:42:05.082Z",
1007
+ "created_at": "2014-05-27T12:36:42.015Z",
1008
+ "updated_at": "2014-05-27T12:36:42.016Z",
690
1009
  "responses": [
691
- [
692
- "0",
693
- "1",
694
- "2",
695
- "3",
696
- "4",
697
- "5",
698
- "6",
699
- "7",
700
- "8",
701
- "9",
702
- "10"
703
- ]
1010
+ "0",
1011
+ "1",
1012
+ "2",
1013
+ "3",
1014
+ "4",
1015
+ "5",
1016
+ "6",
1017
+ "7",
1018
+ "8",
1019
+ "9",
1020
+ "10"
704
1021
  ],
705
1022
  "question_type": "multiple",
706
- "freeform": false
1023
+ "freeform": false,
1024
+ "always_show": null
707
1025
  },
708
1026
  {
709
- "id": 11,
1027
+ "id": 75,
710
1028
  "text": "Have you surprised someone with a gift (including small gifts) in the last week?",
711
- "created_at": "2014-05-20T01:42:05.085Z",
712
- "updated_at": "2014-05-20T01:42:05.086Z",
1029
+ "created_at": "2014-05-27T12:36:42.018Z",
1030
+ "updated_at": "2014-05-27T12:36:42.019Z",
713
1031
  "responses": [
714
1032
  "t",
715
1033
  "f"
716
1034
  ],
717
1035
  "question_type": "boolean",
718
- "freeform": false
1036
+ "freeform": false,
1037
+ "always_show": null
719
1038
  },
720
1039
  {
721
- "id": 12,
1040
+ "id": 76,
722
1041
  "text": "In general, how is your health?",
723
- "created_at": "2014-05-20T01:42:05.089Z",
724
- "updated_at": "2014-05-20T01:42:05.090Z",
1042
+ "created_at": "2014-05-27T12:36:42.022Z",
1043
+ "updated_at": "2014-05-27T12:36:42.024Z",
725
1044
  "responses": [
726
1045
  "Excellent",
727
1046
  "Very Good",
@@ -730,37 +1049,40 @@ http_interactions:
730
1049
  "Poor"
731
1050
  ],
732
1051
  "question_type": "multiple",
733
- "freeform": false
1052
+ "freeform": false,
1053
+ "always_show": null
734
1054
  },
735
1055
  {
736
- "id": 13,
1056
+ "id": 77,
737
1057
  "text": "Where would you place yourself on this ladder?\nThink of a ladder representing where people stand in your country.\nAt the top of the ladder are the people who are the best off - those who have the most money, the most education and the most respected jobs. At the bottom are the people who are the worst off - who have the least money, least education, and the least respected jobs or no job. The higher up you are on the ladder, the closer you are to the people at the very top; the lower you are the closer you are to people at the very bottom.",
738
- "created_at": "2014-05-20T01:42:05.092Z",
739
- "updated_at": "2014-05-20T01:42:05.093Z",
1058
+ "created_at": "2014-05-27T12:36:42.026Z",
1059
+ "updated_at": "2014-05-27T12:36:42.028Z",
740
1060
  "responses": [
741
1061
  "0",
742
1062
  "10"
743
1063
  ],
744
1064
  "question_type": "range",
745
- "freeform": false
1065
+ "freeform": false,
1066
+ "always_show": null
746
1067
  },
747
1068
  {
748
- "id": 14,
1069
+ "id": 78,
749
1070
  "text": "To what extent is what you're doing interesting?",
750
- "created_at": "2014-05-20T01:42:05.095Z",
751
- "updated_at": "2014-05-20T01:42:05.096Z",
1071
+ "created_at": "2014-05-27T12:36:42.029Z",
1072
+ "updated_at": "2014-05-27T12:36:42.031Z",
752
1073
  "responses": [
753
1074
  "0",
754
1075
  "10"
755
1076
  ],
756
1077
  "question_type": "range",
757
- "freeform": false
1078
+ "freeform": false,
1079
+ "always_show": null
758
1080
  },
759
1081
  {
760
- "id": 15,
1082
+ "id": 79,
761
1083
  "text": "On average, how many hours do you work each week?",
762
- "created_at": "2014-05-20T01:42:05.098Z",
763
- "updated_at": "2014-05-20T01:42:05.100Z",
1084
+ "created_at": "2014-05-27T12:36:42.032Z",
1085
+ "updated_at": "2014-05-27T12:36:42.034Z",
764
1086
  "responses": [
765
1087
  "Less than 5",
766
1088
  "5-10",
@@ -773,73 +1095,79 @@ http_interactions:
773
1095
  "More than 70"
774
1096
  ],
775
1097
  "question_type": "multiple",
776
- "freeform": false
1098
+ "freeform": false,
1099
+ "always_show": null
777
1100
  },
778
1101
  {
779
- "id": 16,
1102
+ "id": 80,
780
1103
  "text": "How do you feel right now?",
781
- "created_at": "2014-05-20T01:42:05.102Z",
782
- "updated_at": "2014-05-20T01:42:05.103Z",
1104
+ "created_at": "2014-05-27T12:36:42.038Z",
1105
+ "updated_at": "2014-05-27T12:36:42.039Z",
783
1106
  "responses": [
784
1107
  "0",
785
1108
  "10"
786
1109
  ],
787
1110
  "question_type": "range",
788
- "freeform": false
1111
+ "freeform": false,
1112
+ "always_show": true
789
1113
  },
790
1114
  {
791
- "id": 17,
1115
+ "id": 81,
792
1116
  "text": "To what extent do you expect good things to happen in the future?",
793
- "created_at": "2014-05-20T01:42:05.105Z",
794
- "updated_at": "2014-05-20T01:42:05.106Z",
1117
+ "created_at": "2014-05-27T12:36:42.041Z",
1118
+ "updated_at": "2014-05-27T12:36:42.042Z",
795
1119
  "responses": [
796
1120
  "0",
797
1121
  "10"
798
1122
  ],
799
1123
  "question_type": "range",
800
- "freeform": false
1124
+ "freeform": false,
1125
+ "always_show": null
801
1126
  },
802
1127
  {
803
- "id": 18,
1128
+ "id": 82,
804
1129
  "text": "Have you taken any over-the-counter pain medication in the past 24 hours?",
805
- "created_at": "2014-05-20T01:42:05.108Z",
806
- "updated_at": "2014-05-20T01:42:05.109Z",
1130
+ "created_at": "2014-05-27T12:36:42.044Z",
1131
+ "updated_at": "2014-05-27T12:36:42.046Z",
807
1132
  "responses": [
808
1133
  "t",
809
1134
  "f"
810
1135
  ],
811
1136
  "question_type": "boolean",
812
- "freeform": false
1137
+ "freeform": false,
1138
+ "always_show": null
813
1139
  },
814
1140
  {
815
- "id": 19,
1141
+ "id": 83,
816
1142
  "text": "To what extent have you procrastinated so far today?",
817
- "created_at": "2014-05-20T01:42:05.111Z",
818
- "updated_at": "2014-05-20T01:42:05.113Z",
1143
+ "created_at": "2014-05-27T12:36:42.048Z",
1144
+ "updated_at": "2014-05-27T12:36:42.049Z",
819
1145
  "responses": [
820
1146
  "0",
821
1147
  "10"
822
1148
  ],
823
1149
  "question_type": "range",
824
- "freeform": false
1150
+ "freeform": false,
1151
+ "always_show": null
825
1152
  },
826
1153
  {
827
- "id": 20,
1154
+ "id": 84,
828
1155
  "text": "To what extent are you being productive?",
829
- "created_at": "2014-05-20T01:42:05.115Z",
830
- "updated_at": "2014-05-20T01:42:05.116Z",
1156
+ "created_at": "2014-05-27T12:36:42.051Z",
1157
+ "updated_at": "2014-05-27T12:36:42.053Z",
831
1158
  "responses": [
832
1159
  "0",
833
1160
  "10"
834
1161
  ],
835
1162
  "question_type": "range",
836
- "freeform": false
1163
+ "freeform": false,
1164
+ "always_show": null
837
1165
  },
838
1166
  {
839
- "id": 21,
1167
+ "id": 85,
840
1168
  "text": "Who are you talking or interacting with?",
841
- "created_at": "2014-05-20T01:42:05.117Z",
842
- "updated_at": "2014-05-20T01:42:05.119Z",
1169
+ "created_at": "2014-05-27T12:36:42.054Z",
1170
+ "updated_at": "2014-05-27T12:36:42.056Z",
843
1171
  "responses": [
844
1172
  "Spouse/partner/significant other",
845
1173
  "Children",
@@ -850,64 +1178,70 @@ http_interactions:
850
1178
  "Strangers",
851
1179
  "Co-workers",
852
1180
  "Customers/students",
853
- "Boss"
1181
+ "Boss",
1182
+ "No one"
854
1183
  ],
855
1184
  "question_type": "multiple",
856
- "freeform": true
1185
+ "freeform": true,
1186
+ "always_show": null
857
1187
  },
858
1188
  {
859
- "id": 22,
1189
+ "id": 86,
860
1190
  "text": "To what extent do you feel accepted by the person/people you are interacting with?",
861
- "created_at": "2014-05-20T01:42:05.120Z",
862
- "updated_at": "2014-05-20T01:42:05.122Z",
1191
+ "created_at": "2014-05-27T12:36:42.058Z",
1192
+ "updated_at": "2014-05-27T12:36:42.059Z",
863
1193
  "responses": [
864
1194
  "0",
865
1195
  "10"
866
1196
  ],
867
1197
  "question_type": "range",
868
- "freeform": false
1198
+ "freeform": false,
1199
+ "always_show": null
869
1200
  },
870
1201
  {
871
- "id": 23,
1202
+ "id": 87,
872
1203
  "text": "Are you alone?",
873
- "created_at": "2014-05-20T01:42:05.124Z",
874
- "updated_at": "2014-05-20T01:42:05.125Z",
1204
+ "created_at": "2014-05-27T12:36:42.061Z",
1205
+ "updated_at": "2014-05-27T12:36:42.062Z",
875
1206
  "responses": [
876
1207
  "t",
877
1208
  "f"
878
1209
  ],
879
1210
  "question_type": "boolean",
880
- "freeform": false
1211
+ "freeform": false,
1212
+ "always_show": null
881
1213
  },
882
1214
  {
883
- "id": 24,
1215
+ "id": 88,
884
1216
  "text": "Do you want to do what you're doing?",
885
- "created_at": "2014-05-20T01:42:05.127Z",
886
- "updated_at": "2014-05-20T01:42:05.128Z",
1217
+ "created_at": "2014-05-27T12:36:42.064Z",
1218
+ "updated_at": "2014-05-27T12:36:42.065Z",
887
1219
  "responses": [
888
1220
  "t",
889
1221
  "f"
890
1222
  ],
891
1223
  "question_type": "boolean",
892
- "freeform": false
1224
+ "freeform": false,
1225
+ "always_show": null
893
1226
  },
894
1227
  {
895
- "id": 25,
1228
+ "id": 89,
896
1229
  "text": "Are you talking or interacting with anyone?",
897
- "created_at": "2014-05-20T01:42:05.130Z",
898
- "updated_at": "2014-05-20T01:42:05.132Z",
1230
+ "created_at": "2014-05-27T12:36:42.067Z",
1231
+ "updated_at": "2014-05-27T12:36:42.069Z",
899
1232
  "responses": [
900
1233
  "t",
901
1234
  "f"
902
1235
  ],
903
1236
  "question_type": "boolean",
904
- "freeform": false
1237
+ "freeform": false,
1238
+ "always_show": null
905
1239
  },
906
1240
  {
907
- "id": 26,
1241
+ "id": 90,
908
1242
  "text": "Where are you?",
909
- "created_at": "2014-05-20T01:42:05.134Z",
910
- "updated_at": "2014-05-20T01:42:05.136Z",
1243
+ "created_at": "2014-05-27T12:36:42.070Z",
1244
+ "updated_at": "2014-05-27T12:36:42.071Z",
911
1245
  "responses": [
912
1246
  "At Home",
913
1247
  "At Work",
@@ -915,50 +1249,54 @@ http_interactions:
915
1249
  "Other"
916
1250
  ],
917
1251
  "question_type": "multiple",
918
- "freeform": true
1252
+ "freeform": true,
1253
+ "always_show": null
919
1254
  },
920
1255
  {
921
- "id": 27,
1256
+ "id": 91,
922
1257
  "text": "How many people are you talking or interacting with?",
923
- "created_at": "2014-05-20T01:42:05.137Z",
924
- "updated_at": "2014-05-20T01:42:05.139Z",
1258
+ "created_at": "2014-05-27T12:36:42.073Z",
1259
+ "updated_at": "2014-05-27T12:36:42.075Z",
925
1260
  "responses": [
926
1261
  "At Home",
927
1262
  "At Work",
928
1263
  "In a car"
929
1264
  ],
930
1265
  "question_type": "multiple",
931
- "freeform": false
1266
+ "freeform": false,
1267
+ "always_show": null
932
1268
  },
933
1269
  {
934
- "id": 28,
1270
+ "id": 92,
935
1271
  "text": "Do you have to do what you're doing?",
936
- "created_at": "2014-05-20T01:42:05.141Z",
937
- "updated_at": "2014-05-20T01:42:05.142Z",
1272
+ "created_at": "2014-05-27T12:36:42.076Z",
1273
+ "updated_at": "2014-05-27T12:36:42.078Z",
938
1274
  "responses": [
939
1275
  "t",
940
1276
  "f"
941
1277
  ],
942
1278
  "question_type": "boolean",
943
- "freeform": false
1279
+ "freeform": false,
1280
+ "always_show": null
944
1281
  },
945
1282
  {
946
- "id": 29,
1283
+ "id": 93,
947
1284
  "text": "To what extent are you focused on what you are doing?",
948
- "created_at": "2014-05-20T01:42:05.144Z",
949
- "updated_at": "2014-05-20T01:42:05.146Z",
1285
+ "created_at": "2014-05-27T12:36:42.079Z",
1286
+ "updated_at": "2014-05-27T12:36:42.081Z",
950
1287
  "responses": [
951
1288
  "0",
952
1289
  "10"
953
1290
  ],
954
1291
  "question_type": "range",
955
- "freeform": false
1292
+ "freeform": false,
1293
+ "always_show": null
956
1294
  },
957
1295
  {
958
- "id": 30,
1296
+ "id": 94,
959
1297
  "text": "When did you last check Facebook?",
960
- "created_at": "2014-05-20T01:42:05.148Z",
961
- "updated_at": "2014-05-20T01:42:05.150Z",
1298
+ "created_at": "2014-05-27T12:36:42.082Z",
1299
+ "updated_at": "2014-05-27T12:36:42.084Z",
962
1300
  "responses": [
963
1301
  "Right now",
964
1302
  "In the last 5 minutes",
@@ -972,13 +1310,14 @@ http_interactions:
972
1310
  "Don't use facebook"
973
1311
  ],
974
1312
  "question_type": "multiple",
975
- "freeform": false
1313
+ "freeform": false,
1314
+ "always_show": null
976
1315
  },
977
1316
  {
978
- "id": 31,
1317
+ "id": 95,
979
1318
  "text": "Beyond any work you've already done today, how many additional hours do you expect to work today?",
980
- "created_at": "2014-05-20T01:42:05.152Z",
981
- "updated_at": "2014-05-20T01:42:05.153Z",
1319
+ "created_at": "2014-05-27T12:36:42.086Z",
1320
+ "updated_at": "2014-05-27T12:36:42.087Z",
982
1321
  "responses": [
983
1322
  "0 (none)",
984
1323
  "Less than 1 hour",
@@ -989,23 +1328,25 @@ http_interactions:
989
1328
  "5-6 hours"
990
1329
  ],
991
1330
  "question_type": "multiple",
992
- "freeform": false
1331
+ "freeform": false,
1332
+ "always_show": null
993
1333
  },
994
1334
  {
995
- "id": 32,
1335
+ "id": 96,
996
1336
  "text": "If you could, and it had no negative consequences, would you jump forward in time 24 hours?",
997
- "created_at": "2014-05-20T01:42:05.155Z",
998
- "updated_at": "2014-05-20T01:42:05.156Z",
1337
+ "created_at": "2014-05-27T12:36:42.089Z",
1338
+ "updated_at": "2014-05-27T12:36:42.090Z",
999
1339
  "responses": [
1000
1340
  "t",
1001
1341
  "f"
1002
1342
  ],
1003
1343
  "question_type": "boolean",
1004
- "freeform": false
1344
+ "freeform": false,
1345
+ "always_show": null
1005
1346
  }
1006
1347
  ]
1007
1348
  http_version:
1008
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1349
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1009
1350
  - request:
1010
1351
  method: get
1011
1352
  uri: http://localhost:3000/
@@ -1043,13 +1384,13 @@ http_interactions:
1043
1384
  Cache-Control:
1044
1385
  - max-age=0, private, must-revalidate
1045
1386
  X-Request-Id:
1046
- - ae85ff78-f1fe-4b67-ad5d-ea1ce398d7d2
1387
+ - 9cf42b1a-3490-4599-a6f0-de36be033884
1047
1388
  X-Runtime:
1048
- - '0.006352'
1389
+ - '0.008262'
1049
1390
  Server:
1050
1391
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
1051
1392
  Date:
1052
- - Mon, 26 May 2014 20:54:17 GMT
1393
+ - Wed, 28 May 2014 23:42:05 GMT
1053
1394
  Content-Length:
1054
1395
  - '305'
1055
1396
  Connection:
@@ -1074,7 +1415,7 @@ http_interactions:
1074
1415
  }
1075
1416
  }
1076
1417
  http_version:
1077
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1418
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1078
1419
  - request:
1079
1420
  method: post
1080
1421
  uri: http://localhost:3000/api/users
@@ -1108,17 +1449,17 @@ http_interactions:
1108
1449
  Content-Type:
1109
1450
  - application/json; charset=utf-8
1110
1451
  Etag:
1111
- - '"a0c9fd9455eeebc900228bd6b7e9c2e9"'
1452
+ - '"a17fd52e4fcc73ef2abf2475c8920a25"'
1112
1453
  Cache-Control:
1113
1454
  - max-age=0, private, must-revalidate
1114
1455
  X-Request-Id:
1115
- - a7932a3b-ea31-4022-9e40-0445426fee9d
1456
+ - e1f0a2d4-cb2c-4f46-a2ee-a2bebfada9d3
1116
1457
  X-Runtime:
1117
- - '0.013669'
1458
+ - '0.017078'
1118
1459
  Server:
1119
1460
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
1120
1461
  Date:
1121
- - Mon, 26 May 2014 20:54:17 GMT
1462
+ - Wed, 28 May 2014 23:42:05 GMT
1122
1463
  Content-Length:
1123
1464
  - '275'
1124
1465
  Connection:
@@ -1127,17 +1468,17 @@ http_interactions:
1127
1468
  encoding: UTF-8
1128
1469
  string: |-
1129
1470
  {
1130
- "id": 239,
1471
+ "id": 240,
1131
1472
  "external_user_id": 42,
1132
- "token": "59c7eb561abefed6c650a3e3f96c68e2fb8550ce3365f06a5de4444888cf12123524b94da7d33af86fc1f88e960d8e01aa41a614abdf584bc47ac3be9e012e6c",
1473
+ "token": "0ce1baea6971e5e51b0b76b536afa0667f6b0a1dc257ffdb7e1771e62ee3b949df91e90271518a8e481eb6806aa8bffe032a952c87951369219fd8ec2f3a778a",
1133
1474
  "_links": {
1134
1475
  "self": {
1135
- "href": "http://localhost:3000/api/users/239"
1476
+ "href": "http://localhost:3000/api/users/240"
1136
1477
  }
1137
1478
  }
1138
1479
  }
1139
1480
  http_version:
1140
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1481
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1141
1482
  - request:
1142
1483
  method: get
1143
1484
  uri: http://localhost:3000/
@@ -1175,13 +1516,13 @@ http_interactions:
1175
1516
  Cache-Control:
1176
1517
  - max-age=0, private, must-revalidate
1177
1518
  X-Request-Id:
1178
- - 8aa6326f-0ba6-43ba-8f82-26f21e285252
1519
+ - a66cf250-ba1b-496e-bbda-70d1fc4a3989
1179
1520
  X-Runtime:
1180
- - '0.007166'
1521
+ - '0.011605'
1181
1522
  Server:
1182
1523
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
1183
1524
  Date:
1184
- - Mon, 26 May 2014 20:54:17 GMT
1525
+ - Wed, 28 May 2014 23:42:05 GMT
1185
1526
  Content-Length:
1186
1527
  - '305'
1187
1528
  Connection:
@@ -1206,13 +1547,13 @@ http_interactions:
1206
1547
  }
1207
1548
  }
1208
1549
  http_version:
1209
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1550
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1210
1551
  - request:
1211
1552
  method: post
1212
1553
  uri: http://localhost:3000/api/surveys
1213
1554
  body:
1214
1555
  encoding: UTF-8
1215
- string: '{"survey":{"user_id":239}}'
1556
+ string: '{"survey":{"user_id":240}}'
1216
1557
  headers:
1217
1558
  User-Agent:
1218
1559
  - Faraday v0.9.0
@@ -1240,17 +1581,17 @@ http_interactions:
1240
1581
  Content-Type:
1241
1582
  - application/json; charset=utf-8
1242
1583
  Etag:
1243
- - '"238a49a871ce5e7248c1fc612a55e4e8"'
1584
+ - '"0402b682d591a02533369ed7ac6dace6"'
1244
1585
  Cache-Control:
1245
1586
  - max-age=0, private, must-revalidate
1246
1587
  X-Request-Id:
1247
- - 98f41b86-56b6-4d3f-848f-9a27b74e080b
1588
+ - b457e90b-06aa-4c83-95b3-afd2e5bccd50
1248
1589
  X-Runtime:
1249
- - '0.015086'
1590
+ - '0.017475'
1250
1591
  Server:
1251
1592
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
1252
1593
  Date:
1253
- - Mon, 26 May 2014 20:54:17 GMT
1594
+ - Wed, 28 May 2014 23:42:05 GMT
1254
1595
  Content-Length:
1255
1596
  - '250'
1256
1597
  Connection:
@@ -1259,28 +1600,28 @@ http_interactions:
1259
1600
  encoding: UTF-8
1260
1601
  string: |-
1261
1602
  {
1262
- "id": 193,
1263
- "user_id": 239,
1603
+ "id": 198,
1604
+ "user_id": 240,
1264
1605
  "survey_questions": [
1265
1606
 
1266
1607
  ],
1267
1608
  "_links": {
1268
1609
  "self": {
1269
- "href": "http://localhost:3000/api/surveys/193"
1610
+ "href": "http://localhost:3000/api/surveys/198"
1270
1611
  },
1271
1612
  "submit": {
1272
- "href": "http://localhost:3000/api/surveys/193/survey_questions"
1613
+ "href": "http://localhost:3000/api/surveys/198/survey_questions"
1273
1614
  }
1274
1615
  }
1275
1616
  }
1276
1617
  http_version:
1277
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1618
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1278
1619
  - request:
1279
1620
  method: post
1280
- uri: http://localhost:3000/api/surveys/193/survey_questions
1621
+ uri: http://localhost:3000/api/surveys/198/survey_questions
1281
1622
  body:
1282
1623
  encoding: UTF-8
1283
- string: '{"survey_question":{"question_id":9}}'
1624
+ string: '{"survey_question":{"question_id":73}}'
1284
1625
  headers:
1285
1626
  User-Agent:
1286
1627
  - Faraday v0.9.0
@@ -1308,17 +1649,17 @@ http_interactions:
1308
1649
  Content-Type:
1309
1650
  - application/json; charset=utf-8
1310
1651
  Etag:
1311
- - '"b8955b885b4b7f97be496a48a7be4a5b"'
1652
+ - '"6d92e177725465d1aefe9082691a96a3"'
1312
1653
  Cache-Control:
1313
1654
  - max-age=0, private, must-revalidate
1314
1655
  X-Request-Id:
1315
- - 677e3981-3ee8-4340-b76d-de49b8464d6c
1656
+ - 54814d1e-7403-4907-a184-84f77a13276d
1316
1657
  X-Runtime:
1317
- - '0.019323'
1658
+ - '0.021508'
1318
1659
  Server:
1319
1660
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
1320
1661
  Date:
1321
- - Mon, 26 May 2014 20:54:17 GMT
1662
+ - Wed, 28 May 2014 23:42:05 GMT
1322
1663
  Content-Length:
1323
1664
  - '571'
1324
1665
  Connection:
@@ -1327,7 +1668,7 @@ http_interactions:
1327
1668
  encoding: UTF-8
1328
1669
  string: |-
1329
1670
  {
1330
- "id": 675,
1671
+ "id": 698,
1331
1672
  "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
1332
1673
  "type": "boolean",
1333
1674
  "responses": [
@@ -1337,24 +1678,24 @@ http_interactions:
1337
1678
  "freeform": false,
1338
1679
  "_links": {
1339
1680
  "self": {
1340
- "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
1681
+ "href": "http://localhost:3000/api/surveys/198/survey_questions/698"
1341
1682
  },
1342
1683
  "survey": {
1343
- "href": "http://localhost:3000/api/surveys/193"
1684
+ "href": "http://localhost:3000/api/surveys/198"
1344
1685
  },
1345
1686
  "create": {
1346
- "href": "http://localhost:3000/api/surveys/193/survey_questions"
1687
+ "href": "http://localhost:3000/api/surveys/198/survey_questions"
1347
1688
  },
1348
1689
  "submit": {
1349
- "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
1690
+ "href": "http://localhost:3000/api/surveys/198/survey_questions/698"
1350
1691
  }
1351
1692
  }
1352
1693
  }
1353
1694
  http_version:
1354
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1695
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1355
1696
  - request:
1356
1697
  method: get
1357
- uri: http://localhost:3000/api/surveys/193
1698
+ uri: http://localhost:3000/api/surveys/198
1358
1699
  body:
1359
1700
  encoding: US-ASCII
1360
1701
  string: ''
@@ -1385,17 +1726,17 @@ http_interactions:
1385
1726
  Content-Type:
1386
1727
  - application/json; charset=utf-8
1387
1728
  Etag:
1388
- - '"b5701c0481185b5b47f77a7e5925e825"'
1729
+ - '"ab6e3656756176b984cb8509b6a7870c"'
1389
1730
  Cache-Control:
1390
1731
  - max-age=0, private, must-revalidate
1391
1732
  X-Request-Id:
1392
- - f32a1d2a-f1d0-45ad-91b1-77085142ae51
1733
+ - f2660f63-dcdf-4c85-8494-04b449000493
1393
1734
  X-Runtime:
1394
- - '0.020149'
1735
+ - '0.024484'
1395
1736
  Server:
1396
1737
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
1397
1738
  Date:
1398
- - Mon, 26 May 2014 20:54:17 GMT
1739
+ - Wed, 28 May 2014 23:42:05 GMT
1399
1740
  Content-Length:
1400
1741
  - '1013'
1401
1742
  Connection:
@@ -1404,11 +1745,11 @@ http_interactions:
1404
1745
  encoding: UTF-8
1405
1746
  string: |-
1406
1747
  {
1407
- "id": 193,
1408
- "user_id": 239,
1748
+ "id": 198,
1749
+ "user_id": 240,
1409
1750
  "survey_questions": [
1410
1751
  {
1411
- "id": 675,
1752
+ "id": 698,
1412
1753
  "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
1413
1754
  "type": "boolean",
1414
1755
  "responses": [
@@ -1418,40 +1759,40 @@ http_interactions:
1418
1759
  "freeform": false,
1419
1760
  "_links": {
1420
1761
  "self": {
1421
- "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
1762
+ "href": "http://localhost:3000/api/surveys/198/survey_questions/698"
1422
1763
  },
1423
1764
  "survey": {
1424
- "href": "http://localhost:3000/api/surveys/193"
1765
+ "href": "http://localhost:3000/api/surveys/198"
1425
1766
  },
1426
1767
  "create": {
1427
- "href": "http://localhost:3000/api/surveys/193/survey_questions"
1768
+ "href": "http://localhost:3000/api/surveys/198/survey_questions"
1428
1769
  },
1429
1770
  "submit": {
1430
- "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
1771
+ "href": "http://localhost:3000/api/surveys/198/survey_questions/698"
1431
1772
  }
1432
1773
  }
1433
1774
  }
1434
1775
  ],
1435
1776
  "_links": {
1436
1777
  "self": {
1437
- "href": "http://localhost:3000/api/surveys/193"
1778
+ "href": "http://localhost:3000/api/surveys/198"
1438
1779
  },
1439
1780
  "submit": {
1440
- "href": "http://localhost:3000/api/surveys/193/survey_questions"
1781
+ "href": "http://localhost:3000/api/surveys/198/survey_questions"
1441
1782
  },
1442
1783
  "next": {
1443
- "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
1784
+ "href": "http://localhost:3000/api/surveys/198/survey_questions/698"
1444
1785
  }
1445
1786
  }
1446
1787
  }
1447
1788
  http_version:
1448
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1789
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1449
1790
  - request:
1450
1791
  method: put
1451
- uri: http://localhost:3000/api/surveys/193/survey_questions/675
1792
+ uri: http://localhost:3000/api/surveys/198/survey_questions/698
1452
1793
  body:
1453
1794
  encoding: UTF-8
1454
- string: '{"id":675,"survey_question":{"answer":"true"}}'
1795
+ string: '{"id":698,"survey_question":{"answer":"true"}}'
1455
1796
  headers:
1456
1797
  User-Agent:
1457
1798
  - Faraday v0.9.0
@@ -1479,23 +1820,23 @@ http_interactions:
1479
1820
  Cache-Control:
1480
1821
  - no-cache
1481
1822
  X-Request-Id:
1482
- - cc7a73dc-7ab6-4be2-802d-a048c50ebc2c
1823
+ - f3a99894-00f0-4d1e-ad1b-b3d5860175bc
1483
1824
  X-Runtime:
1484
- - '0.009526'
1825
+ - '0.030482'
1485
1826
  Server:
1486
1827
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
1487
1828
  Date:
1488
- - Mon, 26 May 2014 20:54:17 GMT
1829
+ - Wed, 28 May 2014 23:42:05 GMT
1489
1830
  Connection:
1490
1831
  - Keep-Alive
1491
1832
  body:
1492
1833
  encoding: UTF-8
1493
1834
  string: ''
1494
1835
  http_version:
1495
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1836
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1496
1837
  - request:
1497
1838
  method: get
1498
- uri: http://localhost:3000/api/surveys/193
1839
+ uri: http://localhost:3000/api/surveys/198
1499
1840
  body:
1500
1841
  encoding: US-ASCII
1501
1842
  string: ''
@@ -1526,17 +1867,17 @@ http_interactions:
1526
1867
  Content-Type:
1527
1868
  - application/json; charset=utf-8
1528
1869
  Etag:
1529
- - '"ef20da63db6f97098035a804db644d52"'
1870
+ - '"4de1b962b3a3f22f7461983d7e3a1009"'
1530
1871
  Cache-Control:
1531
1872
  - max-age=0, private, must-revalidate
1532
1873
  X-Request-Id:
1533
- - af8273a6-82dc-4727-a3f0-e54f49668528
1874
+ - 8eabbfb4-ad1c-4586-88c4-f69ec4d87bf2
1534
1875
  X-Runtime:
1535
- - '0.019528'
1876
+ - '0.021696'
1536
1877
  Server:
1537
1878
  - WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24)
1538
1879
  Date:
1539
- - Mon, 26 May 2014 20:54:17 GMT
1880
+ - Wed, 28 May 2014 23:42:05 GMT
1540
1881
  Content-Length:
1541
1882
  - '941'
1542
1883
  Connection:
@@ -1545,11 +1886,11 @@ http_interactions:
1545
1886
  encoding: UTF-8
1546
1887
  string: |-
1547
1888
  {
1548
- "id": 193,
1549
- "user_id": 239,
1889
+ "id": 198,
1890
+ "user_id": 240,
1550
1891
  "survey_questions": [
1551
1892
  {
1552
- "id": 675,
1893
+ "id": 698,
1553
1894
  "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
1554
1895
  "type": "boolean",
1555
1896
  "responses": [
@@ -1560,29 +1901,29 @@ http_interactions:
1560
1901
  "freeform": false,
1561
1902
  "_links": {
1562
1903
  "self": {
1563
- "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
1904
+ "href": "http://localhost:3000/api/surveys/198/survey_questions/698"
1564
1905
  },
1565
1906
  "survey": {
1566
- "href": "http://localhost:3000/api/surveys/193"
1907
+ "href": "http://localhost:3000/api/surveys/198"
1567
1908
  },
1568
1909
  "create": {
1569
- "href": "http://localhost:3000/api/surveys/193/survey_questions"
1910
+ "href": "http://localhost:3000/api/surveys/198/survey_questions"
1570
1911
  },
1571
1912
  "submit": {
1572
- "href": "http://localhost:3000/api/surveys/193/survey_questions/675"
1913
+ "href": "http://localhost:3000/api/surveys/198/survey_questions/698"
1573
1914
  }
1574
1915
  }
1575
1916
  }
1576
1917
  ],
1577
1918
  "_links": {
1578
1919
  "self": {
1579
- "href": "http://localhost:3000/api/surveys/193"
1920
+ "href": "http://localhost:3000/api/surveys/198"
1580
1921
  },
1581
1922
  "submit": {
1582
- "href": "http://localhost:3000/api/surveys/193/survey_questions"
1923
+ "href": "http://localhost:3000/api/surveys/198/survey_questions"
1583
1924
  }
1584
1925
  }
1585
1926
  }
1586
1927
  http_version:
1587
- recorded_at: Mon, 26 May 2014 20:54:17 GMT
1928
+ recorded_at: Wed, 28 May 2014 23:42:05 GMT
1588
1929
  recorded_with: VCR 2.6.0