clever-ruby 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +13 -5
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +1 -1
  4. data/lib/clever-ruby.rb +1 -0
  5. data/lib/clever-ruby/api_operations/list.rb +24 -0
  6. data/lib/clever-ruby/api_operations/pagelist.rb +6 -2
  7. data/lib/clever-ruby/api_operations/results_list.rb +20 -0
  8. data/lib/clever-ruby/util.rb +4 -0
  9. data/lib/clever-ruby/version.rb +1 -1
  10. data/test/data/vcr_cassettes/district_count.yml +44 -0
  11. data/test/data/vcr_cassettes/district_find_by_page.yml +85 -0
  12. data/test/data/vcr_cassettes/district_find_multiple.yml +85 -0
  13. data/test/data/vcr_cassettes/district_find_one.yml +85 -0
  14. data/test/data/vcr_cassettes/districts.yml +46 -5
  15. data/test/data/vcr_cassettes/districts_event_pages.yml +134 -134
  16. data/test/data/vcr_cassettes/districts_events.yml +44 -44
  17. data/test/data/vcr_cassettes/districts_school_pages.yml +50 -50
  18. data/test/data/vcr_cassettes/districts_schools.yml +44 -44
  19. data/test/data/vcr_cassettes/districts_section_pages.yml +303 -303
  20. data/test/data/vcr_cassettes/districts_sections.yml +44 -44
  21. data/test/data/vcr_cassettes/districts_student_pages.yml +184 -184
  22. data/test/data/vcr_cassettes/districts_students.yml +44 -44
  23. data/test/data/vcr_cassettes/districts_students_filtered.yml +25 -25
  24. data/test/data/vcr_cassettes/districts_teacher_pages.yml +100 -100
  25. data/test/data/vcr_cassettes/districts_teachers.yml +44 -44
  26. data/test/data/vcr_cassettes/error_handling.yml +24 -24
  27. data/test/data/vcr_cassettes/event_count.yml +44 -0
  28. data/test/data/vcr_cassettes/event_find_by_page.yml +110 -0
  29. data/test/data/vcr_cassettes/event_find_multiple.yml +124 -0
  30. data/test/data/vcr_cassettes/event_find_one.yml +114 -0
  31. data/test/data/vcr_cassettes/events.yml +110 -0
  32. data/test/data/vcr_cassettes/school_count.yml +44 -0
  33. data/test/data/vcr_cassettes/school_find_by_page.yml +96 -0
  34. data/test/data/vcr_cassettes/school_find_multiple.yml +104 -0
  35. data/test/data/vcr_cassettes/school_find_one.yml +99 -0
  36. data/test/data/vcr_cassettes/schools.yml +48 -7
  37. data/test/data/vcr_cassettes/schools_optional_attributes.yml +7 -7
  38. data/test/data/vcr_cassettes/section_count.yml +44 -0
  39. data/test/data/vcr_cassettes/section_find_by_page.yml +1146 -0
  40. data/test/data/vcr_cassettes/section_find_multiple.yml +147 -0
  41. data/test/data/vcr_cassettes/section_find_one.yml +352 -0
  42. data/test/data/vcr_cassettes/sections.yml +69 -28
  43. data/test/data/vcr_cassettes/student_count.yml +44 -0
  44. data/test/data/vcr_cassettes/student_find_by_page.yml +1171 -0
  45. data/test/data/vcr_cassettes/student_find_multiple.yml +111 -0
  46. data/test/data/vcr_cassettes/student_find_one.yml +160 -0
  47. data/test/data/vcr_cassettes/students.yml +118 -77
  48. data/test/data/vcr_cassettes/teacher_count.yml +44 -0
  49. data/test/data/vcr_cassettes/teacher_find_by_page.yml +176 -0
  50. data/test/data/vcr_cassettes/teacher_find_multiple.yml +119 -0
  51. data/test/data/vcr_cassettes/teacher_find_one.yml +177 -0
  52. data/test/data/vcr_cassettes/teachers.yml +15 -3712
  53. data/test/integration/api_operations/list_test.rb +84 -28
  54. metadata +82 -30
@@ -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
  User-Agent:
@@ -23,11 +23,11 @@ http_interactions:
23
23
  Access-Control-Allow-Methods:
24
24
  - GET,PATCH,POST,DELETE
25
25
  Access-Control-Allow-Origin:
26
- - ! '*'
26
+ - "*"
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Date:
30
- - Mon, 08 Sep 2014 21:31:24 GMT
30
+ - Tue, 09 Sep 2014 21:48:38 GMT
31
31
  Server:
32
32
  - nginx/1.4.7
33
33
  X-Powered-By:
@@ -37,10 +37,10 @@ http_interactions:
37
37
  Connection:
38
38
  - keep-alive
39
39
  body:
40
- encoding: US-ASCII
41
- 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"}]}'
40
+ encoding: UTF-8
41
+ 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
42
  http_version:
43
- recorded_at: Mon, 08 Sep 2014 21:31:24 GMT
43
+ recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -49,7 +49,7 @@ http_interactions:
49
49
  string: ''
50
50
  headers:
51
51
  Accept:
52
- - ! '*/*; q=0.5, application/xml'
52
+ - "*/*; q=0.5, application/xml"
53
53
  Accept-Encoding:
54
54
  - gzip, deflate
55
55
  User-Agent:
@@ -64,11 +64,11 @@ http_interactions:
64
64
  Access-Control-Allow-Methods:
65
65
  - GET,PATCH,POST,DELETE
66
66
  Access-Control-Allow-Origin:
67
- - ! '*'
67
+ - "*"
68
68
  Content-Type:
69
69
  - application/json; charset=utf-8
70
70
  Date:
71
- - Mon, 08 Sep 2014 21:31:25 GMT
71
+ - Tue, 09 Sep 2014 21:48:38 GMT
72
72
  Server:
73
73
  - nginx/1.4.7
74
74
  X-Powered-By:
@@ -78,10 +78,10 @@ http_interactions:
78
78
  Connection:
79
79
  - keep-alive
80
80
  body:
81
- encoding: US-ASCII
82
- 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"}]}'
81
+ encoding: UTF-8
82
+ 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
83
  http_version:
84
- recorded_at: Mon, 08 Sep 2014 21:31:24 GMT
84
+ recorded_at: Tue, 09 Sep 2014 21:48:38 GMT
85
85
  - request:
86
86
  method: get
87
87
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -90,7 +90,7 @@ http_interactions:
90
90
  string: ''
91
91
  headers:
92
92
  Accept:
93
- - ! '*/*; q=0.5, application/xml'
93
+ - "*/*; q=0.5, application/xml"
94
94
  Accept-Encoding:
95
95
  - gzip, deflate
96
96
  User-Agent:
@@ -105,11 +105,11 @@ http_interactions:
105
105
  Access-Control-Allow-Methods:
106
106
  - GET,PATCH,POST,DELETE
107
107
  Access-Control-Allow-Origin:
108
- - ! '*'
108
+ - "*"
109
109
  Content-Type:
110
110
  - application/json; charset=utf-8
111
111
  Date:
112
- - Mon, 08 Sep 2014 21:31:25 GMT
112
+ - Tue, 09 Sep 2014 21:48:38 GMT
113
113
  Server:
114
114
  - nginx/1.4.7
115
115
  X-Powered-By:
@@ -119,10 +119,10 @@ http_interactions:
119
119
  Connection:
120
120
  - keep-alive
121
121
  body:
122
- encoding: US-ASCII
123
- 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"}]}'
122
+ encoding: UTF-8
123
+ 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"}]}'
124
124
  http_version:
125
- recorded_at: Mon, 08 Sep 2014 21:31:25 GMT
125
+ recorded_at: Tue, 09 Sep 2014 21:48:38 GMT
126
126
  - request:
127
127
  method: get
128
128
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events
@@ -131,7 +131,7 @@ http_interactions:
131
131
  string: ''
132
132
  headers:
133
133
  Accept:
134
- - ! '*/*; q=0.5, application/xml'
134
+ - "*/*; q=0.5, application/xml"
135
135
  Accept-Encoding:
136
136
  - gzip, deflate
137
137
  User-Agent:
@@ -146,13 +146,13 @@ http_interactions:
146
146
  Access-Control-Allow-Methods:
147
147
  - GET,PATCH,POST,DELETE
148
148
  Access-Control-Allow-Origin:
149
- - ! '*'
149
+ - "*"
150
150
  Content-Type:
151
151
  - application/json; charset=utf-8
152
152
  Date:
153
- - Mon, 08 Sep 2014 21:31:25 GMT
153
+ - Tue, 09 Sep 2014 21:48:38 GMT
154
154
  Etag:
155
- - ! '"-1300733905"'
155
+ - '"-1300733905"'
156
156
  Server:
157
157
  - nginx/1.4.7
158
158
  X-Powered-By:
@@ -162,8 +162,8 @@ http_interactions:
162
162
  Connection:
163
163
  - keep-alive
164
164
  body:
165
- encoding: US-ASCII
166
- string: ! '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black
165
+ encoding: UTF-8
166
+ string: '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black
167
167
  or African American","school":"530e595026403103360ff9fd","sis_id":"617499409","state_id":"979518299","student_number":"617499409","credentials":{"district_username":"williamh09","district_password":"roosh5Oo"},"location":{"zip":"11428"},"name":{"first":"William","middle":"M","last":"Hodkiewicz"},"last_modified":"2014-06-04T14:10:43.010Z","created":"2014-02-26T21:15:17.612Z","id":"530e5965049e75a9262d038f"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.402Z","id":"53e90ce782399c964b0009e3"},"uri":"/v1.1/events/53e90ce782399c964b0009e3"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/17/1998","ell_status":"N","email":"corina.w@example.com","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"American
168
168
  Indian","school":"530e595026403103360ff9fd","sis_id":"670807511","state_id":"814185233","student_number":"670807511","credentials":{"district_username":"corinaw11","district_password":"Eiph5aeX"},"location":{"zip":"10004"},"name":{"first":"Corina","middle":"L","last":"Watsica"},"last_modified":"2014-06-04T14:10:43.290Z","created":"2014-02-26T21:15:18.067Z","id":"530e5966049e75a9262d03fc"},"previous_attributes":{"dob":"5/7/1998"}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e4"},"uri":"/v1.1/events/53e90ce782399c964b0009e4"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/13/1998","ell_status":"Y","email":"kim_j@example.org","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"N","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"841688312","state_id":"484726796","student_number":"841688312","credentials":{"district_username":"kimj12","district_password":"phee7kah3R"},"location":{"zip":"11377"},"name":{"first":"Kimberly","last":"Jacobi","middle":"J"},"last_modified":"2014-06-04T14:10:44.004Z","created":"2014-02-26T21:15:19.645Z","id":"530e5967049e75a9262d057e"},"previous_attributes":{"name":{"first":"Kim","last":"Jacobi","middle":"J"}}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e5"},"uri":"/v1.1/events/53e90ce782399c964b0009e5"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group
169
169
  Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
@@ -188,7 +188,7 @@ http_interactions:
188
188
  Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
189
189
  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":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events"}]}'
190
190
  http_version:
191
- recorded_at: Mon, 08 Sep 2014 21:31:25 GMT
191
+ recorded_at: Tue, 09 Sep 2014 21:48:38 GMT
192
192
  - request:
193
193
  method: get
194
194
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -197,7 +197,7 @@ http_interactions:
197
197
  string: ''
198
198
  headers:
199
199
  Accept:
200
- - ! '*/*; q=0.5, application/xml'
200
+ - "*/*; q=0.5, application/xml"
201
201
  Accept-Encoding:
202
202
  - gzip, deflate
203
203
  User-Agent:
@@ -212,11 +212,11 @@ http_interactions:
212
212
  Access-Control-Allow-Methods:
213
213
  - GET,PATCH,POST,DELETE
214
214
  Access-Control-Allow-Origin:
215
- - ! '*'
215
+ - "*"
216
216
  Content-Type:
217
217
  - application/json; charset=utf-8
218
218
  Date:
219
- - Mon, 08 Sep 2014 21:31:25 GMT
219
+ - Tue, 09 Sep 2014 21:48:38 GMT
220
220
  Server:
221
221
  - nginx/1.4.7
222
222
  X-Powered-By:
@@ -226,10 +226,10 @@ http_interactions:
226
226
  Connection:
227
227
  - keep-alive
228
228
  body:
229
- encoding: US-ASCII
230
- 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"}]}'
229
+ encoding: UTF-8
230
+ 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"}]}'
231
231
  http_version:
232
- recorded_at: Mon, 08 Sep 2014 21:31:25 GMT
232
+ recorded_at: Tue, 09 Sep 2014 21:48:38 GMT
233
233
  - request:
234
234
  method: get
235
235
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -238,7 +238,7 @@ http_interactions:
238
238
  string: ''
239
239
  headers:
240
240
  Accept:
241
- - ! '*/*; q=0.5, application/xml'
241
+ - "*/*; q=0.5, application/xml"
242
242
  Accept-Encoding:
243
243
  - gzip, deflate
244
244
  User-Agent:
@@ -253,11 +253,11 @@ http_interactions:
253
253
  Access-Control-Allow-Methods:
254
254
  - GET,PATCH,POST,DELETE
255
255
  Access-Control-Allow-Origin:
256
- - ! '*'
256
+ - "*"
257
257
  Content-Type:
258
258
  - application/json; charset=utf-8
259
259
  Date:
260
- - Mon, 08 Sep 2014 21:31:25 GMT
260
+ - Tue, 09 Sep 2014 21:48:38 GMT
261
261
  Server:
262
262
  - nginx/1.4.7
263
263
  X-Powered-By:
@@ -267,10 +267,10 @@ http_interactions:
267
267
  Connection:
268
268
  - keep-alive
269
269
  body:
270
- encoding: US-ASCII
271
- 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"}]}'
270
+ encoding: UTF-8
271
+ 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"}]}'
272
272
  http_version:
273
- recorded_at: Mon, 08 Sep 2014 21:31:25 GMT
273
+ recorded_at: Tue, 09 Sep 2014 21:48:38 GMT
274
274
  - request:
275
275
  method: get
276
276
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events
@@ -279,7 +279,7 @@ http_interactions:
279
279
  string: ''
280
280
  headers:
281
281
  Accept:
282
- - ! '*/*; q=0.5, application/xml'
282
+ - "*/*; q=0.5, application/xml"
283
283
  Accept-Encoding:
284
284
  - gzip, deflate
285
285
  User-Agent:
@@ -294,13 +294,13 @@ http_interactions:
294
294
  Access-Control-Allow-Methods:
295
295
  - GET,PATCH,POST,DELETE
296
296
  Access-Control-Allow-Origin:
297
- - ! '*'
297
+ - "*"
298
298
  Content-Type:
299
299
  - application/json; charset=utf-8
300
300
  Date:
301
- - Mon, 08 Sep 2014 21:31:25 GMT
301
+ - Tue, 09 Sep 2014 21:48:38 GMT
302
302
  Etag:
303
- - ! '"-1300733905"'
303
+ - '"-1300733905"'
304
304
  Server:
305
305
  - nginx/1.4.7
306
306
  X-Powered-By:
@@ -310,8 +310,8 @@ http_interactions:
310
310
  Connection:
311
311
  - keep-alive
312
312
  body:
313
- encoding: US-ASCII
314
- string: ! '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black
313
+ encoding: UTF-8
314
+ string: '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black
315
315
  or African American","school":"530e595026403103360ff9fd","sis_id":"617499409","state_id":"979518299","student_number":"617499409","credentials":{"district_username":"williamh09","district_password":"roosh5Oo"},"location":{"zip":"11428"},"name":{"first":"William","middle":"M","last":"Hodkiewicz"},"last_modified":"2014-06-04T14:10:43.010Z","created":"2014-02-26T21:15:17.612Z","id":"530e5965049e75a9262d038f"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.402Z","id":"53e90ce782399c964b0009e3"},"uri":"/v1.1/events/53e90ce782399c964b0009e3"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/17/1998","ell_status":"N","email":"corina.w@example.com","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"American
316
316
  Indian","school":"530e595026403103360ff9fd","sis_id":"670807511","state_id":"814185233","student_number":"670807511","credentials":{"district_username":"corinaw11","district_password":"Eiph5aeX"},"location":{"zip":"10004"},"name":{"first":"Corina","middle":"L","last":"Watsica"},"last_modified":"2014-06-04T14:10:43.290Z","created":"2014-02-26T21:15:18.067Z","id":"530e5966049e75a9262d03fc"},"previous_attributes":{"dob":"5/7/1998"}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e4"},"uri":"/v1.1/events/53e90ce782399c964b0009e4"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/13/1998","ell_status":"Y","email":"kim_j@example.org","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"N","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"841688312","state_id":"484726796","student_number":"841688312","credentials":{"district_username":"kimj12","district_password":"phee7kah3R"},"location":{"zip":"11377"},"name":{"first":"Kimberly","last":"Jacobi","middle":"J"},"last_modified":"2014-06-04T14:10:44.004Z","created":"2014-02-26T21:15:19.645Z","id":"530e5967049e75a9262d057e"},"previous_attributes":{"name":{"first":"Kim","last":"Jacobi","middle":"J"}}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e5"},"uri":"/v1.1/events/53e90ce782399c964b0009e5"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group
317
317
  Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
@@ -336,5 +336,5 @@ http_interactions:
336
336
  Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
337
337
  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":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events"}]}'
338
338
  http_version:
339
- recorded_at: Mon, 08 Sep 2014 21:31:25 GMT
339
+ recorded_at: Tue, 09 Sep 2014 21:48:38 GMT
340
340
  recorded_with: VCR 2.4.0
@@ -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
  User-Agent:
@@ -23,11 +23,11 @@ http_interactions:
23
23
  Access-Control-Allow-Methods:
24
24
  - GET,PATCH,POST,DELETE
25
25
  Access-Control-Allow-Origin:
26
- - ! '*'
26
+ - "*"
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Date:
30
- - Mon, 08 Sep 2014 21:30:59 GMT
30
+ - Tue, 09 Sep 2014 21:48:20 GMT
31
31
  Server:
32
32
  - nginx/1.4.7
33
33
  X-Powered-By:
@@ -37,10 +37,10 @@ http_interactions:
37
37
  Connection:
38
38
  - keep-alive
39
39
  body:
40
- encoding: US-ASCII
41
- 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"}]}'
40
+ encoding: UTF-8
41
+ 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
42
  http_version:
43
- recorded_at: Mon, 08 Sep 2014 21:30:59 GMT
43
+ recorded_at: Tue, 09 Sep 2014 21:48:20 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -49,7 +49,7 @@ http_interactions:
49
49
  string: ''
50
50
  headers:
51
51
  Accept:
52
- - ! '*/*; q=0.5, application/xml'
52
+ - "*/*; q=0.5, application/xml"
53
53
  Accept-Encoding:
54
54
  - gzip, deflate
55
55
  User-Agent:
@@ -64,11 +64,11 @@ http_interactions:
64
64
  Access-Control-Allow-Methods:
65
65
  - GET,PATCH,POST,DELETE
66
66
  Access-Control-Allow-Origin:
67
- - ! '*'
67
+ - "*"
68
68
  Content-Type:
69
69
  - application/json; charset=utf-8
70
70
  Date:
71
- - Mon, 08 Sep 2014 21:30:59 GMT
71
+ - Tue, 09 Sep 2014 21:48:20 GMT
72
72
  Server:
73
73
  - nginx/1.4.7
74
74
  X-Powered-By:
@@ -78,10 +78,10 @@ http_interactions:
78
78
  Connection:
79
79
  - keep-alive
80
80
  body:
81
- encoding: US-ASCII
82
- 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"}]}'
81
+ encoding: UTF-8
82
+ 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
83
  http_version:
84
- recorded_at: Mon, 08 Sep 2014 21:30:59 GMT
84
+ recorded_at: Tue, 09 Sep 2014 21:48:20 GMT
85
85
  - request:
86
86
  method: get
87
87
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -90,7 +90,7 @@ http_interactions:
90
90
  string: ''
91
91
  headers:
92
92
  Accept:
93
- - ! '*/*; q=0.5, application/xml'
93
+ - "*/*; q=0.5, application/xml"
94
94
  Accept-Encoding:
95
95
  - gzip, deflate
96
96
  User-Agent:
@@ -105,11 +105,11 @@ http_interactions:
105
105
  Access-Control-Allow-Methods:
106
106
  - GET,PATCH,POST,DELETE
107
107
  Access-Control-Allow-Origin:
108
- - ! '*'
108
+ - "*"
109
109
  Content-Type:
110
110
  - application/json; charset=utf-8
111
111
  Date:
112
- - Mon, 08 Sep 2014 21:30:59 GMT
112
+ - Tue, 09 Sep 2014 21:48:20 GMT
113
113
  Server:
114
114
  - nginx/1.4.7
115
115
  X-Powered-By:
@@ -119,10 +119,10 @@ http_interactions:
119
119
  Connection:
120
120
  - keep-alive
121
121
  body:
122
- encoding: US-ASCII
123
- 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"}]}'
122
+ encoding: UTF-8
123
+ 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"}]}'
124
124
  http_version:
125
- recorded_at: Mon, 08 Sep 2014 21:30:59 GMT
125
+ recorded_at: Tue, 09 Sep 2014 21:48:20 GMT
126
126
  - request:
127
127
  method: get
128
128
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=100000
@@ -131,7 +131,7 @@ http_interactions:
131
131
  string: ''
132
132
  headers:
133
133
  Accept:
134
- - ! '*/*; q=0.5, application/xml'
134
+ - "*/*; q=0.5, application/xml"
135
135
  Accept-Encoding:
136
136
  - gzip, deflate
137
137
  User-Agent:
@@ -146,13 +146,13 @@ http_interactions:
146
146
  Access-Control-Allow-Methods:
147
147
  - GET,PATCH,POST,DELETE
148
148
  Access-Control-Allow-Origin:
149
- - ! '*'
149
+ - "*"
150
150
  Content-Type:
151
151
  - application/json; charset=utf-8
152
152
  Date:
153
- - Mon, 08 Sep 2014 21:30:59 GMT
153
+ - Tue, 09 Sep 2014 21:48:20 GMT
154
154
  Etag:
155
- - ! '"-1820526720"'
155
+ - '"-1820526720"'
156
156
  Server:
157
157
  - nginx/1.4.7
158
158
  X-Powered-By:
@@ -162,8 +162,8 @@ http_interactions:
162
162
  Connection:
163
163
  - keep-alive
164
164
  body:
165
- encoding: US-ASCII
166
- string: ! '{"data":[{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350
165
+ encoding: UTF-8
166
+ string: '{"data":[{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350
167
167
  5th Avenue","city":"New York","state":"NY","zip":"10001"},"low_grade":"9","name":"Clever
168
168
  High School","nces_id":"360008000000","phone":"(212) 555-1212","principal":{"name":"Theodora
169
169
  Khan","email":"tdkhan@mailinator.com"},"school_number":"02M800","sis_id":"02M800","state_id":"712345","id":"530e595026403103360ff9fd"},"uri":"/v1.1/schools/530e595026403103360ff9fd"},{"data":{"created":"2014-02-26T21:14:56.668Z","district":"4fd43cc56d11340000000005","high_grade":"5","last_modified":"2014-02-26T21:14:56.670Z","location":{"address":"110
@@ -174,7 +174,7 @@ http_interactions:
174
174
  Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard
175
175
  Springsteen","email":"lspringsteen@mailinator.com"},"school_number":"27Q321","sis_id":"27Q321","state_id":"412","id":"530e595026403103360ff9ff"},"uri":"/v1.1/schools/530e595026403103360ff9ff"}],"paging":{"current":1,"total":1,"count":3},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/schools?limit=100000"}]}'
176
176
  http_version:
177
- recorded_at: Mon, 08 Sep 2014 21:30:59 GMT
177
+ recorded_at: Tue, 09 Sep 2014 21:48:20 GMT
178
178
  - request:
179
179
  method: get
180
180
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -183,7 +183,7 @@ http_interactions:
183
183
  string: ''
184
184
  headers:
185
185
  Accept:
186
- - ! '*/*; q=0.5, application/xml'
186
+ - "*/*; q=0.5, application/xml"
187
187
  Accept-Encoding:
188
188
  - gzip, deflate
189
189
  User-Agent:
@@ -198,11 +198,11 @@ http_interactions:
198
198
  Access-Control-Allow-Methods:
199
199
  - GET,PATCH,POST,DELETE
200
200
  Access-Control-Allow-Origin:
201
- - ! '*'
201
+ - "*"
202
202
  Content-Type:
203
203
  - application/json; charset=utf-8
204
204
  Date:
205
- - Mon, 08 Sep 2014 21:30:59 GMT
205
+ - Tue, 09 Sep 2014 21:48:20 GMT
206
206
  Server:
207
207
  - nginx/1.4.7
208
208
  X-Powered-By:
@@ -212,10 +212,10 @@ http_interactions:
212
212
  Connection:
213
213
  - keep-alive
214
214
  body:
215
- encoding: US-ASCII
216
- 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"}]}'
215
+ encoding: UTF-8
216
+ 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"}]}'
217
217
  http_version:
218
- recorded_at: Mon, 08 Sep 2014 21:30:59 GMT
218
+ recorded_at: Tue, 09 Sep 2014 21:48:20 GMT
219
219
  - request:
220
220
  method: get
221
221
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -224,7 +224,7 @@ http_interactions:
224
224
  string: ''
225
225
  headers:
226
226
  Accept:
227
- - ! '*/*; q=0.5, application/xml'
227
+ - "*/*; q=0.5, application/xml"
228
228
  Accept-Encoding:
229
229
  - gzip, deflate
230
230
  User-Agent:
@@ -239,11 +239,11 @@ http_interactions:
239
239
  Access-Control-Allow-Methods:
240
240
  - GET,PATCH,POST,DELETE
241
241
  Access-Control-Allow-Origin:
242
- - ! '*'
242
+ - "*"
243
243
  Content-Type:
244
244
  - application/json; charset=utf-8
245
245
  Date:
246
- - Mon, 08 Sep 2014 21:31:00 GMT
246
+ - Tue, 09 Sep 2014 21:48:20 GMT
247
247
  Server:
248
248
  - nginx/1.4.7
249
249
  X-Powered-By:
@@ -253,10 +253,10 @@ http_interactions:
253
253
  Connection:
254
254
  - keep-alive
255
255
  body:
256
- encoding: US-ASCII
257
- 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"}]}'
256
+ encoding: UTF-8
257
+ 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"}]}'
258
258
  http_version:
259
- recorded_at: Mon, 08 Sep 2014 21:30:59 GMT
259
+ recorded_at: Tue, 09 Sep 2014 21:48:20 GMT
260
260
  - request:
261
261
  method: get
262
262
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=2
@@ -265,7 +265,7 @@ http_interactions:
265
265
  string: ''
266
266
  headers:
267
267
  Accept:
268
- - ! '*/*; q=0.5, application/xml'
268
+ - "*/*; q=0.5, application/xml"
269
269
  Accept-Encoding:
270
270
  - gzip, deflate
271
271
  User-Agent:
@@ -280,13 +280,13 @@ http_interactions:
280
280
  Access-Control-Allow-Methods:
281
281
  - GET,PATCH,POST,DELETE
282
282
  Access-Control-Allow-Origin:
283
- - ! '*'
283
+ - "*"
284
284
  Content-Type:
285
285
  - application/json; charset=utf-8
286
286
  Date:
287
- - Mon, 08 Sep 2014 21:31:00 GMT
287
+ - Tue, 09 Sep 2014 21:48:20 GMT
288
288
  Etag:
289
- - ! '"1588311031"'
289
+ - '"1588311031"'
290
290
  Server:
291
291
  - nginx/1.4.7
292
292
  X-Powered-By:
@@ -296,8 +296,8 @@ http_interactions:
296
296
  Connection:
297
297
  - keep-alive
298
298
  body:
299
- encoding: US-ASCII
300
- string: ! '{"data":[{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350
299
+ encoding: UTF-8
300
+ string: '{"data":[{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350
301
301
  5th Avenue","city":"New York","state":"NY","zip":"10001"},"low_grade":"9","name":"Clever
302
302
  High School","nces_id":"360008000000","phone":"(212) 555-1212","principal":{"name":"Theodora
303
303
  Khan","email":"tdkhan@mailinator.com"},"school_number":"02M800","sis_id":"02M800","state_id":"712345","id":"530e595026403103360ff9fd"},"uri":"/v1.1/schools/530e595026403103360ff9fd"},{"data":{"created":"2014-02-26T21:14:56.668Z","district":"4fd43cc56d11340000000005","high_grade":"5","last_modified":"2014-02-26T21:14:56.670Z","location":{"address":"110
@@ -305,7 +305,7 @@ http_interactions:
305
305
  Elementary School","nces_id":"360007000000","phone":"(718) 555-4567","principal":{"name":"Cecilia
306
306
  Roderick","email":"ceciliar@mailinator.com"},"school_number":"13K123","sis_id":"13K123","state_id":"30890","id":"530e595026403103360ff9fe"},"uri":"/v1.1/schools/530e595026403103360ff9fe"}],"paging":{"current":1,"total":2,"count":3},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/schools?limit=2"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/schools?limit=2&starting_after=530e595026403103360ff9fe"}]}'
307
307
  http_version:
308
- recorded_at: Mon, 08 Sep 2014 21:31:00 GMT
308
+ recorded_at: Tue, 09 Sep 2014 21:48:20 GMT
309
309
  - request:
310
310
  method: get
311
311
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/schools?limit=2&starting_after=530e595026403103360ff9fe
@@ -314,7 +314,7 @@ http_interactions:
314
314
  string: ''
315
315
  headers:
316
316
  Accept:
317
- - ! '*/*; q=0.5, application/xml'
317
+ - "*/*; q=0.5, application/xml"
318
318
  Accept-Encoding:
319
319
  - gzip, deflate
320
320
  User-Agent:
@@ -329,11 +329,11 @@ http_interactions:
329
329
  Access-Control-Allow-Methods:
330
330
  - GET,PATCH,POST,DELETE
331
331
  Access-Control-Allow-Origin:
332
- - ! '*'
332
+ - "*"
333
333
  Content-Type:
334
334
  - application/json; charset=utf-8
335
335
  Date:
336
- - Mon, 08 Sep 2014 21:31:00 GMT
336
+ - Tue, 09 Sep 2014 21:48:20 GMT
337
337
  Server:
338
338
  - nginx/1.4.7
339
339
  X-Powered-By:
@@ -343,11 +343,11 @@ http_interactions:
343
343
  Connection:
344
344
  - keep-alive
345
345
  body:
346
- encoding: US-ASCII
347
- string: ! '{"data":[{"data":{"created":"2014-02-26T21:14:56.671Z","district":"4fd43cc56d11340000000005","high_grade":"8","last_modified":"2014-02-26T21:14:56.673Z","location":{"address":"322
346
+ encoding: UTF-8
347
+ string: '{"data":[{"data":{"created":"2014-02-26T21:14:56.671Z","district":"4fd43cc56d11340000000005","high_grade":"8","last_modified":"2014-02-26T21:14:56.673Z","location":{"address":"322
348
348
  Old Beach 88th Street","city":"Rockaway Beach","state":"NY","zip":"11693"},"low_grade":"6","name":"Clever
349
349
  Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard
350
350
  Springsteen","email":"lspringsteen@mailinator.com"},"school_number":"27Q321","sis_id":"27Q321","state_id":"412","id":"530e595026403103360ff9ff"},"uri":"/v1.1/schools/530e595026403103360ff9ff"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/schools?limit=2&starting_after=530e595026403103360ff9fe"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/schools?limit=2&ending_before=530e595026403103360ff9ff"}]}'
351
351
  http_version:
352
- recorded_at: Mon, 08 Sep 2014 21:31:00 GMT
352
+ recorded_at: Tue, 09 Sep 2014 21:48:20 GMT
353
353
  recorded_with: VCR 2.4.0