clever-ruby 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG.md +4 -0
  3. data/clever-ruby.gemspec +2 -1
  4. data/lib/clever-ruby/api_operations/list.rb +71 -0
  5. data/lib/clever-ruby/api_operations/nested_list.rb +49 -0
  6. data/lib/clever-ruby/api_operations/page.rb +16 -8
  7. data/lib/clever-ruby/version.rb +1 -1
  8. data/test/data/vcr_cassettes/{district_count.yml → Clever_APIOperations_List/counts_district_properly.yml} +6 -4
  9. data/test/data/vcr_cassettes/{event_count.yml → Clever_APIOperations_List/counts_event_properly.yml} +6 -4
  10. data/test/data/vcr_cassettes/{school_count.yml → Clever_APIOperations_List/counts_school_properly.yml} +6 -4
  11. data/test/data/vcr_cassettes/{section_count.yml → Clever_APIOperations_List/counts_section_properly.yml} +6 -4
  12. data/test/data/vcr_cassettes/{student_count.yml → Clever_APIOperations_List/counts_student_properly.yml} +6 -4
  13. data/test/data/vcr_cassettes/{teacher_count.yml → Clever_APIOperations_List/counts_teacher_properly.yml} +6 -4
  14. data/test/data/vcr_cassettes/{district_find_one.yml → Clever_APIOperations_List/finds_a_single_district.yml} +11 -7
  15. data/test/data/vcr_cassettes/{event_find_one.yml → Clever_APIOperations_List/finds_a_single_event.yml} +11 -7
  16. data/test/data/vcr_cassettes/{school_find_one.yml → Clever_APIOperations_List/finds_a_single_school.yml} +11 -7
  17. data/test/data/vcr_cassettes/{section_find_one.yml → Clever_APIOperations_List/finds_a_single_section.yml} +11 -7
  18. data/test/data/vcr_cassettes/{student_find_one.yml → Clever_APIOperations_List/finds_a_single_student.yml} +11 -7
  19. data/test/data/vcr_cassettes/{teacher_find_one.yml → Clever_APIOperations_List/finds_a_single_teacher.yml} +11 -7
  20. data/test/data/vcr_cassettes/{districts.yml → Clever_APIOperations_List/finds_districts_by_page.yml} +11 -7
  21. data/test/data/vcr_cassettes/{district_find_multiple.yml → Clever_APIOperations_List/finds_districts_with_multiple_ids.yml} +11 -7
  22. data/test/data/vcr_cassettes/{events.yml → Clever_APIOperations_List/finds_events_by_page.yml} +11 -7
  23. data/test/data/vcr_cassettes/{event_find_multiple.yml → Clever_APIOperations_List/finds_events_with_multiple_ids.yml} +11 -7
  24. data/test/data/vcr_cassettes/{schools.yml → Clever_APIOperations_List/finds_schools_by_page.yml} +11 -7
  25. data/test/data/vcr_cassettes/{school_find_multiple.yml → Clever_APIOperations_List/finds_schools_with_multiple_ids.yml} +11 -7
  26. data/test/data/vcr_cassettes/{section_find_by_page.yml → Clever_APIOperations_List/finds_sections_by_page.yml} +26 -16
  27. data/test/data/vcr_cassettes/{section_find_multiple.yml → Clever_APIOperations_List/finds_sections_with_multiple_ids.yml} +11 -7
  28. data/test/data/vcr_cassettes/{students.yml → Clever_APIOperations_List/finds_students_by_page.yml} +61 -37
  29. data/test/data/vcr_cassettes/{student_find_multiple.yml → Clever_APIOperations_List/finds_students_with_multiple_ids.yml} +11 -7
  30. data/test/data/vcr_cassettes/{teachers.yml → Clever_APIOperations_List/finds_teachers_by_page.yml} +11 -7
  31. data/test/data/vcr_cassettes/{teacher_find_multiple.yml → Clever_APIOperations_List/finds_teachers_with_multiple_ids.yml} +11 -7
  32. data/test/data/vcr_cassettes/{district_find_by_page.yml → Clever_APIOperations_List/retrieves_all_district.yml} +11 -7
  33. data/test/data/vcr_cassettes/{event_find_by_page.yml → Clever_APIOperations_List/retrieves_all_event.yml} +11 -7
  34. data/test/data/vcr_cassettes/{school_find_by_page.yml → Clever_APIOperations_List/retrieves_all_school.yml} +11 -7
  35. data/test/data/vcr_cassettes/{sections.yml → Clever_APIOperations_List/retrieves_all_section.yml} +26 -16
  36. data/test/data/vcr_cassettes/{student_find_by_page.yml → Clever_APIOperations_List/retrieves_all_student.yml} +61 -37
  37. data/test/data/vcr_cassettes/{teacher_find_by_page.yml → Clever_APIOperations_List/retrieves_all_teacher.yml} +11 -7
  38. data/test/data/vcr_cassettes/{districts_event_pages.yml → Clever_District/pages_methods/pages_a_district_s_events.yml} +56 -34
  39. data/test/data/vcr_cassettes/{districts_school_pages.yml → Clever_District/pages_methods/pages_a_district_s_schools.yml} +26 -16
  40. data/test/data/vcr_cassettes/{districts_section_pages.yml → Clever_District/pages_methods/pages_a_district_s_sections.yml} +206 -124
  41. data/test/data/vcr_cassettes/{districts_student_pages.yml → Clever_District/pages_methods/pages_a_district_s_students.yml} +121 -73
  42. data/test/data/vcr_cassettes/{districts_teacher_pages.yml → Clever_District/pages_methods/pages_a_district_s_teachers.yml} +61 -37
  43. data/test/data/vcr_cassettes/{district_events.yml → Clever_NestedResource/retrieves_a_district_s_events.yml} +21 -13
  44. data/test/data/vcr_cassettes/{district_schools.yml → Clever_NestedResource/retrieves_a_district_s_schools.yml} +21 -13
  45. data/test/data/vcr_cassettes/{district_sections.yml → Clever_NestedResource/retrieves_a_district_s_sections.yml} +51 -31
  46. data/test/data/vcr_cassettes/{district_students.yml → Clever_NestedResource/retrieves_a_district_s_students.yml} +121 -73
  47. data/test/data/vcr_cassettes/{district_teachers.yml → Clever_NestedResource/retrieves_a_district_s_teachers.yml} +21 -13
  48. data/test/data/vcr_cassettes/{school_district.yml → Clever_NestedResource/retrieves_a_school_s_district.yml} +16 -10
  49. data/test/data/vcr_cassettes/{school_events.yml → Clever_NestedResource/retrieves_a_school_s_events.yml} +21 -13
  50. data/test/data/vcr_cassettes/{school_sections.yml → Clever_NestedResource/retrieves_a_school_s_sections.yml} +31 -19
  51. data/test/data/vcr_cassettes/{school_students.yml → Clever_NestedResource/retrieves_a_school_s_students.yml} +61 -37
  52. data/test/data/vcr_cassettes/{school_teachers.yml → Clever_NestedResource/retrieves_a_school_s_teachers.yml} +21 -13
  53. data/test/data/vcr_cassettes/{section_district.yml → Clever_NestedResource/retrieves_a_section_s_district.yml} +16 -10
  54. data/test/data/vcr_cassettes/{section_events.yml → Clever_NestedResource/retrieves_a_section_s_events.yml} +21 -13
  55. data/test/data/vcr_cassettes/{section_school.yml → Clever_NestedResource/retrieves_a_section_s_school.yml} +16 -10
  56. data/test/data/vcr_cassettes/{section_students.yml → Clever_NestedResource/retrieves_a_section_s_students.yml} +21 -13
  57. data/test/data/vcr_cassettes/{section_teacher.yml → Clever_NestedResource/retrieves_a_section_s_teacher.yml} +16 -10
  58. data/test/data/vcr_cassettes/{student_district.yml → Clever_NestedResource/retrieves_a_student_s_district.yml} +16 -10
  59. data/test/data/vcr_cassettes/{student_events.yml → Clever_NestedResource/retrieves_a_student_s_events.yml} +21 -13
  60. data/test/data/vcr_cassettes/{student_school.yml → Clever_NestedResource/retrieves_a_student_s_school.yml} +16 -10
  61. data/test/data/vcr_cassettes/{student_sections.yml → Clever_NestedResource/retrieves_a_student_s_sections.yml} +21 -13
  62. data/test/data/vcr_cassettes/{student_teachers.yml → Clever_NestedResource/retrieves_a_student_s_teachers.yml} +21 -13
  63. data/test/data/vcr_cassettes/{teacher_district.yml → Clever_NestedResource/retrieves_a_teacher_s_district.yml} +16 -10
  64. data/test/data/vcr_cassettes/{teacher_events.yml → Clever_NestedResource/retrieves_a_teacher_s_events.yml} +21 -13
  65. data/test/data/vcr_cassettes/{teacher_school.yml → Clever_NestedResource/retrieves_a_teacher_s_school.yml} +16 -10
  66. data/test/data/vcr_cassettes/{teacher_sections.yml → Clever_NestedResource/retrieves_a_teacher_s_sections.yml} +21 -13
  67. data/test/data/vcr_cassettes/{teacher_students.yml → Clever_NestedResource/retrieves_a_teacher_s_students.yml} +21 -13
  68. data/test/data/vcr_cassettes/{error_handling.yml → Error_handling/raises_an_InvalidRequestError_when_given_a_bad_created_since.yml} +16 -10
  69. data/test/data/vcr_cassettes/Optional_attributes/has_the_expected_value_for_an_optional_attribute_that_is_present.yml +49 -0
  70. data/test/data/vcr_cassettes/last_method/page/has_working_first_and_last_methods.yml +719 -0
  71. data/test/data/vcr_cassettes/last_method/resource/has_working_first_and_last_methods.yml +648 -0
  72. data/test/integration/api_operations/list_test.rb +40 -50
  73. data/test/integration/district_test.rb +13 -15
  74. data/test/integration/error_handling_test.rb +6 -8
  75. data/test/integration/last_test.rb +70 -0
  76. data/test/integration/nested_resource_test.rb +7 -9
  77. data/test/test_helper.rb +3 -0
  78. data/test/unit/clever_test.rb +1 -1
  79. data/test/unit/configuration_test.rb +6 -0
  80. data/test/unit/optional_attributes_test.rb +4 -10
  81. metadata +147 -129
  82. data/test/data/vcr_cassettes/schools_optional_attributes.yml +0 -55
  83. data/test/data/vcr_cassettes/student_teacher.yml +0 -161
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students
5
+ uri: https://api.clever.com/v1.1/students
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Authorization:
15
+ - Bearer DEMO_TOKEN
14
16
  User-Agent:
15
17
  - Ruby
16
18
  response:
@@ -27,7 +29,7 @@ http_interactions:
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Date:
30
- - Fri, 12 Sep 2014 20:48:19 GMT
32
+ - Sat, 13 Sep 2014 00:04:55 GMT
31
33
  Etag:
32
34
  - ! '"-1704869160"'
33
35
  Server:
@@ -113,10 +115,10 @@ http_interactions:
113
115
  or More Races","school":"530e595026403103360ff9ff","sis_id":"189422359","state_id":"949395711","student_number":"189422359","id":"530e5961049e75a9262cffe3"},"uri":"/v1.1/students/530e5961049e75a9262cffe3"},{"data":{"created":"2014-02-26T21:15:13.206Z","credentials":{"district_username":"mial61","district_password":"uka5Hixae"},"district":"4fd43cc56d11340000000005","dob":"11/10/2002","ell_status":"N","email":"l_mia@example.org","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.072Z","location":{"zip":"10002"},"name":{"first":"Mia","middle":"J","last":"Lindgren"},"race":"Black
114
116
  or African American","school":"530e595026403103360ff9fe","sis_id":"189492161","state_id":"661166974","student_number":"189492161","id":"530e5961049e75a9262cffe4"},"uri":"/v1.1/students/530e5961049e75a9262cffe4"}],"paging":{"current":1,"total":11,"count":1004},"links":[{"rel":"self","uri":"/v1.1/students"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"}]}'
115
117
  http_version:
116
- recorded_at: Fri, 12 Sep 2014 20:48:19 GMT
118
+ recorded_at: Sat, 13 Sep 2014 00:04:55 GMT
117
119
  - request:
118
120
  method: get
119
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5961049e75a9262cffe4
121
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5961049e75a9262cffe4
120
122
  body:
121
123
  encoding: US-ASCII
122
124
  string: ''
@@ -125,6 +127,8 @@ http_interactions:
125
127
  - ! '*/*; q=0.5, application/xml'
126
128
  Accept-Encoding:
127
129
  - gzip, deflate
130
+ Authorization:
131
+ - Bearer DEMO_TOKEN
128
132
  User-Agent:
129
133
  - Ruby
130
134
  response:
@@ -141,7 +145,7 @@ http_interactions:
141
145
  Content-Type:
142
146
  - application/json; charset=utf-8
143
147
  Date:
144
- - Fri, 12 Sep 2014 20:48:19 GMT
148
+ - Sat, 13 Sep 2014 00:04:55 GMT
145
149
  Etag:
146
150
  - ! '"841128607"'
147
151
  Server:
@@ -220,10 +224,10 @@ http_interactions:
220
224
  or More Races","school":"530e595026403103360ff9ff","sis_id":"281506967","state_id":"783233963","student_number":"281506967","id":"530e5962049e75a9262d00a0"},"uri":"/v1.1/students/530e5962049e75a9262d00a0"},{"data":{"created":"2014-02-26T21:15:14.041Z","credentials":{"district_username":"ethans60","district_password":"iv5ooga4Ie"},"district":"4fd43cc56d11340000000005","dob":"10/19/2004","ell_status":"N","email":"s_ethan@example.com","frl_status":"Paid","gender":"M","grade":"3","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.470Z","location":{"zip":"10465"},"name":{"first":"Ethan","middle":"S","last":"Stokes"},"race":"Caucasian","school":"530e595026403103360ff9fe","sis_id":"281770560","state_id":"424914041","student_number":"281770560","id":"530e5962049e75a9262d00a2"},"uri":"/v1.1/students/530e5962049e75a9262d00a2"},{"data":{"created":"2014-02-26T21:15:14.049Z","credentials":{"district_username":"kimberlyt62","district_password":"Ue7oevee"},"district":"4fd43cc56d11340000000005","dob":"12/24/1997","ell_status":"N","email":"t.kimberly@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.482Z","location":{"zip":"11695"},"name":{"first":"Kimberly","middle":"J","last":"Torphy"},"race":"Black
221
225
  or African American","school":"530e595026403103360ff9fd","sis_id":"282491062","state_id":"918036457","student_number":"282491062","id":"530e5962049e75a9262d00a5"},"uri":"/v1.1/students/530e5962049e75a9262d00a5"},{"data":{"created":"2014-02-26T21:15:14.060Z","credentials":{"district_username":"alexp21","district_password":"la8ohShee"},"district":"4fd43cc56d11340000000005","dob":"9/24/2003","ell_status":"N","email":"p.alex@example.com","frl_status":"Paid","gender":"M","grade":"4","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:41.486Z","location":{"zip":"10018"},"name":{"first":"Alex","middle":"M","last":"Pacocha"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"283207621","state_id":"729866081","student_number":"283207621","id":"530e5962049e75a9262d00a9"},"uri":"/v1.1/students/530e5962049e75a9262d00a9"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5961049e75a9262cffe5"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5962049e75a9262d00a9"}]}'
222
226
  http_version:
223
- recorded_at: Fri, 12 Sep 2014 20:48:19 GMT
227
+ recorded_at: Sat, 13 Sep 2014 00:04:55 GMT
224
228
  - request:
225
229
  method: get
226
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5962049e75a9262d00a9
230
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5962049e75a9262d00a9
227
231
  body:
228
232
  encoding: US-ASCII
229
233
  string: ''
@@ -232,6 +236,8 @@ http_interactions:
232
236
  - ! '*/*; q=0.5, application/xml'
233
237
  Accept-Encoding:
234
238
  - gzip, deflate
239
+ Authorization:
240
+ - Bearer DEMO_TOKEN
235
241
  User-Agent:
236
242
  - Ruby
237
243
  response:
@@ -248,7 +254,7 @@ http_interactions:
248
254
  Content-Type:
249
255
  - application/json; charset=utf-8
250
256
  Date:
251
- - Fri, 12 Sep 2014 20:48:20 GMT
257
+ - Sat, 13 Sep 2014 00:04:56 GMT
252
258
  Etag:
253
259
  - ! '"-968465703"'
254
260
  Server:
@@ -331,10 +337,10 @@ http_interactions:
331
337
  or African American","school":"530e595026403103360ff9fd","sis_id":"365272887","state_id":"700708728","student_number":"365272887","id":"530e5962049e75a9262d015f"},"uri":"/v1.1/students/530e5962049e75a9262d015f"},{"data":{"created":"2014-02-26T21:15:14.870Z","credentials":{"district_username":"virgiem43","district_password":"Lein8oop"},"district":"4fd43cc56d11340000000005","dob":"1/20/2005","ell_status":"N","email":"m_virgie@example.net","frl_status":"Paid","gender":"F","grade":"2","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.888Z","location":{"zip":"10465"},"name":{"first":"Virgie","middle":"J","last":"Mueller"},"race":"Black
332
338
  or African American","school":"530e595026403103360ff9fe","sis_id":"365316343","state_id":"857518638","student_number":"365316343","id":"530e5962049e75a9262d0160"},"uri":"/v1.1/students/530e5962049e75a9262d0160"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5962049e75a9262d00a9"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5962049e75a9262d00ac"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5962049e75a9262d0160"}]}'
333
339
  http_version:
334
- recorded_at: Fri, 12 Sep 2014 20:48:20 GMT
340
+ recorded_at: Sat, 13 Sep 2014 00:04:56 GMT
335
341
  - request:
336
342
  method: get
337
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5962049e75a9262d0160
343
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5962049e75a9262d0160
338
344
  body:
339
345
  encoding: US-ASCII
340
346
  string: ''
@@ -343,6 +349,8 @@ http_interactions:
343
349
  - ! '*/*; q=0.5, application/xml'
344
350
  Accept-Encoding:
345
351
  - gzip, deflate
352
+ Authorization:
353
+ - Bearer DEMO_TOKEN
346
354
  User-Agent:
347
355
  - Ruby
348
356
  response:
@@ -359,7 +367,7 @@ http_interactions:
359
367
  Content-Type:
360
368
  - application/json; charset=utf-8
361
369
  Date:
362
- - Fri, 12 Sep 2014 20:48:20 GMT
370
+ - Sat, 13 Sep 2014 00:04:56 GMT
363
371
  Etag:
364
372
  - ! '"-1723479948"'
365
373
  Server:
@@ -443,10 +451,10 @@ http_interactions:
443
451
  or More Races","school":"530e595026403103360ff9ff","sis_id":"443841431","state_id":"888501124","student_number":"443841431","id":"530e5963049e75a9262d0220"},"uri":"/v1.1/students/530e5963049e75a9262d0220"},{"data":{"created":"2014-02-26T21:15:15.683Z","credentials":{"district_username":"myrnaw92","district_password":"si7fuD3oh"},"district":"4fd43cc56d11340000000005","dob":"12/19/2006","ell_status":"Y","email":"w.myrna@example.com","frl_status":"Paid","gender":"F","grade":"1","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.288Z","location":{"zip":"10007"},"name":{"first":"Myrna","middle":"J","last":"Wilkinson"},"race":"Black
444
452
  or African American","school":"530e595026403103360ff9fe","sis_id":"447837192","state_id":"100034975","student_number":"447837192","id":"530e5963049e75a9262d0225"},"uri":"/v1.1/students/530e5963049e75a9262d0225"},{"data":{"created":"2014-02-26T21:15:15.691Z","credentials":{"district_username":"sharons28","district_password":"uo2eoL3aiZ"},"district":"4fd43cc56d11340000000005","dob":"12/7/1995","ell_status":"Y","email":"s_sharon@example.net","frl_status":"Paid","gender":"F","grade":"12","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.293Z","location":{"zip":"10309"},"name":{"first":"Sharon","middle":"R","last":"Schamberger"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"449269728","state_id":"870415736","student_number":"449269728","id":"530e5963049e75a9262d0227"},"uri":"/v1.1/students/530e5963049e75a9262d0227"},{"data":{"created":"2014-02-26T21:15:15.696Z","credentials":{"district_username":"christineh14","district_password":"aeWaib2ahs6"},"district":"4fd43cc56d11340000000005","dob":"11/13/1999","ell_status":"N","email":"christine.h@example.com","frl_status":"Paid","gender":"F","grade":"8","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:42.297Z","location":{"zip":"10466"},"name":{"first":"Christine","middle":"K","last":"Hoppe"},"race":"Caucasian","school":"530e595026403103360ff9ff","sis_id":"450147614","state_id":"823859002","student_number":"450147614","id":"530e5963049e75a9262d0228"},"uri":"/v1.1/students/530e5963049e75a9262d0228"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5962049e75a9262d0160"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5962049e75a9262d0161"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5963049e75a9262d0228"}]}'
445
453
  http_version:
446
- recorded_at: Fri, 12 Sep 2014 20:48:20 GMT
454
+ recorded_at: Sat, 13 Sep 2014 00:04:56 GMT
447
455
  - request:
448
456
  method: get
449
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5963049e75a9262d0228
457
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5963049e75a9262d0228
450
458
  body:
451
459
  encoding: US-ASCII
452
460
  string: ''
@@ -455,6 +463,8 @@ http_interactions:
455
463
  - ! '*/*; q=0.5, application/xml'
456
464
  Accept-Encoding:
457
465
  - gzip, deflate
466
+ Authorization:
467
+ - Bearer DEMO_TOKEN
458
468
  User-Agent:
459
469
  - Ruby
460
470
  response:
@@ -471,7 +481,7 @@ http_interactions:
471
481
  Content-Type:
472
482
  - application/json; charset=utf-8
473
483
  Date:
474
- - Fri, 12 Sep 2014 20:48:21 GMT
484
+ - Sat, 13 Sep 2014 00:04:56 GMT
475
485
  Etag:
476
486
  - ! '"1170102698"'
477
487
  Server:
@@ -552,10 +562,10 @@ http_interactions:
552
562
  or African American","school":"530e595026403103360ff9fd","sis_id":"534675808","state_id":"651155420","student_number":"534675808","id":"530e5964049e75a9262d02d9"},"uri":"/v1.1/students/530e5964049e75a9262d02d9"},{"data":{"created":"2014-02-26T21:15:16.705Z","credentials":{"district_username":"vivians08","district_password":"Quieze4sh"},"district":"4fd43cc56d11340000000005","dob":"2/27/2000","ell_status":"N","email":"s_vivian@example.net","frl_status":"Paid","gender":"F","grade":"7","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:42.690Z","location":{"zip":"11355"},"name":{"first":"Vivian","middle":"K","last":"Schaefer"},"race":"Caucasian","school":"530e595026403103360ff9ff","sis_id":"538539808","state_id":"195542681","student_number":"538539808","id":"530e5964049e75a9262d02de"},"uri":"/v1.1/students/530e5964049e75a9262d02de"},{"data":{"created":"2014-02-26T21:15:16.713Z","credentials":{"district_username":"williamf53","district_password":"ahng4Ceeth"},"district":"4fd43cc56d11340000000005","dob":"7/21/2003","ell_status":"Y","email":"william_f@example.net","frl_status":"Paid","gender":"M","grade":"4","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:42.694Z","location":{"zip":"11217"},"name":{"first":"William","middle":"M","last":"Franecki"},"race":"Two
553
563
  or More Races","school":"530e595026403103360ff9fe","sis_id":"538754153","state_id":"287289543","student_number":"538754153","id":"530e5964049e75a9262d02e1"},"uri":"/v1.1/students/530e5964049e75a9262d02e1"},{"data":{"created":"2014-02-26T21:15:16.740Z","credentials":{"district_username":"dianen73","district_password":"eel7Thohd"},"district":"4fd43cc56d11340000000005","dob":"6/16/1996","ell_status":"N","email":"n_diane@example.net","frl_status":"Paid","gender":"F","grade":"11","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.697Z","location":{"zip":"11691"},"name":{"first":"Diane","middle":"J","last":"Nader"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"541253373","state_id":"817987559","student_number":"541253373","id":"530e5964049e75a9262d02e7"},"uri":"/v1.1/students/530e5964049e75a9262d02e7"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5963049e75a9262d0228"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5963049e75a9262d0229"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5964049e75a9262d02e7"}]}'
554
564
  http_version:
555
- recorded_at: Fri, 12 Sep 2014 20:48:21 GMT
565
+ recorded_at: Sat, 13 Sep 2014 00:04:56 GMT
556
566
  - request:
557
567
  method: get
558
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5964049e75a9262d02e7
568
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5964049e75a9262d02e7
559
569
  body:
560
570
  encoding: US-ASCII
561
571
  string: ''
@@ -564,6 +574,8 @@ http_interactions:
564
574
  - ! '*/*; q=0.5, application/xml'
565
575
  Accept-Encoding:
566
576
  - gzip, deflate
577
+ Authorization:
578
+ - Bearer DEMO_TOKEN
567
579
  User-Agent:
568
580
  - Ruby
569
581
  response:
@@ -580,7 +592,7 @@ http_interactions:
580
592
  Content-Type:
581
593
  - application/json; charset=utf-8
582
594
  Date:
583
- - Fri, 12 Sep 2014 20:48:21 GMT
595
+ - Sat, 13 Sep 2014 00:04:57 GMT
584
596
  Etag:
585
597
  - ! '"901956348"'
586
598
  Server:
@@ -657,10 +669,10 @@ http_interactions:
657
669
  or African American","school":"530e595026403103360ff9fe","sis_id":"636094492","state_id":"187787907","student_number":"636094492","id":"530e5965049e75a9262d03b5"},"uri":"/v1.1/students/530e5965049e75a9262d03b5"},{"data":{"created":"2014-02-26T21:15:17.758Z","credentials":{"district_username":"marvink72","district_password":"XieC1pha0Aa"},"district":"4fd43cc56d11340000000005","dob":"7/29/1997","ell_status":"Y","email":"k.marvin@example.net","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:43.090Z","location":{"zip":"10033"},"name":{"first":"Marvin","middle":"R","last":"Kerluke"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"636206672","state_id":"513617328","student_number":"636206672","id":"530e5965049e75a9262d03b6"},"uri":"/v1.1/students/530e5965049e75a9262d03b6"},{"data":{"created":"2014-02-26T21:15:17.764Z","credentials":{"district_username":"brandons01","district_password":"uuGhie5poo"},"district":"4fd43cc56d11340000000005","dob":"2/9/2001","ell_status":"Y","email":"s.brandon@example.com","frl_status":"Paid","gender":"M","grade":"6","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.095Z","location":{"zip":"10303"},"name":{"first":"Brandon","middle":"D","last":"Satterfield"},"race":"Black
658
670
  or African American","school":"530e595026403103360ff9ff","sis_id":"636675101","state_id":"341635613","student_number":"636675101","id":"530e5965049e75a9262d03b7"},"uri":"/v1.1/students/530e5965049e75a9262d03b7"},{"data":{"created":"2014-02-26T21:15:17.768Z","credentials":{"district_username":"bettyg52","district_password":"ahd1eiceeV"},"district":"4fd43cc56d11340000000005","dob":"8/21/1999","ell_status":"Y","email":"g_betty@example.net","frl_status":"Paid","gender":"F","grade":"8","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:43.099Z","location":{"zip":"10026"},"name":{"first":"Betty","middle":"A","last":"Graham"},"race":"Asian","school":"530e595026403103360ff9ff","sis_id":"636776752","state_id":"694201438","student_number":"636776752","id":"530e5965049e75a9262d03b8"},"uri":"/v1.1/students/530e5965049e75a9262d03b8"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5964049e75a9262d02e7"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5964049e75a9262d02e9"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5965049e75a9262d03b8"}]}'
659
671
  http_version:
660
- recorded_at: Fri, 12 Sep 2014 20:48:21 GMT
672
+ recorded_at: Sat, 13 Sep 2014 00:04:57 GMT
661
673
  - request:
662
674
  method: get
663
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5965049e75a9262d03b8
675
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5965049e75a9262d03b8
664
676
  body:
665
677
  encoding: US-ASCII
666
678
  string: ''
@@ -669,6 +681,8 @@ http_interactions:
669
681
  - ! '*/*; q=0.5, application/xml'
670
682
  Accept-Encoding:
671
683
  - gzip, deflate
684
+ Authorization:
685
+ - Bearer DEMO_TOKEN
672
686
  User-Agent:
673
687
  - Ruby
674
688
  response:
@@ -685,7 +699,7 @@ http_interactions:
685
699
  Content-Type:
686
700
  - application/json; charset=utf-8
687
701
  Date:
688
- - Fri, 12 Sep 2014 20:48:22 GMT
702
+ - Sat, 13 Sep 2014 00:04:57 GMT
689
703
  Etag:
690
704
  - ! '"419409629"'
691
705
  Server:
@@ -762,10 +776,10 @@ http_interactions:
762
776
  or African American","school":"530e595026403103360ff9fd","sis_id":"727160681","state_id":"381222631","student_number":"727160681","id":"530e5966049e75a9262d046b"},"uri":"/v1.1/students/530e5966049e75a9262d046b"},{"data":{"created":"2014-02-26T21:15:18.511Z","credentials":{"district_username":"chesterw93","district_password":"co5Eepohng"},"district":"4fd43cc56d11340000000005","dob":"11/15/1998","ell_status":"Y","email":"w_chester@example.org","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:43.513Z","location":{"zip":"11233"},"name":{"first":"Chester","middle":"R","last":"Watsica"},"race":"Black
763
777
  or African American","school":"530e595026403103360ff9fd","sis_id":"728386393","state_id":"921766728","student_number":"728386393","id":"530e5966049e75a9262d046c"},"uri":"/v1.1/students/530e5966049e75a9262d046c"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5965049e75a9262d03b8"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5965049e75a9262d03b9"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5966049e75a9262d046c"}]}'
764
778
  http_version:
765
- recorded_at: Fri, 12 Sep 2014 20:48:22 GMT
779
+ recorded_at: Sat, 13 Sep 2014 00:04:57 GMT
766
780
  - request:
767
781
  method: get
768
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5966049e75a9262d046c
782
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5966049e75a9262d046c
769
783
  body:
770
784
  encoding: US-ASCII
771
785
  string: ''
@@ -774,6 +788,8 @@ http_interactions:
774
788
  - ! '*/*; q=0.5, application/xml'
775
789
  Accept-Encoding:
776
790
  - gzip, deflate
791
+ Authorization:
792
+ - Bearer DEMO_TOKEN
777
793
  User-Agent:
778
794
  - Ruby
779
795
  response:
@@ -790,7 +806,7 @@ http_interactions:
790
806
  Content-Type:
791
807
  - application/json; charset=utf-8
792
808
  Date:
793
- - Fri, 12 Sep 2014 20:48:22 GMT
809
+ - Sat, 13 Sep 2014 00:04:57 GMT
794
810
  Etag:
795
811
  - ! '"-1806770542"'
796
812
  Server:
@@ -873,10 +889,10 @@ http_interactions:
873
889
  or African American","school":"530e595026403103360ff9fe","sis_id":"819021071","state_id":"575688366","student_number":"819021071","id":"530e5967049e75a9262d054d"},"uri":"/v1.1/students/530e5967049e75a9262d054d"},{"data":{"created":"2014-02-26T21:15:19.474Z","credentials":{"district_username":"edwarde77","district_password":"wo4thoep4AB"},"district":"4fd43cc56d11340000000005","dob":"2/25/2003","ell_status":"N","email":"e.edward@example.com","frl_status":"Paid","gender":"M","grade":"4","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:43.927Z","location":{"zip":"11210"},"name":{"first":"Edward","middle":"M","last":"Emard"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"821986877","state_id":"279178317","student_number":"821986877","id":"530e5967049e75a9262d0553"},"uri":"/v1.1/students/530e5967049e75a9262d0553"},{"data":{"created":"2014-02-26T21:15:19.485Z","credentials":{"district_username":"samuelo65","district_password":"fai9ahYoo"},"district":"4fd43cc56d11340000000005","dob":"8/4/2005","ell_status":"N","email":"o.samuel@example.com","frl_status":"Paid","gender":"M","grade":"2","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.929Z","location":{"zip":"10010"},"name":{"first":"Samuel","middle":"B","last":"O''Keefe"},"race":"Black
874
890
  or African American","school":"530e595026403103360ff9fe","sis_id":"822547765","state_id":"966505139","student_number":"822547765","id":"530e5967049e75a9262d0557"},"uri":"/v1.1/students/530e5967049e75a9262d0557"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5966049e75a9262d046c"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5966049e75a9262d046d"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5967049e75a9262d0557"}]}'
875
891
  http_version:
876
- recorded_at: Fri, 12 Sep 2014 20:48:22 GMT
892
+ recorded_at: Sat, 13 Sep 2014 00:04:57 GMT
877
893
  - request:
878
894
  method: get
879
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5967049e75a9262d0557
895
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5967049e75a9262d0557
880
896
  body:
881
897
  encoding: US-ASCII
882
898
  string: ''
@@ -885,6 +901,8 @@ http_interactions:
885
901
  - ! '*/*; q=0.5, application/xml'
886
902
  Accept-Encoding:
887
903
  - gzip, deflate
904
+ Authorization:
905
+ - Bearer DEMO_TOKEN
888
906
  User-Agent:
889
907
  - Ruby
890
908
  response:
@@ -901,7 +919,7 @@ http_interactions:
901
919
  Content-Type:
902
920
  - application/json; charset=utf-8
903
921
  Date:
904
- - Fri, 12 Sep 2014 20:48:23 GMT
922
+ - Sat, 13 Sep 2014 00:04:58 GMT
905
923
  Etag:
906
924
  - ! '"2114698730"'
907
925
  Server:
@@ -980,10 +998,10 @@ http_interactions:
980
998
  or More Races","school":"530e595026403103360ff9fe","sis_id":"912597949","state_id":"486294596","student_number":"912597949","id":"530e5968049e75a9262d05e0"},"uri":"/v1.1/students/530e5968049e75a9262d05e0"},{"data":{"created":"2014-02-26T21:15:20.164Z","credentials":{"district_username":"ronaldp24","district_password":"Egaengah8Ne"},"district":"4fd43cc56d11340000000005","dob":"3/7/2003","ell_status":"Y","email":"p.ronald@example.org","frl_status":"Paid","gender":"M","grade":"4","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.329Z","location":{"zip":"11225"},"name":{"first":"Ronald","middle":"K","last":"Padberg"},"race":"Caucasian","school":"530e595026403103360ff9fe","sis_id":"912667824","state_id":"430895037","student_number":"912667824","id":"530e5968049e75a9262d05e1"},"uri":"/v1.1/students/530e5968049e75a9262d05e1"},{"data":{"created":"2014-02-26T21:15:20.168Z","credentials":{"district_username":"marthag20","district_password":"iiban1oB6"},"district":"4fd43cc56d11340000000005","dob":"4/2/1998","ell_status":"N","email":"g_martha@example.org","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.332Z","location":{"zip":"11694"},"name":{"first":"Martha","middle":"T","last":"Greenholt"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"913113920","state_id":"975729843","student_number":"913113920","id":"530e5968049e75a9262d05e2"},"uri":"/v1.1/students/530e5968049e75a9262d05e2"},{"data":{"created":"2014-02-26T21:15:20.173Z","credentials":{"district_username":"johnw53","district_password":"och8Aw0Ie"},"district":"4fd43cc56d11340000000005","dob":"1/31/1998","ell_status":"Y","email":"john_w@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:44.336Z","location":{"zip":"10451"},"name":{"first":"John","middle":"K","last":"Watsica"},"race":"Two
981
999
  or More Races","school":"530e595026403103360ff9fd","sis_id":"914153353","state_id":"765870576","student_number":"914153353","id":"530e5968049e75a9262d05e3"},"uri":"/v1.1/students/530e5968049e75a9262d05e3"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5967049e75a9262d0557"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5967049e75a9262d0559"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5968049e75a9262d05e3"}]}'
982
1000
  http_version:
983
- recorded_at: Fri, 12 Sep 2014 20:48:23 GMT
1001
+ recorded_at: Sat, 13 Sep 2014 00:04:58 GMT
984
1002
  - request:
985
1003
  method: get
986
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5968049e75a9262d05e3
1004
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5968049e75a9262d05e3
987
1005
  body:
988
1006
  encoding: US-ASCII
989
1007
  string: ''
@@ -992,6 +1010,8 @@ http_interactions:
992
1010
  - ! '*/*; q=0.5, application/xml'
993
1011
  Accept-Encoding:
994
1012
  - gzip, deflate
1013
+ Authorization:
1014
+ - Bearer DEMO_TOKEN
995
1015
  User-Agent:
996
1016
  - Ruby
997
1017
  response:
@@ -1008,7 +1028,7 @@ http_interactions:
1008
1028
  Content-Type:
1009
1029
  - application/json; charset=utf-8
1010
1030
  Date:
1011
- - Fri, 12 Sep 2014 20:48:24 GMT
1031
+ - Sat, 13 Sep 2014 00:04:58 GMT
1012
1032
  Etag:
1013
1033
  - ! '"-292018979"'
1014
1034
  Server:
@@ -1080,10 +1100,10 @@ http_interactions:
1080
1100
  or African American","school":"530e595026403103360ff9ff","sis_id":"988363878","state_id":"528811928","student_number":"988363878","id":"530e5968049e75a9262d0641"},"uri":"/v1.1/students/530e5968049e75a9262d0641"},{"data":{"created":"2014-02-26T21:15:20.591Z","credentials":{"district_username":"marjoriew79","district_password":"ien7fam3Ai"},"district":"4fd43cc56d11340000000005","dob":"8/1/2005","ell_status":"N","email":"w_marjorie@example.org","frl_status":"Paid","gender":"F","grade":"2","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:44.717Z","location":{"zip":"11436"},"name":{"first":"Marjorie","middle":"J","last":"White"},"race":"Black
1081
1101
  or African American","school":"530e595026403103360ff9fe","sis_id":"989693879","state_id":"568608854","student_number":"989693879","id":"530e5968049e75a9262d0642"},"uri":"/v1.1/students/530e5968049e75a9262d0642"},{"data":{"created":"2014-02-26T21:15:20.595Z","credentials":{"district_username":"stevenr21","district_password":"Cae6Zoogh"},"district":"4fd43cc56d11340000000005","dob":"8/19/2006","ell_status":"N","email":"steven.r@example.com","frl_status":"Paid","gender":"M","grade":"1","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.720Z","location":{"zip":"11413"},"name":{"first":"Steven","middle":"A","last":"Robel"},"race":"Caucasian","school":"530e595026403103360ff9fe","sis_id":"992399521","state_id":"486242945","student_number":"992399521","id":"530e5968049e75a9262d0643"},"uri":"/v1.1/students/530e5968049e75a9262d0643"},{"data":{"created":"2014-02-26T21:15:20.601Z","credentials":{"district_username":"beths47","district_password":"keefooY9anoe"},"district":"4fd43cc56d11340000000005","dob":"1/21/2004","ell_status":"Y","email":"s_beth@example.net","frl_status":"Paid","gender":"F","grade":"3","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.724Z","location":{"zip":"11106"},"name":{"first":"Beth","middle":"K","last":"Spencer"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"992702547","state_id":"899990945","student_number":"992702547","id":"530e5968049e75a9262d0644"},"uri":"/v1.1/students/530e5968049e75a9262d0644"},{"data":{"created":"2014-02-26T21:15:20.604Z","credentials":{"district_username":"jeffreyt39","district_password":"Daichaep5"},"district":"4fd43cc56d11340000000005","dob":"2/1/1997","ell_status":"N","email":"jeffrey_t@example.com","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.728Z","location":{"zip":"10032"},"name":{"first":"Jeffrey","middle":"C","last":"Turner"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"993335439","state_id":"985250921","student_number":"993335439","id":"530e5968049e75a9262d0645"},"uri":"/v1.1/students/530e5968049e75a9262d0645"},{"data":{"created":"2014-02-26T21:15:20.608Z","credentials":{"district_username":"samuelc82","district_password":"Ooghee1j"},"district":"4fd43cc56d11340000000005","dob":"11/28/1998","ell_status":"N","email":"c_samuel@example.org","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.732Z","location":{"zip":"10035"},"name":{"first":"Samuel","middle":"S","last":"Crona"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"993756982","state_id":"496635778","student_number":"993756982","id":"530e5968049e75a9262d0646"},"uri":"/v1.1/students/530e5968049e75a9262d0646"},{"data":{"created":"2014-02-26T21:15:20.611Z","credentials":{"district_username":"marjoriel40","district_password":"iushoo1It"},"district":"4fd43cc56d11340000000005","dob":"11/4/1997","ell_status":"N","email":"marjorie_l@example.org","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.735Z","location":{"zip":"10016"},"name":{"first":"Marjorie","middle":"L","last":"Lesch"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"994397040","state_id":"828598322","student_number":"994397040","id":"530e5968049e75a9262d0647"},"uri":"/v1.1/students/530e5968049e75a9262d0647"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5968049e75a9262d05e3"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5968049e75a9262d05e4"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5968049e75a9262d0647"}]}'
1082
1102
  http_version:
1083
- recorded_at: Fri, 12 Sep 2014 20:48:24 GMT
1103
+ recorded_at: Sat, 13 Sep 2014 00:04:58 GMT
1084
1104
  - request:
1085
1105
  method: get
1086
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students?starting_after=530e5968049e75a9262d0647
1106
+ uri: https://api.clever.com//v1.1/students?starting_after=530e5968049e75a9262d0647
1087
1107
  body:
1088
1108
  encoding: US-ASCII
1089
1109
  string: ''
@@ -1092,6 +1112,8 @@ http_interactions:
1092
1112
  - ! '*/*; q=0.5, application/xml'
1093
1113
  Accept-Encoding:
1094
1114
  - gzip, deflate
1115
+ Authorization:
1116
+ - Bearer DEMO_TOKEN
1095
1117
  User-Agent:
1096
1118
  - Ruby
1097
1119
  response:
@@ -1108,7 +1130,7 @@ http_interactions:
1108
1130
  Content-Type:
1109
1131
  - application/json; charset=utf-8
1110
1132
  Date:
1111
- - Fri, 12 Sep 2014 20:48:24 GMT
1133
+ - Sat, 13 Sep 2014 00:04:59 GMT
1112
1134
  Etag:
1113
1135
  - ! '"-1554319852"'
1114
1136
  Server:
@@ -1126,10 +1148,10 @@ http_interactions:
1126
1148
  or African American","school":"530e595026403103360ff9ff","sis_id":"998414435","state_id":"134063200","student_number":"998414435","id":"530e5968049e75a9262d064a"},"uri":"/v1.1/students/530e5968049e75a9262d064a"},{"data":{"created":"2014-02-26T21:15:20.623Z","credentials":{"district_username":"markr17","district_password":"yo0ohYo6ro"},"district":"4fd43cc56d11340000000005","dob":"8/24/1996","ell_status":"N","email":"r_mark@example.com","frl_status":"Paid","gender":"M","grade":"11","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.750Z","location":{"zip":"10034"},"name":{"first":"Mark","middle":"S","last":"Reilly"},"race":"American
1127
1149
  Indian","school":"530e595026403103360ff9fd","sis_id":"999447617","state_id":"651135073","student_number":"999447617","id":"530e5968049e75a9262d064b"},"uri":"/v1.1/students/530e5968049e75a9262d064b"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5968049e75a9262d0647"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5968049e75a9262d0648"}]}'
1128
1150
  http_version:
1129
- recorded_at: Fri, 12 Sep 2014 20:48:24 GMT
1151
+ recorded_at: Sat, 13 Sep 2014 00:04:59 GMT
1130
1152
  - request:
1131
1153
  method: get
1132
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students?count=true
1154
+ uri: https://api.clever.com/v1.1/students?count=true
1133
1155
  body:
1134
1156
  encoding: US-ASCII
1135
1157
  string: ''
@@ -1138,6 +1160,8 @@ http_interactions:
1138
1160
  - ! '*/*; q=0.5, application/xml'
1139
1161
  Accept-Encoding:
1140
1162
  - gzip, deflate
1163
+ Authorization:
1164
+ - Bearer DEMO_TOKEN
1141
1165
  User-Agent:
1142
1166
  - Ruby
1143
1167
  response:
@@ -1154,7 +1178,7 @@ http_interactions:
1154
1178
  Content-Type:
1155
1179
  - application/json; charset=utf-8
1156
1180
  Date:
1157
- - Fri, 12 Sep 2014 20:48:24 GMT
1181
+ - Sat, 13 Sep 2014 00:04:59 GMT
1158
1182
  Server:
1159
1183
  - nginx/1.4.7
1160
1184
  X-Powered-By:
@@ -1167,5 +1191,5 @@ http_interactions:
1167
1191
  encoding: US-ASCII
1168
1192
  string: ! '{"count":1004,"links":[{"rel":"self","uri":"/v1.1/students?count=true"}]}'
1169
1193
  http_version:
1170
- recorded_at: Fri, 12 Sep 2014 20:48:24 GMT
1171
- recorded_with: VCR 2.4.0
1194
+ recorded_at: Sat, 13 Sep 2014 00:04:59 GMT
1195
+ recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/teachers
5
+ uri: https://api.clever.com/v1.1/teachers
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Authorization:
15
+ - Bearer DEMO_TOKEN
14
16
  User-Agent:
15
17
  - Ruby
16
18
  response:
@@ -27,7 +29,7 @@ http_interactions:
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Date:
30
- - Fri, 12 Sep 2014 20:48:32 GMT
32
+ - Sat, 13 Sep 2014 00:02:46 GMT
31
33
  Etag:
32
34
  - ! '"-409931571"'
33
35
  Server:
@@ -131,10 +133,10 @@ http_interactions:
131
133
  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
132
134
  School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers"}]}'
133
135
  http_version:
134
- recorded_at: Fri, 12 Sep 2014 20:48:32 GMT
136
+ recorded_at: Sat, 13 Sep 2014 00:02:46 GMT
135
137
  - request:
136
138
  method: get
137
- uri: https://DEMO_KEY:@api.clever.com/v1.1/teachers?count=true
139
+ uri: https://api.clever.com/v1.1/teachers?count=true
138
140
  body:
139
141
  encoding: US-ASCII
140
142
  string: ''
@@ -143,6 +145,8 @@ http_interactions:
143
145
  - ! '*/*; q=0.5, application/xml'
144
146
  Accept-Encoding:
145
147
  - gzip, deflate
148
+ Authorization:
149
+ - Bearer DEMO_TOKEN
146
150
  User-Agent:
147
151
  - Ruby
148
152
  response:
@@ -159,7 +163,7 @@ http_interactions:
159
163
  Content-Type:
160
164
  - application/json; charset=utf-8
161
165
  Date:
162
- - Fri, 12 Sep 2014 20:48:33 GMT
166
+ - Sat, 13 Sep 2014 00:02:46 GMT
163
167
  Server:
164
168
  - nginx/1.4.7
165
169
  X-Powered-By:
@@ -172,5 +176,5 @@ http_interactions:
172
176
  encoding: US-ASCII
173
177
  string: ! '{"count":89,"links":[{"rel":"self","uri":"/v1.1/teachers?count=true"}]}'
174
178
  http_version:
175
- recorded_at: Fri, 12 Sep 2014 20:48:33 GMT
176
- recorded_with: VCR 2.4.0
179
+ recorded_at: Sat, 13 Sep 2014 00:02:46 GMT
180
+ recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/districts
5
+ uri: https://api.clever.com/v1.1/districts
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Authorization:
15
+ - Bearer DEMO_TOKEN
14
16
  User-Agent:
15
17
  - Ruby
16
18
  response:
@@ -27,7 +29,7 @@ http_interactions:
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Date:
30
- - Fri, 12 Sep 2014 20:48:42 GMT
32
+ - Sat, 13 Sep 2014 00:05:08 GMT
31
33
  Server:
32
34
  - nginx/1.4.7
33
35
  X-Powered-By:
@@ -40,10 +42,10 @@ http_interactions:
40
42
  encoding: US-ASCII
41
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"}]}'
42
44
  http_version:
43
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
45
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
44
46
  - request:
45
47
  method: get
46
- uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
48
+ uri: https://api.clever.com/v1.1/districts/4fd43cc56d11340000000005
47
49
  body:
48
50
  encoding: US-ASCII
49
51
  string: ''
@@ -52,6 +54,8 @@ http_interactions:
52
54
  - ! '*/*; q=0.5, application/xml'
53
55
  Accept-Encoding:
54
56
  - gzip, deflate
57
+ Authorization:
58
+ - Bearer DEMO_TOKEN
55
59
  User-Agent:
56
60
  - Ruby
57
61
  response:
@@ -68,7 +72,7 @@ http_interactions:
68
72
  Content-Type:
69
73
  - application/json; charset=utf-8
70
74
  Date:
71
- - Fri, 12 Sep 2014 20:48:42 GMT
75
+ - Sat, 13 Sep 2014 00:05:08 GMT
72
76
  Server:
73
77
  - nginx/1.4.7
74
78
  X-Powered-By:
@@ -81,10 +85,10 @@ http_interactions:
81
85
  encoding: US-ASCII
82
86
  string: ! '{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005"},{"rel":"schools","uri":"/v1.1/districts/4fd43cc56d11340000000005/schools"},{"rel":"teachers","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers"},{"rel":"students","uri":"/v1.1/districts/4fd43cc56d11340000000005/students"},{"rel":"sections","uri":"/v1.1/districts/4fd43cc56d11340000000005/sections"},{"rel":"events","uri":"/v1.1/districts/4fd43cc56d11340000000005/events"}]}'
83
87
  http_version:
84
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
88
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
85
89
  - request:
86
90
  method: get
87
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=100000
91
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=100000
88
92
  body:
89
93
  encoding: US-ASCII
90
94
  string: ''
@@ -93,6 +97,8 @@ http_interactions:
93
97
  - ! '*/*; q=0.5, application/xml'
94
98
  Accept-Encoding:
95
99
  - gzip, deflate
100
+ Authorization:
101
+ - Bearer DEMO_TOKEN
96
102
  User-Agent:
97
103
  - Ruby
98
104
  response:
@@ -109,7 +115,7 @@ http_interactions:
109
115
  Content-Type:
110
116
  - application/json; charset=utf-8
111
117
  Date:
112
- - Fri, 12 Sep 2014 20:48:42 GMT
118
+ - Sat, 13 Sep 2014 00:05:08 GMT
113
119
  Etag:
114
120
  - ! '"1226485252"'
115
121
  Server:
@@ -141,10 +147,10 @@ http_interactions:
141
147
  Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
142
148
  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/districts/4fd43cc56d11340000000005/events?limit=100000"}]}'
143
149
  http_version:
144
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
150
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
145
151
  - request:
146
152
  method: get
147
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1
153
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1
148
154
  body:
149
155
  encoding: US-ASCII
150
156
  string: ''
@@ -153,6 +159,8 @@ http_interactions:
153
159
  - ! '*/*; q=0.5, application/xml'
154
160
  Accept-Encoding:
155
161
  - gzip, deflate
162
+ Authorization:
163
+ - Bearer DEMO_TOKEN
156
164
  User-Agent:
157
165
  - Ruby
158
166
  response:
@@ -169,7 +177,7 @@ http_interactions:
169
177
  Content-Type:
170
178
  - application/json; charset=utf-8
171
179
  Date:
172
- - Fri, 12 Sep 2014 20:48:42 GMT
180
+ - Sat, 13 Sep 2014 00:05:08 GMT
173
181
  Etag:
174
182
  - ! '"620046926"'
175
183
  Server:
@@ -186,10 +194,10 @@ http_interactions:
186
194
  3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
187
195
  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"}],"paging":{"current":1,"total":7,"count":7},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088"}]}'
188
196
  http_version:
189
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
197
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
190
198
  - request:
191
199
  method: get
192
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088
200
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088
193
201
  body:
194
202
  encoding: US-ASCII
195
203
  string: ''
@@ -198,6 +206,8 @@ http_interactions:
198
206
  - ! '*/*; q=0.5, application/xml'
199
207
  Accept-Encoding:
200
208
  - gzip, deflate
209
+ Authorization:
210
+ - Bearer DEMO_TOKEN
201
211
  User-Agent:
202
212
  - Ruby
203
213
  response:
@@ -214,7 +224,7 @@ http_interactions:
214
224
  Content-Type:
215
225
  - application/json; charset=utf-8
216
226
  Date:
217
- - Fri, 12 Sep 2014 20:48:42 GMT
227
+ - Sat, 13 Sep 2014 00:05:08 GMT
218
228
  Etag:
219
229
  - ! '"-1500347951"'
220
230
  Server:
@@ -232,10 +242,10 @@ http_interactions:
232
242
  Music, Class 001 - 001 - H. Willms","period":"5","school":"530e595026403103360ff9fe","sis_id":"804","subject":"arts
233
243
  and music","teacher":"530e5955d50c310f36112c02","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff5d","530e5960049e75a9262cff76","530e5961049e75a9262cffdc","530e5962049e75a9262d00d0","530e5962049e75a9262d012d","530e5963049e75a9262d01c1","530e5963049e75a9262d01d3","530e5963049e75a9262d01e1","530e5964049e75a9262d027a","530e5964049e75a9262d02ae","530e5965049e75a9262d03c0","530e5965049e75a9262d03c6","530e5966049e75a9262d042d","530e5966049e75a9262d0451","530e5966049e75a9262d0479","530e5967049e75a9262d057b","530e5967049e75a9262d05a3","530e5967049e75a9262d05ba","530e5967049e75a9262d05c1","530e5968049e75a9262d05e4"],"last_modified":"2014-02-26T21:15:38.877Z","created":"2014-02-26T21:15:38.875Z","id":"530e597a049e75a9262d0bd0"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.064Z","id":"53ff6e6b322eced002000089"},"uri":"/v1.1/events/53ff6e6b322eced002000089"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced002000089"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089"}]}'
234
244
  http_version:
235
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
245
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
236
246
  - request:
237
247
  method: get
238
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089
248
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089
239
249
  body:
240
250
  encoding: US-ASCII
241
251
  string: ''
@@ -244,6 +254,8 @@ http_interactions:
244
254
  - ! '*/*; q=0.5, application/xml'
245
255
  Accept-Encoding:
246
256
  - gzip, deflate
257
+ Authorization:
258
+ - Bearer DEMO_TOKEN
247
259
  User-Agent:
248
260
  - Ruby
249
261
  response:
@@ -260,7 +272,7 @@ http_interactions:
260
272
  Content-Type:
261
273
  - application/json; charset=utf-8
262
274
  Date:
263
- - Fri, 12 Sep 2014 20:48:42 GMT
275
+ - Sat, 13 Sep 2014 00:05:08 GMT
264
276
  Etag:
265
277
  - ! '"1656632044"'
266
278
  Server:
@@ -278,10 +290,10 @@ http_interactions:
278
290
  Music, Class 002 - 002 - S. Schoen","period":"5","school":"530e595026403103360ff9fe","sis_id":"805","subject":"arts
279
291
  and music","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"last_modified":"2014-02-26T21:15:38.882Z","created":"2014-02-26T21:15:38.879Z","id":"530e597a049e75a9262d0bd1"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.067Z","id":"53ff6e6b322eced00200008a"},"uri":"/v1.1/events/53ff6e6b322eced00200008a"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008a"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a"}]}'
280
292
  http_version:
281
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
293
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
282
294
  - request:
283
295
  method: get
284
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a
296
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a
285
297
  body:
286
298
  encoding: US-ASCII
287
299
  string: ''
@@ -290,6 +302,8 @@ http_interactions:
290
302
  - ! '*/*; q=0.5, application/xml'
291
303
  Accept-Encoding:
292
304
  - gzip, deflate
305
+ Authorization:
306
+ - Bearer DEMO_TOKEN
293
307
  User-Agent:
294
308
  - Ruby
295
309
  response:
@@ -306,7 +320,7 @@ http_interactions:
306
320
  Content-Type:
307
321
  - application/json; charset=utf-8
308
322
  Date:
309
- - Fri, 12 Sep 2014 20:48:42 GMT
323
+ - Sat, 13 Sep 2014 00:05:08 GMT
310
324
  Etag:
311
325
  - ! '"-1598924870"'
312
326
  Server:
@@ -324,10 +338,10 @@ http_interactions:
324
338
  Music, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"806","subject":"arts
325
339
  and music","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:38.886Z","created":"2014-02-26T21:15:38.883Z","id":"530e597a049e75a9262d0bd2"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.070Z","id":"53ff6e6b322eced00200008b"},"uri":"/v1.1/events/53ff6e6b322eced00200008b"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008b"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b"}]}'
326
340
  http_version:
327
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
341
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
328
342
  - request:
329
343
  method: get
330
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b
344
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b
331
345
  body:
332
346
  encoding: US-ASCII
333
347
  string: ''
@@ -336,6 +350,8 @@ http_interactions:
336
350
  - ! '*/*; q=0.5, application/xml'
337
351
  Accept-Encoding:
338
352
  - gzip, deflate
353
+ Authorization:
354
+ - Bearer DEMO_TOKEN
339
355
  User-Agent:
340
356
  - Ruby
341
357
  response:
@@ -352,7 +368,7 @@ http_interactions:
352
368
  Content-Type:
353
369
  - application/json; charset=utf-8
354
370
  Date:
355
- - Fri, 12 Sep 2014 20:48:42 GMT
371
+ - Sat, 13 Sep 2014 00:05:08 GMT
356
372
  Etag:
357
373
  - ! '"-1819628218"'
358
374
  Server:
@@ -369,10 +385,10 @@ http_interactions:
369
385
  Science, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
370
386
  Science, Class 001 - 001 - H. Willms","period":"2","school":"530e595026403103360ff9fe","sis_id":"864","subject":"science","teacher":"530e5955d50c310f36112c02","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff5d","530e5960049e75a9262cff76","530e5961049e75a9262cffdc","530e5962049e75a9262d00d0","530e5962049e75a9262d012d","530e5963049e75a9262d01c1","530e5963049e75a9262d01d3","530e5963049e75a9262d01e1","530e5964049e75a9262d027a","530e5964049e75a9262d02ae","530e5965049e75a9262d03c0","530e5965049e75a9262d03c6","530e5966049e75a9262d042d","530e5966049e75a9262d0451","530e5966049e75a9262d0479","530e5967049e75a9262d057b","530e5967049e75a9262d05a3","530e5967049e75a9262d05ba","530e5967049e75a9262d05c1","530e5968049e75a9262d05e4"],"last_modified":"2014-02-26T21:15:39.166Z","created":"2014-02-26T21:15:39.165Z","id":"530e597b049e75a9262d0c0a"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.073Z","id":"53ff6e6b322eced00200008c"},"uri":"/v1.1/events/53ff6e6b322eced00200008c"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008c"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c"}]}'
371
387
  http_version:
372
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
388
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
373
389
  - request:
374
390
  method: get
375
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c
391
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c
376
392
  body:
377
393
  encoding: US-ASCII
378
394
  string: ''
@@ -381,6 +397,8 @@ http_interactions:
381
397
  - ! '*/*; q=0.5, application/xml'
382
398
  Accept-Encoding:
383
399
  - gzip, deflate
400
+ Authorization:
401
+ - Bearer DEMO_TOKEN
384
402
  User-Agent:
385
403
  - Ruby
386
404
  response:
@@ -397,7 +415,7 @@ http_interactions:
397
415
  Content-Type:
398
416
  - application/json; charset=utf-8
399
417
  Date:
400
- - Fri, 12 Sep 2014 20:48:43 GMT
418
+ - Sat, 13 Sep 2014 00:05:08 GMT
401
419
  Etag:
402
420
  - ! '"1349360613"'
403
421
  Server:
@@ -414,10 +432,10 @@ http_interactions:
414
432
  Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
415
433
  Science, Class 002 - 002 - S. Schoen","period":"3","school":"530e595026403103360ff9fe","sis_id":"865","subject":"science","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"last_modified":"2014-02-26T21:15:39.183Z","created":"2014-02-26T21:15:39.181Z","id":"530e597b049e75a9262d0c0e"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.076Z","id":"53ff6e6b322eced00200008d"},"uri":"/v1.1/events/53ff6e6b322eced00200008d"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008d"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d"}]}'
416
434
  http_version:
417
- recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
435
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
418
436
  - request:
419
437
  method: get
420
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d
438
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d
421
439
  body:
422
440
  encoding: US-ASCII
423
441
  string: ''
@@ -426,6 +444,8 @@ http_interactions:
426
444
  - ! '*/*; q=0.5, application/xml'
427
445
  Accept-Encoding:
428
446
  - gzip, deflate
447
+ Authorization:
448
+ - Bearer DEMO_TOKEN
429
449
  User-Agent:
430
450
  - Ruby
431
451
  response:
@@ -442,7 +462,7 @@ http_interactions:
442
462
  Content-Type:
443
463
  - application/json; charset=utf-8
444
464
  Date:
445
- - Fri, 12 Sep 2014 20:48:43 GMT
465
+ - Sat, 13 Sep 2014 00:05:08 GMT
446
466
  Etag:
447
467
  - ! '"-1352995454"'
448
468
  Server:
@@ -459,10 +479,10 @@ http_interactions:
459
479
  Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
460
480
  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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008e"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e"}]}'
461
481
  http_version:
462
- recorded_at: Fri, 12 Sep 2014 20:48:43 GMT
482
+ recorded_at: Sat, 13 Sep 2014 00:05:08 GMT
463
483
  - request:
464
484
  method: get
465
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e
485
+ uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e
466
486
  body:
467
487
  encoding: US-ASCII
468
488
  string: ''
@@ -471,6 +491,8 @@ http_interactions:
471
491
  - ! '*/*; q=0.5, application/xml'
472
492
  Accept-Encoding:
473
493
  - gzip, deflate
494
+ Authorization:
495
+ - Bearer DEMO_TOKEN
474
496
  User-Agent:
475
497
  - Ruby
476
498
  response:
@@ -487,7 +509,7 @@ http_interactions:
487
509
  Content-Type:
488
510
  - application/json; charset=utf-8
489
511
  Date:
490
- - Fri, 12 Sep 2014 20:48:43 GMT
512
+ - Sat, 13 Sep 2014 00:05:09 GMT
491
513
  Server:
492
514
  - nginx/1.4.7
493
515
  X-Powered-By:
@@ -500,5 +522,5 @@ http_interactions:
500
522
  encoding: US-ASCII
501
523
  string: ! '{"data":[],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008e"}]}'
502
524
  http_version:
503
- recorded_at: Fri, 12 Sep 2014 20:48:43 GMT
504
- recorded_with: VCR 2.4.0
525
+ recorded_at: Sat, 13 Sep 2014 00:05:09 GMT
526
+ recorded_with: VCR 2.9.3