clever-ruby 0.11.1 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +15 -1
  4. data/clever-ruby.gemspec +0 -1
  5. data/lib/clever-ruby.rb +1 -1
  6. data/lib/clever-ruby/api_resource.rb +43 -7
  7. data/lib/clever-ruby/district.rb +14 -0
  8. data/lib/clever-ruby/event.rb +2 -0
  9. data/lib/clever-ruby/school.rb +2 -0
  10. data/lib/clever-ruby/school_admin.rb +17 -0
  11. data/lib/clever-ruby/section.rb +2 -0
  12. data/lib/clever-ruby/student.rb +2 -0
  13. data/lib/clever-ruby/teacher.rb +2 -0
  14. data/lib/clever-ruby/util.rb +1 -9
  15. data/lib/clever-ruby/version.rb +1 -1
  16. data/test/data/vcr_cassettes/Clever_APIOperations_List/counts_district_properly.yml +14 -8
  17. data/test/data/vcr_cassettes/Clever_APIOperations_List/counts_event_properly.yml +14 -8
  18. data/test/data/vcr_cassettes/Clever_APIOperations_List/counts_school_admin_properly.yml +52 -0
  19. data/test/data/vcr_cassettes/Clever_APIOperations_List/counts_school_properly.yml +14 -8
  20. data/test/data/vcr_cassettes/Clever_APIOperations_List/counts_section_properly.yml +14 -8
  21. data/test/data/vcr_cassettes/Clever_APIOperations_List/counts_student_properly.yml +14 -8
  22. data/test/data/vcr_cassettes/Clever_APIOperations_List/counts_teacher_properly.yml +14 -8
  23. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_a_single_district.yml +28 -16
  24. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_a_single_event.yml +28 -16
  25. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_a_single_school.yml +28 -18
  26. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_a_single_school_admin.yml +101 -0
  27. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_a_single_section.yml +30 -18
  28. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_a_single_student.yml +30 -18
  29. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_a_single_teacher.yml +28 -18
  30. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_districts_by_page.yml +28 -16
  31. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_districts_with_multiple_ids.yml +28 -16
  32. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_events_by_page.yml +24 -10
  33. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_events_with_multiple_ids.yml +30 -18
  34. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_school_admins_by_page.yml +101 -0
  35. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_school_admins_with_multiple_ids.yml +101 -0
  36. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_schools_by_page.yml +28 -18
  37. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_schools_with_multiple_ids.yml +28 -20
  38. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_sections_by_page.yml +34 -22
  39. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_sections_with_multiple_ids.yml +30 -18
  40. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_students_by_page.yml +48 -36
  41. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_students_with_multiple_ids.yml +30 -18
  42. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_teachers_by_page.yml +27 -17
  43. data/test/data/vcr_cassettes/Clever_APIOperations_List/finds_teachers_with_multiple_ids.yml +28 -20
  44. data/test/data/vcr_cassettes/Clever_APIOperations_List/retrieves_all_district.yml +28 -16
  45. data/test/data/vcr_cassettes/Clever_APIOperations_List/retrieves_all_event.yml +28 -14
  46. data/test/data/vcr_cassettes/Clever_APIOperations_List/retrieves_all_school.yml +28 -18
  47. data/test/data/vcr_cassettes/Clever_APIOperations_List/retrieves_all_school_admin.yml +101 -0
  48. data/test/data/vcr_cassettes/Clever_APIOperations_List/retrieves_all_section.yml +34 -22
  49. data/test/data/vcr_cassettes/Clever_APIOperations_List/retrieves_all_student.yml +48 -36
  50. data/test/data/vcr_cassettes/Clever_APIOperations_List/retrieves_all_teacher.yml +30 -20
  51. data/test/data/vcr_cassettes/Clever_District_without_global_token/pages_methods/pages_a_district_s_events.yml +39 -19
  52. data/test/data/vcr_cassettes/Clever_District_without_global_token/pages_methods/pages_a_district_s_schools.yml +36 -22
  53. data/test/data/vcr_cassettes/Clever_District_without_global_token/pages_methods/pages_a_district_s_sections.yml +37 -19
  54. data/test/data/vcr_cassettes/Clever_District_without_global_token/pages_methods/pages_a_district_s_students.yml +37 -19
  55. data/test/data/vcr_cassettes/Clever_District_without_global_token/pages_methods/pages_a_district_s_teachers.yml +34 -20
  56. data/test/data/vcr_cassettes/Clever_District_without_global_token/retrieves_a_district_s_school_admins.yml +101 -0
  57. data/test/data/vcr_cassettes/Clever_District_without_global_token/retrieves_a_district_s_schools.yml +25 -15
  58. data/test/data/vcr_cassettes/Clever_District_without_global_token/retrieves_a_district_s_sections.yml +26 -14
  59. data/test/data/vcr_cassettes/Clever_District_without_global_token/retrieves_a_district_s_students.yml +26 -14
  60. data/test/data/vcr_cassettes/Clever_District_without_global_token/retrieves_a_district_s_teachers.yml +25 -15
  61. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_district_s_events.yml +54 -30
  62. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_district_s_schools.yml +50 -30
  63. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_district_s_sections.yml +51 -27
  64. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_district_s_students.yml +51 -27
  65. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_district_s_teachers.yml +50 -30
  66. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_school_admin_s_schools.yml +205 -0
  67. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_school_s_district.yml +43 -27
  68. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_school_s_events.yml +56 -30
  69. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_school_s_sections.yml +58 -36
  70. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_school_s_students.yml +69 -45
  71. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_school_s_teachers.yml +52 -34
  72. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_section_s_district.yml +42 -24
  73. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_section_s_events.yml +58 -30
  74. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_section_s_school.yml +41 -23
  75. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_section_s_students.yml +45 -27
  76. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_section_s_teacher.yml +41 -23
  77. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_student_s_district.yml +42 -24
  78. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_student_s_events.yml +58 -30
  79. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_student_s_school.yml +41 -23
  80. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_student_s_sections.yml +56 -32
  81. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_student_s_teachers.yml +54 -30
  82. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_teacher_s_district.yml +40 -24
  83. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_teacher_s_events.yml +56 -30
  84. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_teacher_s_school.yml +39 -23
  85. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_teacher_s_sections.yml +54 -32
  86. data/test/data/vcr_cassettes/Clever_NestedResource/retrieves_a_teacher_s_students.yml +54 -32
  87. data/test/data/vcr_cassettes/Error_handling/raises_an_InvalidRequestError_when_given_a_bad_created_since.yml +42 -24
  88. data/test/data/vcr_cassettes/Optional_attributes/has_the_expected_value_for_an_optional_attribute_that_is_present.yml +13 -7
  89. data/test/data/vcr_cassettes/last_method/page/has_working_first_and_last_methods.yml +142 -61
  90. data/test/integration/api_operations/list_test.rb +5 -3
  91. data/test/integration/district_with_non_global_token_test.rb +7 -0
  92. data/test/integration/last_test.rb +3 -2
  93. data/test/integration/nested_resource_test.rb +3 -2
  94. data/test/unit/api_resource_test.rb +29 -14
  95. data/test/unit/clever_test.rb +1 -0
  96. metadata +17 -16
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - ! '*/*; q=0.5, application/xml'
11
+ - "*/*; q=0.5, application/xml"
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  Authorization:
@@ -25,24 +25,30 @@ http_interactions:
25
25
  Access-Control-Allow-Methods:
26
26
  - GET,PATCH,POST,DELETE
27
27
  Access-Control-Allow-Origin:
28
- - ! '*'
28
+ - "*"
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Date:
32
- - Sat, 13 Sep 2014 00:07:45 GMT
32
+ - Sat, 26 Sep 2015 17:37:33 GMT
33
33
  Etag:
34
- - ! '"1525695678"'
35
- Server:
36
- - nginx/1.4.7
34
+ - '"-682802249"'
37
35
  X-Powered-By:
38
36
  - Express
37
+ X-Ratelimit-Bucket:
38
+ - bearer
39
+ X-Ratelimit-Limit:
40
+ - '1200'
41
+ X-Ratelimit-Remaining:
42
+ - '1093'
43
+ X-Ratelimit-Reset:
44
+ - '1443289062'
39
45
  Content-Length:
40
46
  - '113738'
41
47
  Connection:
42
48
  - keep-alive
43
49
  body:
44
- encoding: US-ASCII
45
- string: ! '{"data":[{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
50
+ encoding: UTF-8
51
+ string: '{"data":[{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
46
52
  Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af2"},"uri":"/v1.1/sections/530e5979049e75a9262d0af2"},{"data":{"course_name":"Group
47
53
  Guidance","course_number":"102","created":"2014-02-26T21:15:37.934Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-02-26T21:15:37.936Z","name":"Group
48
54
  Guidance - 102 - T. Vaux (Section 2)","period":"0","school":"530e595026403103360ff9fd","sis_id":"582","students":["530e5960049e75a9262cff4f","530e5960049e75a9262cff95","530e5961049e75a9262cffe0","530e5961049e75a9262d0027","530e5961049e75a9262d008d","530e5963049e75a9262d0180","530e5964049e75a9262d0300","530e5964049e75a9262d0302","530e5964049e75a9262d0304","530e5965049e75a9262d039e","530e5965049e75a9262d03b6","530e5965049e75a9262d03e8","530e5966049e75a9262d040c","530e5966049e75a9262d04cc","530e5967049e75a9262d05c0","530e5968049e75a9262d062f"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c12","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af3"},"uri":"/v1.1/sections/530e5979049e75a9262d0af3"},{"data":{"course_name":"Group
@@ -315,7 +321,7 @@ http_interactions:
315
321
  string: ''
316
322
  headers:
317
323
  Accept:
318
- - ! '*/*; q=0.5, application/xml'
324
+ - "*/*; q=0.5, application/xml"
319
325
  Accept-Encoding:
320
326
  - gzip, deflate
321
327
  Authorization:
@@ -332,24 +338,30 @@ http_interactions:
332
338
  Access-Control-Allow-Methods:
333
339
  - GET,PATCH,POST,DELETE
334
340
  Access-Control-Allow-Origin:
335
- - ! '*'
341
+ - "*"
336
342
  Content-Type:
337
343
  - application/json; charset=utf-8
338
344
  Date:
339
- - Sat, 13 Sep 2014 00:07:45 GMT
345
+ - Sat, 26 Sep 2015 17:37:33 GMT
340
346
  Etag:
341
- - ! '"-1019123713"'
342
- Server:
343
- - nginx/1.4.7
347
+ - '"93377604"'
344
348
  X-Powered-By:
345
349
  - Express
350
+ X-Ratelimit-Bucket:
351
+ - bearer
352
+ X-Ratelimit-Limit:
353
+ - '1200'
354
+ X-Ratelimit-Remaining:
355
+ - '1092'
356
+ X-Ratelimit-Reset:
357
+ - '1443289062'
346
358
  Content-Length:
347
359
  - '1343'
348
360
  Connection:
349
361
  - keep-alive
350
362
  body:
351
- encoding: US-ASCII
352
- string: ! '{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
363
+ encoding: UTF-8
364
+ string: '{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
353
365
  Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af2"},"links":[{"rel":"self","uri":"/v1.1/sections/530e5979049e75a9262d0af2"},{"rel":"district","uri":"/v1.1/sections/530e5979049e75a9262d0af2/district"},{"rel":"teacher","uri":"/v1.1/sections/530e5979049e75a9262d0af2/teacher"},{"rel":"students","uri":"/v1.1/sections/530e5979049e75a9262d0af2/students"},{"rel":"school","uri":"/v1.1/sections/530e5979049e75a9262d0af2/school"},{"rel":"events","uri":"/v1.1/sections/530e5979049e75a9262d0af2/events"}]}'
354
366
  http_version:
355
367
  recorded_at: Sat, 13 Sep 2014 00:07:45 GMT
@@ -361,7 +373,7 @@ http_interactions:
361
373
  string: ''
362
374
  headers:
363
375
  Accept:
364
- - ! '*/*; q=0.5, application/xml'
376
+ - "*/*; q=0.5, application/xml"
365
377
  Accept-Encoding:
366
378
  - gzip, deflate
367
379
  Authorization:
@@ -378,22 +390,28 @@ http_interactions:
378
390
  Access-Control-Allow-Methods:
379
391
  - GET,PATCH,POST,DELETE
380
392
  Access-Control-Allow-Origin:
381
- - ! '*'
393
+ - "*"
382
394
  Content-Type:
383
395
  - application/json; charset=utf-8
384
396
  Date:
385
- - Sat, 13 Sep 2014 00:07:46 GMT
386
- Server:
387
- - nginx/1.4.7
397
+ - Sat, 26 Sep 2015 17:37:34 GMT
388
398
  X-Powered-By:
389
399
  - Express
400
+ X-Ratelimit-Bucket:
401
+ - bearer
402
+ X-Ratelimit-Limit:
403
+ - '1200'
404
+ X-Ratelimit-Remaining:
405
+ - '1091'
406
+ X-Ratelimit-Reset:
407
+ - '1443289062'
390
408
  Content-Length:
391
409
  - '561'
392
410
  Connection:
393
411
  - keep-alive
394
412
  body:
395
- encoding: US-ASCII
396
- string: ! '{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350
413
+ encoding: UTF-8
414
+ string: '{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350
397
415
  5th Avenue","city":"New York","state":"NY","zip":"10001"},"low_grade":"9","name":"Clever
398
416
  High School","nces_id":"360008000000","phone":"(212) 555-1212","principal":{"name":"Theodora
399
417
  Khan","email":"tdkhan@mailinator.com"},"school_number":"02M800","sis_id":"02M800","state_id":"712345","id":"530e595026403103360ff9fd"},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd"}]}'
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - ! '*/*; q=0.5, application/xml'
11
+ - "*/*; q=0.5, application/xml"
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  Authorization:
@@ -25,24 +25,30 @@ http_interactions:
25
25
  Access-Control-Allow-Methods:
26
26
  - GET,PATCH,POST,DELETE
27
27
  Access-Control-Allow-Origin:
28
- - ! '*'
28
+ - "*"
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Date:
32
- - Sat, 13 Sep 2014 00:07:49 GMT
32
+ - Sat, 26 Sep 2015 17:37:20 GMT
33
33
  Etag:
34
- - ! '"1525695678"'
35
- Server:
36
- - nginx/1.4.7
34
+ - '"-682802249"'
37
35
  X-Powered-By:
38
36
  - Express
37
+ X-Ratelimit-Bucket:
38
+ - bearer
39
+ X-Ratelimit-Limit:
40
+ - '1200'
41
+ X-Ratelimit-Remaining:
42
+ - '1127'
43
+ X-Ratelimit-Reset:
44
+ - '1443289062'
39
45
  Content-Length:
40
46
  - '113738'
41
47
  Connection:
42
48
  - keep-alive
43
49
  body:
44
- encoding: US-ASCII
45
- string: ! '{"data":[{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
50
+ encoding: UTF-8
51
+ string: '{"data":[{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
46
52
  Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af2"},"uri":"/v1.1/sections/530e5979049e75a9262d0af2"},{"data":{"course_name":"Group
47
53
  Guidance","course_number":"102","created":"2014-02-26T21:15:37.934Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-02-26T21:15:37.936Z","name":"Group
48
54
  Guidance - 102 - T. Vaux (Section 2)","period":"0","school":"530e595026403103360ff9fd","sis_id":"582","students":["530e5960049e75a9262cff4f","530e5960049e75a9262cff95","530e5961049e75a9262cffe0","530e5961049e75a9262d0027","530e5961049e75a9262d008d","530e5963049e75a9262d0180","530e5964049e75a9262d0300","530e5964049e75a9262d0302","530e5964049e75a9262d0304","530e5965049e75a9262d039e","530e5965049e75a9262d03b6","530e5965049e75a9262d03e8","530e5966049e75a9262d040c","530e5966049e75a9262d04cc","530e5967049e75a9262d05c0","530e5968049e75a9262d062f"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c12","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af3"},"uri":"/v1.1/sections/530e5979049e75a9262d0af3"},{"data":{"course_name":"Group
@@ -315,7 +321,7 @@ http_interactions:
315
321
  string: ''
316
322
  headers:
317
323
  Accept:
318
- - ! '*/*; q=0.5, application/xml'
324
+ - "*/*; q=0.5, application/xml"
319
325
  Accept-Encoding:
320
326
  - gzip, deflate
321
327
  Authorization:
@@ -332,24 +338,30 @@ http_interactions:
332
338
  Access-Control-Allow-Methods:
333
339
  - GET,PATCH,POST,DELETE
334
340
  Access-Control-Allow-Origin:
335
- - ! '*'
341
+ - "*"
336
342
  Content-Type:
337
343
  - application/json; charset=utf-8
338
344
  Date:
339
- - Sat, 13 Sep 2014 00:07:49 GMT
345
+ - Sat, 26 Sep 2015 17:37:20 GMT
340
346
  Etag:
341
- - ! '"-1019123713"'
342
- Server:
343
- - nginx/1.4.7
347
+ - '"93377604"'
344
348
  X-Powered-By:
345
349
  - Express
350
+ X-Ratelimit-Bucket:
351
+ - bearer
352
+ X-Ratelimit-Limit:
353
+ - '1200'
354
+ X-Ratelimit-Remaining:
355
+ - '1126'
356
+ X-Ratelimit-Reset:
357
+ - '1443289062'
346
358
  Content-Length:
347
359
  - '1343'
348
360
  Connection:
349
361
  - keep-alive
350
362
  body:
351
- encoding: US-ASCII
352
- string: ! '{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
363
+ encoding: UTF-8
364
+ string: '{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
353
365
  Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af2"},"links":[{"rel":"self","uri":"/v1.1/sections/530e5979049e75a9262d0af2"},{"rel":"district","uri":"/v1.1/sections/530e5979049e75a9262d0af2/district"},{"rel":"teacher","uri":"/v1.1/sections/530e5979049e75a9262d0af2/teacher"},{"rel":"students","uri":"/v1.1/sections/530e5979049e75a9262d0af2/students"},{"rel":"school","uri":"/v1.1/sections/530e5979049e75a9262d0af2/school"},{"rel":"events","uri":"/v1.1/sections/530e5979049e75a9262d0af2/events"}]}'
354
366
  http_version:
355
367
  recorded_at: Sat, 13 Sep 2014 00:07:49 GMT
@@ -361,7 +373,7 @@ http_interactions:
361
373
  string: ''
362
374
  headers:
363
375
  Accept:
364
- - ! '*/*; q=0.5, application/xml'
376
+ - "*/*; q=0.5, application/xml"
365
377
  Accept-Encoding:
366
378
  - gzip, deflate
367
379
  Authorization:
@@ -378,24 +390,30 @@ http_interactions:
378
390
  Access-Control-Allow-Methods:
379
391
  - GET,PATCH,POST,DELETE
380
392
  Access-Control-Allow-Origin:
381
- - ! '*'
393
+ - "*"
382
394
  Content-Type:
383
395
  - application/json; charset=utf-8
384
396
  Date:
385
- - Sat, 13 Sep 2014 00:07:50 GMT
397
+ - Sat, 26 Sep 2015 17:37:21 GMT
386
398
  Etag:
387
- - ! '"1856985347"'
388
- Server:
389
- - nginx/1.4.7
399
+ - '"-1445533152"'
390
400
  X-Powered-By:
391
401
  - Express
402
+ X-Ratelimit-Bucket:
403
+ - bearer
404
+ X-Ratelimit-Limit:
405
+ - '1200'
406
+ X-Ratelimit-Remaining:
407
+ - '1125'
408
+ X-Ratelimit-Reset:
409
+ - '1443289062'
392
410
  Content-Length:
393
411
  - '10050'
394
412
  Connection:
395
413
  - keep-alive
396
414
  body:
397
- encoding: US-ASCII
398
- string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:13.166Z","credentials":{"district_username":"williamk46","district_password":"bohjah7Ae"},"district":"4fd43cc56d11340000000005","dob":"12/5/1997","ell_status":"Y","email":"k_william@example.org","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.046Z","location":{"zip":"11429"},"name":{"first":"William","middle":"S","last":"Koelpin"},"race":"Black
415
+ encoding: UTF-8
416
+ string: '{"data":[{"data":{"created":"2014-02-26T21:15:13.166Z","credentials":{"district_username":"williamk46","district_password":"bohjah7Ae"},"district":"4fd43cc56d11340000000005","dob":"12/5/1997","ell_status":"Y","email":"k_william@example.org","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.046Z","location":{"zip":"11429"},"name":{"first":"William","middle":"S","last":"Koelpin"},"race":"Black
399
417
  or African American","school":"530e595026403103360ff9fd","sis_id":"182397746","state_id":"799666284","student_number":"182397746","id":"530e5961049e75a9262cffd9"},"uri":"/v1.1/students/530e5961049e75a9262cffd9"},{"data":{"created":"2014-02-26T21:15:13.413Z","credentials":{"district_username":"lawerencew39","district_password":"aiQuu5aht"},"district":"4fd43cc56d11340000000005","dob":"3/4/1997","ell_status":"N","email":"w.lawerence@example.net","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.177Z","location":{"zip":"10467"},"name":{"first":"Lawerence","middle":"F","last":"Weber"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"217818439","state_id":"353535663","student_number":"217818439","id":"530e5961049e75a9262d0010"},"uri":"/v1.1/students/530e5961049e75a9262d0010"},{"data":{"created":"2014-02-26T21:15:13.672Z","credentials":{"district_username":"douglasg71","district_password":"AhxahR7Th"},"district":"4fd43cc56d11340000000005","dob":"10/24/1997","ell_status":"Y","email":"g_douglas@example.org","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.296Z","location":{"zip":"10468"},"name":{"first":"Douglas","middle":"M","last":"Gusikowski"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"243865571","state_id":"621454258","student_number":"243865571","id":"530e5961049e75a9262d004e"},"uri":"/v1.1/students/530e5961049e75a9262d004e"},{"data":{"created":"2014-02-26T21:15:13.887Z","credentials":{"district_username":"lindag76","district_password":"ohgiLai3Doo"},"district":"4fd43cc56d11340000000005","dob":"12/5/1997","ell_status":"Y","email":"g_linda@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.386Z","location":{"zip":"11237"},"name":{"first":"Linda","middle":"S","last":"Glover"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"270438076","state_id":"613582425","student_number":"270438076","id":"530e5961049e75a9262d0080"},"uri":"/v1.1/students/530e5961049e75a9262d0080"},{"data":{"created":"2014-02-26T21:15:14.800Z","credentials":{"district_username":"maryk07","district_password":"Woh0Gaic"},"district":"4fd43cc56d11340000000005","dob":"4/24/1997","ell_status":"N","email":"k_mary@example.org","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:41.840Z","location":{"zip":"10011"},"name":{"first":"Mary","middle":"J","last":"Kreiger"},"race":"Two
400
418
  or More Races","school":"530e595026403103360ff9fd","sis_id":"360005607","state_id":"722234185","student_number":"360005607","id":"530e5962049e75a9262d0156"},"uri":"/v1.1/students/530e5962049e75a9262d0156"},{"data":{"created":"2014-02-26T21:15:15.231Z","credentials":{"district_username":"geraldines07","district_password":"xiuN0een9p"},"district":"4fd43cc56d11340000000005","dob":"4/12/1997","ell_status":"Y","email":"geraldine.s@example.org","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.029Z","location":{"zip":"10002"},"name":{"first":"Geraldine","middle":"J","last":"Schowalter"},"race":"Black
401
419
  or African American","school":"530e595026403103360ff9fd","sis_id":"402261307","state_id":"440879170","student_number":"402261307","id":"530e5963049e75a9262d01b7"},"uri":"/v1.1/students/530e5963049e75a9262d01b7"},{"data":{"created":"2014-02-26T21:15:15.914Z","credentials":{"district_username":"reginac63","district_password":"Vaeye8quo0z"},"district":"4fd43cc56d11340000000005","dob":"1/13/1997","ell_status":"N","email":"regina_c@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:42.386Z","location":{"zip":"10024"},"name":{"first":"Regina","middle":"K","last":"Cummings"},"race":"American
@@ -415,7 +433,7 @@ http_interactions:
415
433
  string: ''
416
434
  headers:
417
435
  Accept:
418
- - ! '*/*; q=0.5, application/xml'
436
+ - "*/*; q=0.5, application/xml"
419
437
  Accept-Encoding:
420
438
  - gzip, deflate
421
439
  Authorization:
@@ -448,8 +466,8 @@ http_interactions:
448
466
  Connection:
449
467
  - keep-alive
450
468
  body:
451
- encoding: US-ASCII
452
- string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:13.166Z","credentials":{"district_username":"williamk46","district_password":"bohjah7Ae"},"district":"4fd43cc56d11340000000005","dob":"12/5/1997","ell_status":"Y","email":"k_william@example.org","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.046Z","location":{"zip":"11429"},"name":{"first":"William","middle":"S","last":"Koelpin"},"race":"Black
469
+ encoding: UTF-8
470
+ string: '{"data":[{"data":{"created":"2014-02-26T21:15:13.166Z","credentials":{"district_username":"williamk46","district_password":"bohjah7Ae"},"district":"4fd43cc56d11340000000005","dob":"12/5/1997","ell_status":"Y","email":"k_william@example.org","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.046Z","location":{"zip":"11429"},"name":{"first":"William","middle":"S","last":"Koelpin"},"race":"Black
453
471
  or African American","school":"530e595026403103360ff9fd","sis_id":"182397746","state_id":"799666284","student_number":"182397746","id":"530e5961049e75a9262cffd9"},"uri":"/v1.1/students/530e5961049e75a9262cffd9"},{"data":{"created":"2014-02-26T21:15:13.413Z","credentials":{"district_username":"lawerencew39","district_password":"aiQuu5aht"},"district":"4fd43cc56d11340000000005","dob":"3/4/1997","ell_status":"N","email":"w.lawerence@example.net","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.177Z","location":{"zip":"10467"},"name":{"first":"Lawerence","middle":"F","last":"Weber"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"217818439","state_id":"353535663","student_number":"217818439","id":"530e5961049e75a9262d0010"},"uri":"/v1.1/students/530e5961049e75a9262d0010"},{"data":{"created":"2014-02-26T21:15:13.672Z","credentials":{"district_username":"douglasg71","district_password":"AhxahR7Th"},"district":"4fd43cc56d11340000000005","dob":"10/24/1997","ell_status":"Y","email":"g_douglas@example.org","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.296Z","location":{"zip":"10468"},"name":{"first":"Douglas","middle":"M","last":"Gusikowski"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"243865571","state_id":"621454258","student_number":"243865571","id":"530e5961049e75a9262d004e"},"uri":"/v1.1/students/530e5961049e75a9262d004e"},{"data":{"created":"2014-02-26T21:15:13.887Z","credentials":{"district_username":"lindag76","district_password":"ohgiLai3Doo"},"district":"4fd43cc56d11340000000005","dob":"12/5/1997","ell_status":"Y","email":"g_linda@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.386Z","location":{"zip":"11237"},"name":{"first":"Linda","middle":"S","last":"Glover"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"270438076","state_id":"613582425","student_number":"270438076","id":"530e5961049e75a9262d0080"},"uri":"/v1.1/students/530e5961049e75a9262d0080"},{"data":{"created":"2014-02-26T21:15:14.800Z","credentials":{"district_username":"maryk07","district_password":"Woh0Gaic"},"district":"4fd43cc56d11340000000005","dob":"4/24/1997","ell_status":"N","email":"k_mary@example.org","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:41.840Z","location":{"zip":"10011"},"name":{"first":"Mary","middle":"J","last":"Kreiger"},"race":"Two
454
472
  or More Races","school":"530e595026403103360ff9fd","sis_id":"360005607","state_id":"722234185","student_number":"360005607","id":"530e5962049e75a9262d0156"},"uri":"/v1.1/students/530e5962049e75a9262d0156"},{"data":{"created":"2014-02-26T21:15:15.231Z","credentials":{"district_username":"geraldines07","district_password":"xiuN0een9p"},"district":"4fd43cc56d11340000000005","dob":"4/12/1997","ell_status":"Y","email":"geraldine.s@example.org","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.029Z","location":{"zip":"10002"},"name":{"first":"Geraldine","middle":"J","last":"Schowalter"},"race":"Black
455
473
  or African American","school":"530e595026403103360ff9fd","sis_id":"402261307","state_id":"440879170","student_number":"402261307","id":"530e5963049e75a9262d01b7"},"uri":"/v1.1/students/530e5963049e75a9262d01b7"},{"data":{"created":"2014-02-26T21:15:15.914Z","credentials":{"district_username":"reginac63","district_password":"Vaeye8quo0z"},"district":"4fd43cc56d11340000000005","dob":"1/13/1997","ell_status":"N","email":"regina_c@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:42.386Z","location":{"zip":"10024"},"name":{"first":"Regina","middle":"K","last":"Cummings"},"race":"American
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - ! '*/*; q=0.5, application/xml'
11
+ - "*/*; q=0.5, application/xml"
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  Authorization:
@@ -25,24 +25,30 @@ http_interactions:
25
25
  Access-Control-Allow-Methods:
26
26
  - GET,PATCH,POST,DELETE
27
27
  Access-Control-Allow-Origin:
28
- - ! '*'
28
+ - "*"
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Date:
32
- - Sat, 13 Sep 2014 00:06:25 GMT
32
+ - Sat, 26 Sep 2015 17:37:35 GMT
33
33
  Etag:
34
- - ! '"1525695678"'
35
- Server:
36
- - nginx/1.4.7
34
+ - '"-682802249"'
37
35
  X-Powered-By:
38
36
  - Express
37
+ X-Ratelimit-Bucket:
38
+ - bearer
39
+ X-Ratelimit-Limit:
40
+ - '1200'
41
+ X-Ratelimit-Remaining:
42
+ - '1087'
43
+ X-Ratelimit-Reset:
44
+ - '1443289062'
39
45
  Content-Length:
40
46
  - '113738'
41
47
  Connection:
42
48
  - keep-alive
43
49
  body:
44
- encoding: US-ASCII
45
- string: ! '{"data":[{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
50
+ encoding: UTF-8
51
+ string: '{"data":[{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
46
52
  Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af2"},"uri":"/v1.1/sections/530e5979049e75a9262d0af2"},{"data":{"course_name":"Group
47
53
  Guidance","course_number":"102","created":"2014-02-26T21:15:37.934Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-02-26T21:15:37.936Z","name":"Group
48
54
  Guidance - 102 - T. Vaux (Section 2)","period":"0","school":"530e595026403103360ff9fd","sis_id":"582","students":["530e5960049e75a9262cff4f","530e5960049e75a9262cff95","530e5961049e75a9262cffe0","530e5961049e75a9262d0027","530e5961049e75a9262d008d","530e5963049e75a9262d0180","530e5964049e75a9262d0300","530e5964049e75a9262d0302","530e5964049e75a9262d0304","530e5965049e75a9262d039e","530e5965049e75a9262d03b6","530e5965049e75a9262d03e8","530e5966049e75a9262d040c","530e5966049e75a9262d04cc","530e5967049e75a9262d05c0","530e5968049e75a9262d062f"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c12","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af3"},"uri":"/v1.1/sections/530e5979049e75a9262d0af3"},{"data":{"course_name":"Group
@@ -315,7 +321,7 @@ http_interactions:
315
321
  string: ''
316
322
  headers:
317
323
  Accept:
318
- - ! '*/*; q=0.5, application/xml'
324
+ - "*/*; q=0.5, application/xml"
319
325
  Accept-Encoding:
320
326
  - gzip, deflate
321
327
  Authorization:
@@ -332,24 +338,30 @@ http_interactions:
332
338
  Access-Control-Allow-Methods:
333
339
  - GET,PATCH,POST,DELETE
334
340
  Access-Control-Allow-Origin:
335
- - ! '*'
341
+ - "*"
336
342
  Content-Type:
337
343
  - application/json; charset=utf-8
338
344
  Date:
339
- - Sat, 13 Sep 2014 00:06:26 GMT
345
+ - Sat, 26 Sep 2015 17:37:36 GMT
340
346
  Etag:
341
- - ! '"-1019123713"'
342
- Server:
343
- - nginx/1.4.7
347
+ - '"93377604"'
344
348
  X-Powered-By:
345
349
  - Express
350
+ X-Ratelimit-Bucket:
351
+ - bearer
352
+ X-Ratelimit-Limit:
353
+ - '1200'
354
+ X-Ratelimit-Remaining:
355
+ - '1086'
356
+ X-Ratelimit-Reset:
357
+ - '1443289062'
346
358
  Content-Length:
347
359
  - '1343'
348
360
  Connection:
349
361
  - keep-alive
350
362
  body:
351
- encoding: US-ASCII
352
- string: ! '{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
363
+ encoding: UTF-8
364
+ string: '{"data":{"course_name":"Group Guidance","course_number":"101","created":"2014-02-26T21:15:37.927Z","district":"4fd43cc56d11340000000005","grade":"10","last_modified":"2014-08-11T18:35:06.714Z","name":"Group
353
365
  Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e5979049e75a9262d0af2"},"links":[{"rel":"self","uri":"/v1.1/sections/530e5979049e75a9262d0af2"},{"rel":"district","uri":"/v1.1/sections/530e5979049e75a9262d0af2/district"},{"rel":"teacher","uri":"/v1.1/sections/530e5979049e75a9262d0af2/teacher"},{"rel":"students","uri":"/v1.1/sections/530e5979049e75a9262d0af2/students"},{"rel":"school","uri":"/v1.1/sections/530e5979049e75a9262d0af2/school"},{"rel":"events","uri":"/v1.1/sections/530e5979049e75a9262d0af2/events"}]}'
354
366
  http_version:
355
367
  recorded_at: Sat, 13 Sep 2014 00:06:26 GMT
@@ -361,7 +373,7 @@ http_interactions:
361
373
  string: ''
362
374
  headers:
363
375
  Accept:
364
- - ! '*/*; q=0.5, application/xml'
376
+ - "*/*; q=0.5, application/xml"
365
377
  Accept-Encoding:
366
378
  - gzip, deflate
367
379
  Authorization:
@@ -378,22 +390,28 @@ http_interactions:
378
390
  Access-Control-Allow-Methods:
379
391
  - GET,PATCH,POST,DELETE
380
392
  Access-Control-Allow-Origin:
381
- - ! '*'
393
+ - "*"
382
394
  Content-Type:
383
395
  - application/json; charset=utf-8
384
396
  Date:
385
- - Sat, 13 Sep 2014 00:06:26 GMT
386
- Server:
387
- - nginx/1.4.7
397
+ - Sat, 26 Sep 2015 17:37:36 GMT
388
398
  X-Powered-By:
389
399
  - Express
400
+ X-Ratelimit-Bucket:
401
+ - bearer
402
+ X-Ratelimit-Limit:
403
+ - '1200'
404
+ X-Ratelimit-Remaining:
405
+ - '1085'
406
+ X-Ratelimit-Reset:
407
+ - '1443289062'
390
408
  Content-Length:
391
409
  - '526'
392
410
  Connection:
393
411
  - keep-alive
394
412
  body:
395
- encoding: US-ASCII
396
- string: ! '{"data":{"created":"2014-02-26T21:15:01.541Z","credentials":{"district_username":"brianna.greene","district_password":"878fddh"},"district":"4fd43cc56d11340000000005","email":"brianna.greene@example.org","last_modified":"2014-02-26T21:15:01.542Z","name":{"first":"Brianna","middle":"P","last":"Greene"},"school":"530e595026403103360ff9fd","sis_id":"86","teacher_number":"595853","title":"High
413
+ encoding: UTF-8
414
+ string: '{"data":{"created":"2014-02-26T21:15:01.541Z","credentials":{"district_username":"brianna.greene","district_password":"878fddh"},"district":"4fd43cc56d11340000000005","email":"brianna.greene@example.org","last_modified":"2014-02-26T21:15:01.542Z","name":{"first":"Brianna","middle":"P","last":"Greene"},"school":"530e595026403103360ff9fd","sis_id":"86","teacher_number":"595853","title":"High
397
415
  School Guidance Counselor","id":"530e5955d50c310f36112c11"},"links":[{"rel":"self","uri":"/v1.1/teachers/530e5955d50c310f36112c11"}]}'
398
416
  http_version:
399
417
  recorded_at: Sat, 13 Sep 2014 00:06:26 GMT
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - ! '*/*; q=0.5, application/xml'
11
+ - "*/*; q=0.5, application/xml"
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  Authorization:
@@ -25,24 +25,30 @@ http_interactions:
25
25
  Access-Control-Allow-Methods:
26
26
  - GET,PATCH,POST,DELETE
27
27
  Access-Control-Allow-Origin:
28
- - ! '*'
28
+ - "*"
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Date:
32
- - Sat, 13 Sep 2014 00:07:39 GMT
32
+ - Sat, 26 Sep 2015 17:37:29 GMT
33
33
  Etag:
34
- - ! '"-1704869160"'
35
- Server:
36
- - nginx/1.4.7
34
+ - '"-1672977800"'
37
35
  X-Powered-By:
38
36
  - Express
37
+ X-Ratelimit-Bucket:
38
+ - bearer
39
+ X-Ratelimit-Limit:
40
+ - '1200'
41
+ X-Ratelimit-Remaining:
42
+ - '1104'
43
+ X-Ratelimit-Reset:
44
+ - '1443289062'
39
45
  Content-Length:
40
46
  - '66289'
41
47
  Connection:
42
48
  - keep-alive
43
49
  body:
44
- encoding: US-ASCII
45
- string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
50
+ encoding: UTF-8
51
+ string: '{"data":[{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
46
52
  or African American","school":"530e595026403103360ff9fe","sis_id":"100095233","state_id":"231786324","student_number":"100095233","id":"530e5960049e75a9262cff1d"},"uri":"/v1.1/students/530e5960049e75a9262cff1d"},{"data":{"created":"2014-02-26T21:15:12.358Z","credentials":{"district_username":"douglasw58","district_password":"ahFii2nae"},"district":"4fd43cc56d11340000000005","dob":"6/18/1998","ell_status":"Y","email":"w_douglas@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.661Z","location":{"zip":"11004"},"name":{"first":"Douglas","middle":"S","last":"Wisoky"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"101565758","state_id":"498006597","student_number":"101565758","id":"530e5960049e75a9262cff1e"},"uri":"/v1.1/students/530e5960049e75a9262cff1e"},{"data":{"created":"2014-02-26T21:15:12.368Z","credentials":{"district_username":"joel42","district_password":"CaaDie0eboo"},"district":"4fd43cc56d11340000000005","dob":"7/4/1997","ell_status":"Y","email":"l.joe@example.net","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.664Z","location":{"zip":"10473"},"name":{"first":"Joe","middle":"S","last":"Lakin"},"race":"Black
47
53
  or African American","school":"530e595026403103360ff9fd","sis_id":"106078142","state_id":"635493722","student_number":"106078142","id":"530e5960049e75a9262cff1f"},"uri":"/v1.1/students/530e5960049e75a9262cff1f"},{"data":{"created":"2014-02-26T21:15:12.374Z","credentials":{"district_username":"evalynb40","district_password":"ooXahwook2"},"district":"4fd43cc56d11340000000005","dob":"8/10/2006","ell_status":"N","email":"b_evalyn@example.org","frl_status":"Paid","gender":"F","grade":"1","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.668Z","location":{"zip":"10029"},"name":{"first":"Evalyn","middle":"J","last":"Bradtke"},"race":"Black
48
54
  or African American","school":"530e595026403103360ff9fe","sis_id":"106091540","state_id":"552729322","student_number":"106091540","id":"530e5960049e75a9262cff20"},"uri":"/v1.1/students/530e5960049e75a9262cff20"},{"data":{"created":"2014-02-26T21:15:12.382Z","credentials":{"district_username":"coryt00","district_password":"ahW1taesao5"},"district":"4fd43cc56d11340000000005","dob":"7/21/1997","ell_status":"Y","email":"cory_t@example.net","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.673Z","location":{"zip":"10038"},"name":{"first":"Cory","middle":"V","last":"Thompson"},"race":"Black
@@ -124,7 +130,7 @@ http_interactions:
124
130
  string: ''
125
131
  headers:
126
132
  Accept:
127
- - ! '*/*; q=0.5, application/xml'
133
+ - "*/*; q=0.5, application/xml"
128
134
  Accept-Encoding:
129
135
  - gzip, deflate
130
136
  Authorization:
@@ -141,24 +147,30 @@ http_interactions:
141
147
  Access-Control-Allow-Methods:
142
148
  - GET,PATCH,POST,DELETE
143
149
  Access-Control-Allow-Origin:
144
- - ! '*'
150
+ - "*"
145
151
  Content-Type:
146
152
  - application/json; charset=utf-8
147
153
  Date:
148
- - Sat, 13 Sep 2014 00:07:39 GMT
154
+ - Sat, 26 Sep 2015 17:37:29 GMT
149
155
  Etag:
150
- - ! '"1850740737"'
151
- Server:
152
- - nginx/1.4.7
156
+ - '"558167227"'
153
157
  X-Powered-By:
154
158
  - Express
159
+ X-Ratelimit-Bucket:
160
+ - bearer
161
+ X-Ratelimit-Limit:
162
+ - '1200'
163
+ X-Ratelimit-Remaining:
164
+ - '1103'
165
+ X-Ratelimit-Reset:
166
+ - '1443289062'
155
167
  Content-Length:
156
168
  - '1151'
157
169
  Connection:
158
170
  - keep-alive
159
171
  body:
160
- encoding: US-ASCII
161
- string: ! '{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
172
+ encoding: UTF-8
173
+ string: '{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
162
174
  or African American","school":"530e595026403103360ff9fe","sis_id":"100095233","state_id":"231786324","student_number":"100095233","id":"530e5960049e75a9262cff1d"},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d"},{"rel":"district","uri":"/v1.1/students/530e5960049e75a9262cff1d/district"},{"rel":"sections","uri":"/v1.1/students/530e5960049e75a9262cff1d/sections"},{"rel":"school","uri":"/v1.1/students/530e5960049e75a9262cff1d/school"},{"rel":"teachers","uri":"/v1.1/students/530e5960049e75a9262cff1d/teachers"},{"rel":"contacts","uri":"/v1.1/students/530e5960049e75a9262cff1d/contacts"},{"rel":"events","uri":"/v1.1/students/530e5960049e75a9262cff1d/events"}]}'
163
175
  http_version:
164
176
  recorded_at: Sat, 13 Sep 2014 00:07:39 GMT
@@ -170,7 +182,7 @@ http_interactions:
170
182
  string: ''
171
183
  headers:
172
184
  Accept:
173
- - ! '*/*; q=0.5, application/xml'
185
+ - "*/*; q=0.5, application/xml"
174
186
  Accept-Encoding:
175
187
  - gzip, deflate
176
188
  Authorization:
@@ -187,22 +199,28 @@ http_interactions:
187
199
  Access-Control-Allow-Methods:
188
200
  - GET,PATCH,POST,DELETE
189
201
  Access-Control-Allow-Origin:
190
- - ! '*'
202
+ - "*"
191
203
  Content-Type:
192
204
  - application/json; charset=utf-8
193
205
  Date:
194
- - Sat, 13 Sep 2014 00:07:39 GMT
195
- Server:
196
- - nginx/1.4.7
206
+ - Sat, 26 Sep 2015 17:37:30 GMT
197
207
  X-Powered-By:
198
208
  - Express
209
+ X-Ratelimit-Bucket:
210
+ - bearer
211
+ X-Ratelimit-Limit:
212
+ - '1200'
213
+ X-Ratelimit-Remaining:
214
+ - '1102'
215
+ X-Ratelimit-Reset:
216
+ - '1443289062'
199
217
  Content-Length:
200
218
  - '139'
201
219
  Connection:
202
220
  - keep-alive
203
221
  body:
204
- encoding: US-ASCII
205
- string: ! '{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005"}]}'
222
+ encoding: UTF-8
223
+ string: '{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005"}]}'
206
224
  http_version:
207
- recorded_at: Sat, 13 Sep 2014 00:07:39 GMT
225
+ recorded_at: Sat, 26 Sep 2015 17:37:30 GMT
208
226
  recorded_with: VCR 2.9.3