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:02:47 GMT
32
+ - Sat, 26 Sep 2015 17:41:00 GMT
33
33
  Etag:
34
- - ! '"-2093033185"'
35
- Server:
36
- - nginx/1.4.7
34
+ - '"-1610775002"'
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
+ - '1164'
43
+ X-Ratelimit-Reset:
44
+ - '1443289303'
39
45
  Content-Length:
40
46
  - '13420'
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
@@ -58,7 +64,7 @@ http_interactions:
58
64
  or More Races","school":"530e595026403103360ff9fd","sis_id":"115115824","state_id":"761459009","student_number":"115115824","id":"530e5960049e75a9262cff2f"},"uri":"/v1.1/students/530e5960049e75a9262cff2f"},{"data":{"created":"2014-02-26T21:15:12.473Z","credentials":{"district_username":"arleneh66","district_password":"ak0yahReesie"},"district":"4fd43cc56d11340000000005","dob":"11/26/2002","ell_status":"Y","email":"h.arlene@example.net","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.735Z","location":{"zip":"11206"},"name":{"first":"Arlene","middle":"K","last":"Huels"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"118346066","state_id":"483748383","student_number":"118346066","id":"530e5960049e75a9262cff33"},"uri":"/v1.1/students/530e5960049e75a9262cff33"},{"data":{"created":"2014-02-26T21:15:12.486Z","credentials":{"district_username":"daniloc44","district_password":"ooph8aiLe"},"district":"4fd43cc56d11340000000005","dob":"11/16/1999","ell_status":"Y","email":"danilo_c@example.com","frl_status":"Paid","gender":"M","grade":"8","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.741Z","location":{"zip":"10456"},"name":{"first":"Danilo","middle":"S","last":"Carter"},"race":"Caucasian","school":"530e595026403103360ff9ff","sis_id":"119227044","state_id":"320059203","student_number":"119227044","id":"530e5960049e75a9262cff37"},"uri":"/v1.1/students/530e5960049e75a9262cff37"},{"data":{"created":"2014-02-26T21:15:12.492Z","credentials":{"district_username":"shawnw68","district_password":"nuY3yaeY9Lei"},"district":"4fd43cc56d11340000000005","dob":"3/11/1997","ell_status":"N","email":"shawn_w@example.org","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.745Z","location":{"zip":"10303"},"name":{"first":"Shawn","middle":"S","last":"Willms"},"race":"Black
59
65
  or African American","school":"530e595026403103360ff9fd","sis_id":"119477368","state_id":"852618443","student_number":"119477368","id":"530e5960049e75a9262cff39"},"uri":"/v1.1/students/530e5960049e75a9262cff39"},{"data":{"created":"2014-02-26T21:15:12.498Z","credentials":{"district_username":"fredt34","district_password":"ieXahy1j"},"district":"4fd43cc56d11340000000005","dob":"10/30/1998","ell_status":"Y","email":"fred.t@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.748Z","location":{"zip":"10003"},"name":{"first":"Fred","middle":"W","last":"Trantow"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"119622134","state_id":"354252109","student_number":"119622134","id":"530e5960049e75a9262cff3c"},"uri":"/v1.1/students/530e5960049e75a9262cff3c"}],"paging":{"current":1,"total":51,"count":1004},"links":[{"rel":"self","uri":"/v1.1/students?limit=20"},{"rel":"next","uri":"/v1.1/students?limit=20&starting_after=530e5960049e75a9262cff3c"}]}'
60
66
  http_version:
61
- recorded_at: Sat, 13 Sep 2014 00:02:47 GMT
67
+ recorded_at: Sat, 26 Sep 2015 17:41:00 GMT
62
68
  - request:
63
69
  method: get
64
70
  uri: https://api.clever.com/v1.1/students?where=%7B%22_id%22:%7B%22$in%22:%5B%22530e5960049e75a9262cff1d%22,%22530e5960049e75a9262cff1f%22,%22530e5960049e75a9262cff21%22,%22530e5960049e75a9262cff23%22,%22530e5960049e75a9262cff25%22,%22530e5960049e75a9262cff27%22,%22530e5960049e75a9262cff29%22,%22530e5960049e75a9262cff2d%22,%22530e5960049e75a9262cff33%22,%22530e5960049e75a9262cff39%22%5D%7D%7D
@@ -67,7 +73,7 @@ http_interactions:
67
73
  string: ''
68
74
  headers:
69
75
  Accept:
70
- - ! '*/*; q=0.5, application/xml'
76
+ - "*/*; q=0.5, application/xml"
71
77
  Accept-Encoding:
72
78
  - gzip, deflate
73
79
  Authorization:
@@ -84,24 +90,30 @@ http_interactions:
84
90
  Access-Control-Allow-Methods:
85
91
  - GET,PATCH,POST,DELETE
86
92
  Access-Control-Allow-Origin:
87
- - ! '*'
93
+ - "*"
88
94
  Content-Type:
89
95
  - application/json; charset=utf-8
90
96
  Date:
91
- - Sat, 13 Sep 2014 00:02:47 GMT
97
+ - Sat, 26 Sep 2015 17:41:00 GMT
92
98
  Etag:
93
- - ! '"456977829"'
94
- Server:
95
- - nginx/1.4.7
99
+ - '"483283638"'
96
100
  X-Powered-By:
97
101
  - Express
102
+ X-Ratelimit-Bucket:
103
+ - bearer
104
+ X-Ratelimit-Limit:
105
+ - '1200'
106
+ X-Ratelimit-Remaining:
107
+ - '1163'
108
+ X-Ratelimit-Reset:
109
+ - '1443289303'
98
110
  Content-Length:
99
111
  - '7068'
100
112
  Connection:
101
113
  - keep-alive
102
114
  body:
103
- encoding: US-ASCII
104
- 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
115
+ encoding: UTF-8
116
+ 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
105
117
  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.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
106
118
  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.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
107
119
  or African American","school":"530e595026403103360ff9fd","sis_id":"106867300","state_id":"863433981","student_number":"106867300","id":"530e5960049e75a9262cff21"},"uri":"/v1.1/students/530e5960049e75a9262cff21"},{"data":{"created":"2014-02-26T21:15:12.391Z","credentials":{"district_username":"juliar95","district_password":"bohTunaequ1oh"},"district":"4fd43cc56d11340000000005","dob":"1/29/1998","ell_status":"Y","email":"julia.r@example.org","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.679Z","location":{"zip":"11239"},"name":{"first":"Julia","middle":"B","last":"Runolfsdottir"},"race":"Black
@@ -111,5 +123,5 @@ http_interactions:
111
123
  or African American","school":"530e595026403103360ff9ff","sis_id":"114766758","state_id":"361263052","student_number":"114766758","id":"530e5960049e75a9262cff29"},"uri":"/v1.1/students/530e5960049e75a9262cff29"},{"data":{"created":"2014-02-26T21:15:12.454Z","credentials":{"district_username":"maryr27","district_password":"ohVie2aeD"},"district":"4fd43cc56d11340000000005","dob":"9/30/2003","ell_status":"N","email":"mary_r@example.net","frl_status":"Paid","gender":"F","grade":"4","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.728Z","location":{"zip":"10038"},"name":{"first":"Mary","middle":"L","last":"Ryan"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"115088927","state_id":"155063237","student_number":"115088927","id":"530e5960049e75a9262cff2d"},"uri":"/v1.1/students/530e5960049e75a9262cff2d"},{"data":{"created":"2014-02-26T21:15:12.473Z","credentials":{"district_username":"arleneh66","district_password":"ak0yahReesie"},"district":"4fd43cc56d11340000000005","dob":"11/26/2002","ell_status":"Y","email":"h.arlene@example.net","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.735Z","location":{"zip":"11206"},"name":{"first":"Arlene","middle":"K","last":"Huels"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"118346066","state_id":"483748383","student_number":"118346066","id":"530e5960049e75a9262cff33"},"uri":"/v1.1/students/530e5960049e75a9262cff33"},{"data":{"created":"2014-02-26T21:15:12.492Z","credentials":{"district_username":"shawnw68","district_password":"nuY3yaeY9Lei"},"district":"4fd43cc56d11340000000005","dob":"3/11/1997","ell_status":"N","email":"shawn_w@example.org","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:40.745Z","location":{"zip":"10303"},"name":{"first":"Shawn","middle":"S","last":"Willms"},"race":"Black
112
124
  or African American","school":"530e595026403103360ff9fd","sis_id":"119477368","state_id":"852618443","student_number":"119477368","id":"530e5960049e75a9262cff39"},"uri":"/v1.1/students/530e5960049e75a9262cff39"}],"paging":{"current":1,"total":1,"count":10},"links":[{"rel":"self","uri":"/v1.1/students?where=%7B%22_id%22:%7B%22$in%22:[%22530e5960049e75a9262cff1d%22,%22530e5960049e75a9262cff1f%22,%22530e5960049e75a9262cff21%22,%22530e5960049e75a9262cff23%22,%22530e5960049e75a9262cff25%22,%22530e5960049e75a9262cff27%22,%22530e5960049e75a9262cff29%22,%22530e5960049e75a9262cff2d%22,%22530e5960049e75a9262cff33%22,%22530e5960049e75a9262cff39%22]%7D%7D"}]}'
113
125
  http_version:
114
- recorded_at: Sat, 13 Sep 2014 00:02:47 GMT
126
+ recorded_at: Sat, 26 Sep 2015 17:41:01 GMT
115
127
  recorded_with: VCR 2.9.3
@@ -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,28 @@ 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:05:06 GMT
33
- Etag:
34
- - ! '"-409931571"'
35
- Server:
36
- - nginx/1.4.7
32
+ - Sat, 26 Sep 2015 17:40:55 GMT
37
33
  X-Powered-By:
38
34
  - Express
35
+ X-Ratelimit-Bucket:
36
+ - bearer
37
+ X-Ratelimit-Limit:
38
+ - '1200'
39
+ X-Ratelimit-Remaining:
40
+ - '1176'
41
+ X-Ratelimit-Reset:
42
+ - '1443289303'
39
43
  Content-Length:
40
44
  - '44617'
41
45
  Connection:
42
46
  - keep-alive
43
47
  body:
44
- encoding: US-ASCII
45
- string: ! '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
48
+ encoding: UTF-8
49
+ string: '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
46
50
  3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"data":{"created":"2012-11-27T15:04:48.474Z","credentials":{"district_password":"OMeitoo3v","district_username":"reuben.conn"},"district":"4fd43cc56d11340000000005","email":"conn_reuben@example.net","last_modified":"2014-02-26T21:15:01.234Z","name":{"first":"Reuben","last":"Conn","middle":"K"},"school":"530e595026403103360ff9ff","sis_id":"33","teacher_number":"215041","title":"Grade
47
51
  8 Mathematics Teacher","id":"50b4d690ad221ab95f1c6c39"},"uri":"/v1.1/teachers/50b4d690ad221ab95f1c6c39"},{"data":{"created":"2012-12-01T15:02:36.961Z","credentials":{"district_password":"ru3o8rusbf","district_username":"steven.ogden"},"district":"4fd43cc56d11340000000005","email":"ogden_steven@example.net","last_modified":"2014-02-26T21:15:01.485Z","name":{"first":"Steven","last":"Ogden","middle":"Q"},"school":"530e595026403103360ff9fd","sis_id":"81","teacher_number":"474958","title":"High
48
52
  School Science Teacher","id":"50ba1c0c4eda5d94372227eb"},"uri":"/v1.1/teachers/50ba1c0c4eda5d94372227eb"},{"data":{"created":"2012-12-05T15:00:02.670Z","credentials":{"district_password":"Coo0ooyahgh","district_username":"hauck.haylie"},"district":"4fd43cc56d11340000000005","email":"hauck.haylie@example.com","last_modified":"2014-02-26T21:15:01.358Z","name":{"first":"Haylie","last":"Hauck","middle":"J"},"school":"530e595026403103360ff9fd","sis_id":"48","teacher_number":"830340","title":"Grade
@@ -133,7 +137,7 @@ http_interactions:
133
137
  Coach","id":"530e5955d50c310f36112c18"},"uri":"/v1.1/teachers/530e5955d50c310f36112c18"},{"data":{"created":"2014-02-26T21:15:01.572Z","credentials":{"district_username":"m_paucek","district_password":"jhga8salgh"},"district":"4fd43cc56d11340000000005","email":"paucek_m@example.org","last_modified":"2014-02-26T21:15:01.574Z","name":{"first":"Meaghan","middle":"P","last":"Paucek"},"school":"530e595026403103360ff9fd","sis_id":"93","teacher_number":"843713","title":"High
134
138
  School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers"}]}'
135
139
  http_version:
136
- recorded_at: Sat, 13 Sep 2014 00:05:06 GMT
140
+ recorded_at: Sat, 26 Sep 2015 17:40:56 GMT
137
141
  - request:
138
142
  method: get
139
143
  uri: https://api.clever.com/v1.1/teachers?count=true
@@ -142,7 +146,7 @@ http_interactions:
142
146
  string: ''
143
147
  headers:
144
148
  Accept:
145
- - ! '*/*; q=0.5, application/xml'
149
+ - "*/*; q=0.5, application/xml"
146
150
  Accept-Encoding:
147
151
  - gzip, deflate
148
152
  Authorization:
@@ -159,22 +163,28 @@ http_interactions:
159
163
  Access-Control-Allow-Methods:
160
164
  - GET,PATCH,POST,DELETE
161
165
  Access-Control-Allow-Origin:
162
- - ! '*'
166
+ - "*"
163
167
  Content-Type:
164
168
  - application/json; charset=utf-8
165
169
  Date:
166
- - Sat, 13 Sep 2014 00:05:06 GMT
167
- Server:
168
- - nginx/1.4.7
170
+ - Sat, 26 Sep 2015 17:40:56 GMT
169
171
  X-Powered-By:
170
172
  - Express
173
+ X-Ratelimit-Bucket:
174
+ - bearer
175
+ X-Ratelimit-Limit:
176
+ - '1200'
177
+ X-Ratelimit-Remaining:
178
+ - '1175'
179
+ X-Ratelimit-Reset:
180
+ - '1443289303'
171
181
  Content-Length:
172
182
  - '71'
173
183
  Connection:
174
184
  - keep-alive
175
185
  body:
176
- encoding: US-ASCII
177
- string: ! '{"count":89,"links":[{"rel":"self","uri":"/v1.1/teachers?count=true"}]}'
186
+ encoding: UTF-8
187
+ string: '{"count":89,"links":[{"rel":"self","uri":"/v1.1/teachers?count=true"}]}'
178
188
  http_version:
179
189
  recorded_at: Sat, 13 Sep 2014 00:05:06 GMT
180
190
  recorded_with: VCR 2.9.3
@@ -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,28 @@ 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:05:05 GMT
33
- Etag:
34
- - ! '"-327461194"'
35
- Server:
36
- - nginx/1.4.7
32
+ - Sat, 26 Sep 2015 17:40:51 GMT
37
33
  X-Powered-By:
38
34
  - Express
35
+ X-Ratelimit-Bucket:
36
+ - bearer
37
+ X-Ratelimit-Limit:
38
+ - '1200'
39
+ X-Ratelimit-Remaining:
40
+ - '1188'
41
+ X-Ratelimit-Reset:
42
+ - '1443289303'
39
43
  Content-Length:
40
44
  - '10140'
41
45
  Connection:
42
46
  - keep-alive
43
47
  body:
44
- encoding: US-ASCII
45
- string: ! '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
48
+ encoding: UTF-8
49
+ string: '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
46
50
  3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"data":{"created":"2012-11-27T15:04:48.474Z","credentials":{"district_password":"OMeitoo3v","district_username":"reuben.conn"},"district":"4fd43cc56d11340000000005","email":"conn_reuben@example.net","last_modified":"2014-02-26T21:15:01.234Z","name":{"first":"Reuben","last":"Conn","middle":"K"},"school":"530e595026403103360ff9ff","sis_id":"33","teacher_number":"215041","title":"Grade
47
51
  8 Mathematics Teacher","id":"50b4d690ad221ab95f1c6c39"},"uri":"/v1.1/teachers/50b4d690ad221ab95f1c6c39"},{"data":{"created":"2012-12-01T15:02:36.961Z","credentials":{"district_password":"ru3o8rusbf","district_username":"steven.ogden"},"district":"4fd43cc56d11340000000005","email":"ogden_steven@example.net","last_modified":"2014-02-26T21:15:01.485Z","name":{"first":"Steven","last":"Ogden","middle":"Q"},"school":"530e595026403103360ff9fd","sis_id":"81","teacher_number":"474958","title":"High
48
52
  School Science Teacher","id":"50ba1c0c4eda5d94372227eb"},"uri":"/v1.1/teachers/50ba1c0c4eda5d94372227eb"},{"data":{"created":"2012-12-05T15:00:02.670Z","credentials":{"district_password":"Coo0ooyahgh","district_username":"hauck.haylie"},"district":"4fd43cc56d11340000000005","email":"hauck.haylie@example.com","last_modified":"2014-02-26T21:15:01.358Z","name":{"first":"Haylie","last":"Hauck","middle":"J"},"school":"530e595026403103360ff9fd","sis_id":"48","teacher_number":"830340","title":"Grade
@@ -64,7 +68,7 @@ http_interactions:
64
68
  5 Common Branch Teacher","id":"530e5955d50c310f36112bd3"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd3"},{"data":{"created":"2014-02-26T21:15:01.138Z","credentials":{"district_username":"daniela.raynor","district_password":"quahse5Ch"},"district":"4fd43cc56d11340000000005","email":"raynor_daniela@example.net","last_modified":"2014-02-26T21:15:01.144Z","name":{"first":"Daniela","middle":"F","last":"Raynor"},"school":"530e595026403103360ff9fe","sis_id":"19","teacher_number":"493218","title":"Grade
65
69
  5 Common Branch Teacher","id":"530e5955d50c310f36112bd4"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd4"}],"paging":{"current":1,"total":5,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers?limit=20"},{"rel":"next","uri":"/v1.1/teachers?limit=20&starting_after=530e5955d50c310f36112bd4"}]}'
66
70
  http_version:
67
- recorded_at: Sat, 13 Sep 2014 00:05:05 GMT
71
+ recorded_at: Sat, 26 Sep 2015 17:40:51 GMT
68
72
  - request:
69
73
  method: get
70
74
  uri: https://api.clever.com/v1.1/teachers?where=%7B%22_id%22:%7B%22$in%22:%5B%22509fbd7ec474fab64a8e9d53%22,%2250ba1c0c4eda5d94372227eb%22,%2250c20477987eda0d3d02d30e%22,%2250c4a79299ad702e0228e956%22,%2250c89ff19ed67a1d3f1f50c9%22,%22530e5955d50c310f36112bcb%22,%22530e5955d50c310f36112bcd%22,%22530e5955d50c310f36112bcf%22,%22530e5955d50c310f36112bd1%22,%22530e5955d50c310f36112bd3%22%5D%7D%7D
@@ -73,7 +77,7 @@ http_interactions:
73
77
  string: ''
74
78
  headers:
75
79
  Accept:
76
- - ! '*/*; q=0.5, application/xml'
80
+ - "*/*; q=0.5, application/xml"
77
81
  Accept-Encoding:
78
82
  - gzip, deflate
79
83
  Authorization:
@@ -90,24 +94,28 @@ http_interactions:
90
94
  Access-Control-Allow-Methods:
91
95
  - GET,PATCH,POST,DELETE
92
96
  Access-Control-Allow-Origin:
93
- - ! '*'
97
+ - "*"
94
98
  Content-Type:
95
99
  - application/json; charset=utf-8
96
100
  Date:
97
- - Sat, 13 Sep 2014 00:05:05 GMT
98
- Etag:
99
- - ! '"-500104801"'
100
- Server:
101
- - nginx/1.4.7
101
+ - Sat, 26 Sep 2015 17:40:51 GMT
102
102
  X-Powered-By:
103
103
  - Express
104
+ X-Ratelimit-Bucket:
105
+ - bearer
106
+ X-Ratelimit-Limit:
107
+ - '1200'
108
+ X-Ratelimit-Remaining:
109
+ - '1187'
110
+ X-Ratelimit-Reset:
111
+ - '1443289303'
104
112
  Content-Length:
105
113
  - '5406'
106
114
  Connection:
107
115
  - keep-alive
108
116
  body:
109
- encoding: US-ASCII
110
- string: ! '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
117
+ encoding: UTF-8
118
+ string: '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
111
119
  3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"data":{"created":"2012-12-01T15:02:36.961Z","credentials":{"district_password":"ru3o8rusbf","district_username":"steven.ogden"},"district":"4fd43cc56d11340000000005","email":"ogden_steven@example.net","last_modified":"2014-02-26T21:15:01.485Z","name":{"first":"Steven","last":"Ogden","middle":"Q"},"school":"530e595026403103360ff9fd","sis_id":"81","teacher_number":"474958","title":"High
112
120
  School Science Teacher","id":"50ba1c0c4eda5d94372227eb"},"uri":"/v1.1/teachers/50ba1c0c4eda5d94372227eb"},{"data":{"created":"2012-12-07T15:00:07.732Z","credentials":{"district_password":"ae9IShie0im","district_username":"manuel_purdy"},"district":"4fd43cc56d11340000000005","email":"manuel.purdy@example.com","last_modified":"2014-02-26T21:15:01.296Z","name":{"first":"Manuel","last":"Purdy","middle":"S"},"school":"530e595026403103360ff9ff","sis_id":"39","teacher_number":"731037","title":"Grade
113
121
  8 Mathematics Teacher","id":"50c20477987eda0d3d02d30e"},"uri":"/v1.1/teachers/50c20477987eda0d3d02d30e"},{"data":{"created":"2012-12-09T15:00:34.246Z","credentials":{"district_password":"ooDungei8ah","district_username":"doyle_rupert"},"district":"4fd43cc56d11340000000005","email":"doyle.rupert@example.net","last_modified":"2014-02-26T21:15:01.369Z","name":{"first":"Rupert","last":"Doyle","middle":"V"},"school":"530e595026403103360ff9fd","sis_id":"50","teacher_number":"473664","title":"Grade
@@ -119,5 +127,5 @@ http_interactions:
119
127
  School Science Teacher","id":"530e5955d50c310f36112bd1"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd1"},{"data":{"created":"2014-02-26T21:15:01.121Z","credentials":{"district_username":"marley_walsh","district_password":"aex5iSee"},"district":"4fd43cc56d11340000000005","email":"walsh_marley@example.org","last_modified":"2014-02-26T21:15:01.123Z","name":{"first":"Marley","middle":"K","last":"Walsh"},"school":"530e595026403103360ff9fe","sis_id":"18","teacher_number":"399452","title":"Grade
120
128
  5 Common Branch Teacher","id":"530e5955d50c310f36112bd3"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd3"}],"paging":{"current":1,"total":1,"count":10},"links":[{"rel":"self","uri":"/v1.1/teachers?where=%7B%22_id%22:%7B%22$in%22:[%22509fbd7ec474fab64a8e9d53%22,%2250ba1c0c4eda5d94372227eb%22,%2250c20477987eda0d3d02d30e%22,%2250c4a79299ad702e0228e956%22,%2250c89ff19ed67a1d3f1f50c9%22,%22530e5955d50c310f36112bcb%22,%22530e5955d50c310f36112bcd%22,%22530e5955d50c310f36112bcf%22,%22530e5955d50c310f36112bd1%22,%22530e5955d50c310f36112bd3%22]%7D%7D"}]}'
121
129
  http_version:
122
- recorded_at: Sat, 13 Sep 2014 00:05:05 GMT
130
+ recorded_at: Sat, 26 Sep 2015 17:40:52 GMT
123
131
  recorded_with: VCR 2.9.3
@@ -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:02:47 GMT
33
- Server:
34
- - nginx/1.4.7
32
+ - Sat, 26 Sep 2015 17:40:54 GMT
35
33
  X-Powered-By:
36
34
  - Express
35
+ X-Ratelimit-Bucket:
36
+ - bearer
37
+ X-Ratelimit-Limit:
38
+ - '1200'
39
+ X-Ratelimit-Remaining:
40
+ - '1180'
41
+ X-Ratelimit-Reset:
42
+ - '1443289303'
37
43
  Content-Length:
38
44
  - '217'
39
45
  Connection:
40
46
  - keep-alive
41
47
  body:
42
- encoding: US-ASCII
43
- string: ! '{"data":[{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"uri":"/v1.1/districts/4fd43cc56d11340000000005"}],"paging":{"current":1,"total":1,"count":1},"links":[{"rel":"self","uri":"/v1.1/districts"}]}'
48
+ encoding: UTF-8
49
+ string: '{"data":[{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"uri":"/v1.1/districts/4fd43cc56d11340000000005"}],"paging":{"current":1,"total":1,"count":1},"links":[{"rel":"self","uri":"/v1.1/districts"}]}'
44
50
  http_version:
45
- recorded_at: Sat, 13 Sep 2014 00:02:47 GMT
51
+ recorded_at: Sat, 26 Sep 2015 17:40:54 GMT
46
52
  - request:
47
53
  method: get
48
54
  uri: https://api.clever.com/v1.1/districts?count=true
@@ -51,7 +57,7 @@ http_interactions:
51
57
  string: ''
52
58
  headers:
53
59
  Accept:
54
- - ! '*/*; q=0.5, application/xml'
60
+ - "*/*; q=0.5, application/xml"
55
61
  Accept-Encoding:
56
62
  - gzip, deflate
57
63
  Authorization:
@@ -68,22 +74,28 @@ http_interactions:
68
74
  Access-Control-Allow-Methods:
69
75
  - GET,PATCH,POST,DELETE
70
76
  Access-Control-Allow-Origin:
71
- - ! '*'
77
+ - "*"
72
78
  Content-Type:
73
79
  - application/json; charset=utf-8
74
80
  Date:
75
- - Sat, 13 Sep 2014 00:03:47 GMT
76
- Server:
77
- - nginx/1.4.7
81
+ - Sat, 26 Sep 2015 17:40:54 GMT
78
82
  X-Powered-By:
79
83
  - Express
84
+ X-Ratelimit-Bucket:
85
+ - bearer
86
+ X-Ratelimit-Limit:
87
+ - '1200'
88
+ X-Ratelimit-Remaining:
89
+ - '1179'
90
+ X-Ratelimit-Reset:
91
+ - '1443289303'
80
92
  Content-Length:
81
93
  - '71'
82
94
  Connection:
83
95
  - keep-alive
84
96
  body:
85
- encoding: US-ASCII
86
- string: ! '{"count":1,"links":[{"rel":"self","uri":"/v1.1/districts?count=true"}]}'
97
+ encoding: UTF-8
98
+ string: '{"count":1,"links":[{"rel":"self","uri":"/v1.1/districts?count=true"}]}'
87
99
  http_version:
88
- recorded_at: Sat, 13 Sep 2014 00:03:47 GMT
100
+ recorded_at: Sat, 26 Sep 2015 17:40:55 GMT
89
101
  recorded_with: VCR 2.9.3
@@ -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:05:02 GMT
32
+ - Sat, 26 Sep 2015 17:40:31 GMT
33
33
  Etag:
34
- - ! '"-214069741"'
35
- Server:
36
- - nginx/1.4.7
34
+ - '"438255836"'
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
+ - '1078'
43
+ X-Ratelimit-Reset:
44
+ - '1443289242'
39
45
  Content-Length:
40
46
  - '9308'
41
47
  Connection:
42
48
  - keep-alive
43
49
  body:
44
- encoding: US-ASCII
45
- string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
50
+ encoding: UTF-8
51
+ string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
46
52
  3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
47
53
  3 Math, Class 301 - 301 - S. Block","period":"5","school":"530e595026403103360ff9fe","sis_id":"771","subject":"math","teacher":"530e5955d50c310f36112c15","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5962049e75a9262d00fb","530e5962049e75a9262d015a","530e5963049e75a9262d0219","530e5964049e75a9262d0270","530e5964049e75a9262d02cf","530e5964049e75a9262d02fc","530e5965049e75a9262d0341","530e5965049e75a9262d0343","530e5965049e75a9262d038d","530e5965049e75a9262d03a7","530e5966049e75a9262d0415","530e5966049e75a9262d0439","530e5966049e75a9262d0458","530e5966049e75a9262d04d5","530e5967049e75a9262d04f4","530e5967049e75a9262d051f"],"last_modified":"2014-07-07T15:46:35.850Z","created":"2014-02-26T21:15:38.738Z","id":"530e597a049e75a9262d0baf"},"previous_attributes":{"students":["530e5960049e75a9262cff56","530e5962049e75a9262d00fb","530e5962049e75a9262d015a","530e5963049e75a9262d0219","530e5964049e75a9262d0270","530e5964049e75a9262d02cf","530e5964049e75a9262d02fc","530e5965049e75a9262d0341","530e5965049e75a9262d0343","530e5965049e75a9262d038d","530e5965049e75a9262d03a7","530e5966049e75a9262d0415","530e5966049e75a9262d0439","530e5966049e75a9262d0458","530e5966049e75a9262d04d5","530e5967049e75a9262d04f4","530e5967049e75a9262d051f"]}},"created":"2014-08-28T18:01:13.872Z","id":"53ff6e6b322eced002000088"},"uri":"/v1.1/events/53ff6e6b322eced002000088"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
48
54
  Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
@@ -61,7 +67,7 @@ http_interactions:
61
67
  Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
62
68
  Science, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"866","subject":"science","teacher":"50c20477987eda0d3d02d310","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffbe","530e5961049e75a9262cffc3","530e5961049e75a9262d0000","530e5961049e75a9262d0036","530e5961049e75a9262d0074","530e5962049e75a9262d00c5","530e5963049e75a9262d01fa","530e5964049e75a9262d027e","530e5964049e75a9262d02a8","530e5964049e75a9262d02ab","530e5964049e75a9262d02f7","530e5965049e75a9262d03b2","530e5965049e75a9262d03bf","530e5966049e75a9262d040a","530e5966049e75a9262d0449","530e5967049e75a9262d051b","530e5967049e75a9262d0565","530e5968049e75a9262d05f0","530e5968049e75a9262d061e","530e5968049e75a9262d0623"],"last_modified":"2014-02-26T21:15:39.195Z","created":"2014-02-26T21:15:39.193Z","id":"530e597b049e75a9262d0c12"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.088Z","id":"53ff6e6b322eced00200008e"},"uri":"/v1.1/events/53ff6e6b322eced00200008e"}],"paging":{"current":1,"total":1,"count":7},"links":[{"rel":"self","uri":"/v1.1/events"}]}'
63
69
  http_version:
64
- recorded_at: Sat, 13 Sep 2014 00:05:02 GMT
70
+ recorded_at: Sat, 26 Sep 2015 17:40:41 GMT
65
71
  - request:
66
72
  method: get
67
73
  uri: https://api.clever.com/v1.1/events?count=true
@@ -70,7 +76,7 @@ http_interactions:
70
76
  string: ''
71
77
  headers:
72
78
  Accept:
73
- - ! '*/*; q=0.5, application/xml'
79
+ - "*/*; q=0.5, application/xml"
74
80
  Accept-Encoding:
75
81
  - gzip, deflate
76
82
  Authorization:
@@ -87,7 +93,7 @@ http_interactions:
87
93
  Access-Control-Allow-Methods:
88
94
  - GET,PATCH,POST,DELETE
89
95
  Access-Control-Allow-Origin:
90
- - ! '*'
96
+ - "*"
91
97
  Content-Type:
92
98
  - application/json; charset=utf-8
93
99
  Date:
@@ -96,13 +102,21 @@ http_interactions:
96
102
  - nginx/1.4.7
97
103
  X-Powered-By:
98
104
  - Express
105
+ X-Ratelimit-Bucket:
106
+ - bearer
107
+ X-Ratelimit-Limit:
108
+ - '1200'
109
+ X-Ratelimit-Remaining:
110
+ - '1195'
111
+ X-Ratelimit-Reset:
112
+ - '1443289303'
99
113
  Content-Length:
100
114
  - '68'
101
115
  Connection:
102
116
  - keep-alive
103
117
  body:
104
- encoding: US-ASCII
105
- string: ! '{"count":7,"links":[{"rel":"self","uri":"/v1.1/events?count=true"}]}'
118
+ encoding: UTF-8
119
+ string: '{"count":7,"links":[{"rel":"self","uri":"/v1.1/events?count=true"}]}'
106
120
  http_version:
107
- recorded_at: Sat, 13 Sep 2014 00:05:02 GMT
121
+ recorded_at: Sat, 26 Sep 2015 17:40:48 GMT
108
122
  recorded_with: VCR 2.9.3