clever-ruby 0.6.2 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG.md +5 -0
  3. data/lib/clever-ruby.rb +3 -0
  4. data/lib/clever-ruby/api_operations/nested_list.rb +46 -0
  5. data/lib/clever-ruby/api_resource.rb +67 -27
  6. data/lib/clever-ruby/clever_object.rb +8 -2
  7. data/lib/clever-ruby/district.rb +25 -11
  8. data/lib/clever-ruby/event.rb +1 -1
  9. data/lib/clever-ruby/nested_resource.rb +40 -0
  10. data/lib/clever-ruby/school.rb +1 -1
  11. data/lib/clever-ruby/section.rb +1 -1
  12. data/lib/clever-ruby/student.rb +13 -1
  13. data/lib/clever-ruby/teacher.rb +1 -1
  14. data/lib/clever-ruby/util.rb +16 -17
  15. data/lib/clever-ruby/version.rb +1 -1
  16. data/test/data/vcr_cassettes/district_count.yml +6 -6
  17. data/test/data/vcr_cassettes/{districts_events.yml → district_events.yml} +29 -164
  18. data/test/data/vcr_cassettes/district_find_by_page.yml +12 -12
  19. data/test/data/vcr_cassettes/district_find_multiple.yml +12 -12
  20. data/test/data/vcr_cassettes/district_find_one.yml +12 -12
  21. data/test/data/vcr_cassettes/{districts_schools.yml → district_schools.yml} +25 -148
  22. data/test/data/vcr_cassettes/district_sections.yml +2289 -0
  23. data/test/data/vcr_cassettes/district_students.yml +2339 -0
  24. data/test/data/vcr_cassettes/{districts_teachers.yml → district_teachers.yml} +25 -148
  25. data/test/data/vcr_cassettes/districts.yml +12 -12
  26. data/test/data/vcr_cassettes/districts_event_pages.yml +76 -469
  27. data/test/data/vcr_cassettes/districts_school_pages.yml +31 -154
  28. data/test/data/vcr_cassettes/districts_section_pages.yml +284 -407
  29. data/test/data/vcr_cassettes/districts_student_pages.yml +165 -288
  30. data/test/data/vcr_cassettes/districts_teacher_pages.yml +81 -204
  31. data/test/data/vcr_cassettes/error_handling.yml +17 -58
  32. data/test/data/vcr_cassettes/event_count.yml +7 -7
  33. data/test/data/vcr_cassettes/event_find_by_page.yml +16 -22
  34. data/test/data/vcr_cassettes/event_find_multiple.yml +19 -28
  35. data/test/data/vcr_cassettes/event_find_one.yml +16 -22
  36. data/test/data/vcr_cassettes/events.yml +16 -22
  37. data/test/data/vcr_cassettes/school_count.yml +6 -6
  38. data/test/data/vcr_cassettes/school_district.yml +140 -0
  39. data/test/data/vcr_cassettes/school_events.yml +181 -0
  40. data/test/data/vcr_cassettes/school_find_by_page.yml +13 -13
  41. data/test/data/vcr_cassettes/school_find_multiple.yml +14 -14
  42. data/test/data/vcr_cassettes/school_find_one.yml +13 -13
  43. data/test/data/vcr_cassettes/school_sections.yml +1119 -0
  44. data/test/data/vcr_cassettes/school_students.yml +1033 -0
  45. data/test/data/vcr_cassettes/school_teachers.yml +257 -0
  46. data/test/data/vcr_cassettes/schools.yml +13 -13
  47. data/test/data/vcr_cassettes/schools_optional_attributes.yml +7 -7
  48. data/test/data/vcr_cassettes/section_count.yml +6 -6
  49. data/test/data/vcr_cassettes/section_district.yml +393 -0
  50. data/test/data/vcr_cassettes/section_events.yml +434 -0
  51. data/test/data/vcr_cassettes/section_find_by_page.yml +34 -34
  52. data/test/data/vcr_cassettes/section_find_multiple.yml +14 -14
  53. data/test/data/vcr_cassettes/section_find_one.yml +14 -14
  54. data/test/data/vcr_cassettes/section_school.yml +396 -0
  55. data/test/data/vcr_cassettes/section_students.yml +456 -0
  56. data/test/data/vcr_cassettes/section_teacher.yml +394 -0
  57. data/test/data/vcr_cassettes/sections.yml +34 -34
  58. data/test/data/vcr_cassettes/student_count.yml +6 -6
  59. data/test/data/vcr_cassettes/student_district.yml +202 -0
  60. data/test/data/vcr_cassettes/student_events.yml +243 -0
  61. data/test/data/vcr_cassettes/student_find_by_page.yml +83 -83
  62. data/test/data/vcr_cassettes/student_find_multiple.yml +14 -14
  63. data/test/data/vcr_cassettes/student_find_one.yml +14 -14
  64. data/test/data/vcr_cassettes/student_school.yml +205 -0
  65. data/test/data/vcr_cassettes/student_sections.yml +269 -0
  66. data/test/data/vcr_cassettes/student_teacher.yml +161 -0
  67. data/test/data/vcr_cassettes/student_teachers.yml +245 -0
  68. data/test/data/vcr_cassettes/students.yml +83 -83
  69. data/test/data/vcr_cassettes/teacher_count.yml +6 -6
  70. data/test/data/vcr_cassettes/teacher_district.yml +218 -0
  71. data/test/data/vcr_cassettes/teacher_events.yml +259 -0
  72. data/test/data/vcr_cassettes/teacher_find_by_page.yml +13 -13
  73. data/test/data/vcr_cassettes/teacher_find_multiple.yml +14 -14
  74. data/test/data/vcr_cassettes/teacher_find_one.yml +13 -13
  75. data/test/data/vcr_cassettes/teacher_school.yml +221 -0
  76. data/test/data/vcr_cassettes/teacher_sections.yml +291 -0
  77. data/test/data/vcr_cassettes/teacher_students.yml +293 -0
  78. data/test/data/vcr_cassettes/teachers.yml +13 -13
  79. data/test/integration/api_operations/list_test.rb +1 -1
  80. data/test/integration/district_test.rb +17 -49
  81. data/test/integration/error_handling_test.rb +1 -1
  82. data/test/integration/nested_resource_test.rb +27 -0
  83. data/test/unit/api_resource_test.rb +32 -0
  84. data/test/unit/optional_attributes_test.rb +7 -13
  85. metadata +60 -14
  86. data/test/data/vcr_cassettes/districts_sections.yml +0 -818
  87. data/test/data/vcr_cassettes/districts_students.yml +0 -436
  88. data/test/data/vcr_cassettes/districts_students_filtered.yml +0 -170
@@ -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
- - Tue, 09 Sep 2014 21:48:36 GMT
30
+ - Fri, 12 Sep 2014 20:48:43 GMT
31
31
  Server:
32
32
  - nginx/1.4.7
33
33
  X-Powered-By:
@@ -36,52 +36,11 @@ http_interactions:
36
36
  - '217'
37
37
  Connection:
38
38
  - keep-alive
39
- body:
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
- http_version:
43
- recorded_at: Tue, 09 Sep 2014 21:48:36 GMT
44
- - request:
45
- method: get
46
- uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
47
39
  body:
48
40
  encoding: US-ASCII
49
- string: ''
50
- headers:
51
- Accept:
52
- - "*/*; q=0.5, application/xml"
53
- Accept-Encoding:
54
- - gzip, deflate
55
- User-Agent:
56
- - Ruby
57
- response:
58
- status:
59
- code: 200
60
- message: OK
61
- headers:
62
- Access-Control-Allow-Headers:
63
- - Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
64
- Access-Control-Allow-Methods:
65
- - GET,PATCH,POST,DELETE
66
- Access-Control-Allow-Origin:
67
- - "*"
68
- Content-Type:
69
- - application/json; charset=utf-8
70
- Date:
71
- - Tue, 09 Sep 2014 21:48:36 GMT
72
- Server:
73
- - nginx/1.4.7
74
- X-Powered-By:
75
- - Express
76
- Content-Length:
77
- - '518'
78
- Connection:
79
- - keep-alive
80
- body:
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"}]}'
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"}]}'
83
42
  http_version:
84
- recorded_at: Tue, 09 Sep 2014 21:48:36 GMT
43
+ recorded_at: Fri, 12 Sep 2014 20:48:43 GMT
85
44
  - request:
86
45
  method: get
87
46
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -90,7 +49,7 @@ http_interactions:
90
49
  string: ''
91
50
  headers:
92
51
  Accept:
93
- - "*/*; q=0.5, application/xml"
52
+ - ! '*/*; q=0.5, application/xml'
94
53
  Accept-Encoding:
95
54
  - gzip, deflate
96
55
  User-Agent:
@@ -105,11 +64,11 @@ http_interactions:
105
64
  Access-Control-Allow-Methods:
106
65
  - GET,PATCH,POST,DELETE
107
66
  Access-Control-Allow-Origin:
108
- - "*"
67
+ - ! '*'
109
68
  Content-Type:
110
69
  - application/json; charset=utf-8
111
70
  Date:
112
- - Tue, 09 Sep 2014 21:48:36 GMT
71
+ - Fri, 12 Sep 2014 20:48:43 GMT
113
72
  Server:
114
73
  - nginx/1.4.7
115
74
  X-Powered-By:
@@ -119,10 +78,10 @@ http_interactions:
119
78
  Connection:
120
79
  - keep-alive
121
80
  body:
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"}]}'
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"}]}'
124
83
  http_version:
125
- recorded_at: Tue, 09 Sep 2014 21:48:36 GMT
84
+ recorded_at: Fri, 12 Sep 2014 20:48:43 GMT
126
85
  - request:
127
86
  method: get
128
87
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=100000
@@ -131,7 +90,7 @@ http_interactions:
131
90
  string: ''
132
91
  headers:
133
92
  Accept:
134
- - "*/*; q=0.5, application/xml"
93
+ - ! '*/*; q=0.5, application/xml'
135
94
  Accept-Encoding:
136
95
  - gzip, deflate
137
96
  User-Agent:
@@ -146,13 +105,13 @@ http_interactions:
146
105
  Access-Control-Allow-Methods:
147
106
  - GET,PATCH,POST,DELETE
148
107
  Access-Control-Allow-Origin:
149
- - "*"
108
+ - ! '*'
150
109
  Content-Type:
151
110
  - application/json; charset=utf-8
152
111
  Date:
153
- - Tue, 09 Sep 2014 21:48:36 GMT
112
+ - Fri, 12 Sep 2014 20:48:43 GMT
154
113
  Etag:
155
- - '"-1604003112"'
114
+ - ! '"-1604003112"'
156
115
  Server:
157
116
  - nginx/1.4.7
158
117
  X-Powered-By:
@@ -162,8 +121,8 @@ http_interactions:
162
121
  Connection:
163
122
  - keep-alive
164
123
  body:
165
- encoding: UTF-8
166
- string: '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
124
+ encoding: US-ASCII
125
+ string: ! '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
167
126
  3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"data":{"created":"2012-11-27T15:04:48.474Z","credentials":{"district_password":"OMeitoo3v","district_username":"reuben.conn"},"district":"4fd43cc56d11340000000005","email":"conn_reuben@example.net","last_modified":"2014-02-26T21:15:01.234Z","name":{"first":"Reuben","last":"Conn","middle":"K"},"school":"530e595026403103360ff9ff","sis_id":"33","teacher_number":"215041","title":"Grade
168
127
  8 Mathematics Teacher","id":"50b4d690ad221ab95f1c6c39"},"uri":"/v1.1/teachers/50b4d690ad221ab95f1c6c39"},{"data":{"created":"2012-12-01T15:02:36.961Z","credentials":{"district_password":"ru3o8rusbf","district_username":"steven.ogden"},"district":"4fd43cc56d11340000000005","email":"ogden_steven@example.net","last_modified":"2014-02-26T21:15:01.485Z","name":{"first":"Steven","last":"Ogden","middle":"Q"},"school":"530e595026403103360ff9fd","sis_id":"81","teacher_number":"474958","title":"High
169
128
  School Science Teacher","id":"50ba1c0c4eda5d94372227eb"},"uri":"/v1.1/teachers/50ba1c0c4eda5d94372227eb"},{"data":{"created":"2012-12-05T15:00:02.670Z","credentials":{"district_password":"Coo0ooyahgh","district_username":"hauck.haylie"},"district":"4fd43cc56d11340000000005","email":"hauck.haylie@example.com","last_modified":"2014-02-26T21:15:01.358Z","name":{"first":"Haylie","last":"Hauck","middle":"J"},"school":"530e595026403103360ff9fd","sis_id":"48","teacher_number":"830340","title":"Grade
@@ -254,89 +213,7 @@ http_interactions:
254
213
  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
255
214
  School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=100000"}]}'
256
215
  http_version:
257
- recorded_at: Tue, 09 Sep 2014 21:48:36 GMT
258
- - request:
259
- method: get
260
- uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
261
- body:
262
- encoding: US-ASCII
263
- string: ''
264
- headers:
265
- Accept:
266
- - "*/*; q=0.5, application/xml"
267
- Accept-Encoding:
268
- - gzip, deflate
269
- User-Agent:
270
- - Ruby
271
- response:
272
- status:
273
- code: 200
274
- message: OK
275
- headers:
276
- Access-Control-Allow-Headers:
277
- - Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
278
- Access-Control-Allow-Methods:
279
- - GET,PATCH,POST,DELETE
280
- Access-Control-Allow-Origin:
281
- - "*"
282
- Content-Type:
283
- - application/json; charset=utf-8
284
- Date:
285
- - Tue, 09 Sep 2014 21:48:36 GMT
286
- Server:
287
- - nginx/1.4.7
288
- X-Powered-By:
289
- - Express
290
- Content-Length:
291
- - '518'
292
- Connection:
293
- - keep-alive
294
- body:
295
- encoding: UTF-8
296
- 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"}]}'
297
- http_version:
298
- recorded_at: Tue, 09 Sep 2014 21:48:36 GMT
299
- - request:
300
- method: get
301
- uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
302
- body:
303
- encoding: US-ASCII
304
- string: ''
305
- headers:
306
- Accept:
307
- - "*/*; q=0.5, application/xml"
308
- Accept-Encoding:
309
- - gzip, deflate
310
- User-Agent:
311
- - Ruby
312
- response:
313
- status:
314
- code: 200
315
- message: OK
316
- headers:
317
- Access-Control-Allow-Headers:
318
- - Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
319
- Access-Control-Allow-Methods:
320
- - GET,PATCH,POST,DELETE
321
- Access-Control-Allow-Origin:
322
- - "*"
323
- Content-Type:
324
- - application/json; charset=utf-8
325
- Date:
326
- - Tue, 09 Sep 2014 21:48:36 GMT
327
- Server:
328
- - nginx/1.4.7
329
- X-Powered-By:
330
- - Express
331
- Content-Length:
332
- - '518'
333
- Connection:
334
- - keep-alive
335
- body:
336
- encoding: UTF-8
337
- 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"}]}'
338
- http_version:
339
- recorded_at: Tue, 09 Sep 2014 21:48:36 GMT
216
+ recorded_at: Fri, 12 Sep 2014 20:48:43 GMT
340
217
  - request:
341
218
  method: get
342
219
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10
@@ -345,7 +222,7 @@ http_interactions:
345
222
  string: ''
346
223
  headers:
347
224
  Accept:
348
- - "*/*; q=0.5, application/xml"
225
+ - ! '*/*; q=0.5, application/xml'
349
226
  Accept-Encoding:
350
227
  - gzip, deflate
351
228
  User-Agent:
@@ -360,13 +237,13 @@ http_interactions:
360
237
  Access-Control-Allow-Methods:
361
238
  - GET,PATCH,POST,DELETE
362
239
  Access-Control-Allow-Origin:
363
- - "*"
240
+ - ! '*'
364
241
  Content-Type:
365
242
  - application/json; charset=utf-8
366
243
  Date:
367
- - Tue, 09 Sep 2014 21:48:36 GMT
244
+ - Fri, 12 Sep 2014 20:48:44 GMT
368
245
  Etag:
369
- - '"1331950855"'
246
+ - ! '"1331950855"'
370
247
  Server:
371
248
  - nginx/1.4.7
372
249
  X-Powered-By:
@@ -376,8 +253,8 @@ http_interactions:
376
253
  Connection:
377
254
  - keep-alive
378
255
  body:
379
- encoding: UTF-8
380
- string: '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
256
+ encoding: US-ASCII
257
+ string: ! '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade
381
258
  3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"data":{"created":"2012-11-27T15:04:48.474Z","credentials":{"district_password":"OMeitoo3v","district_username":"reuben.conn"},"district":"4fd43cc56d11340000000005","email":"conn_reuben@example.net","last_modified":"2014-02-26T21:15:01.234Z","name":{"first":"Reuben","last":"Conn","middle":"K"},"school":"530e595026403103360ff9ff","sis_id":"33","teacher_number":"215041","title":"Grade
382
259
  8 Mathematics Teacher","id":"50b4d690ad221ab95f1c6c39"},"uri":"/v1.1/teachers/50b4d690ad221ab95f1c6c39"},{"data":{"created":"2012-12-01T15:02:36.961Z","credentials":{"district_password":"ru3o8rusbf","district_username":"steven.ogden"},"district":"4fd43cc56d11340000000005","email":"ogden_steven@example.net","last_modified":"2014-02-26T21:15:01.485Z","name":{"first":"Steven","last":"Ogden","middle":"Q"},"school":"530e595026403103360ff9fd","sis_id":"81","teacher_number":"474958","title":"High
383
260
  School Science Teacher","id":"50ba1c0c4eda5d94372227eb"},"uri":"/v1.1/teachers/50ba1c0c4eda5d94372227eb"},{"data":{"created":"2012-12-05T15:00:02.670Z","credentials":{"district_password":"Coo0ooyahgh","district_username":"hauck.haylie"},"district":"4fd43cc56d11340000000005","email":"hauck.haylie@example.com","last_modified":"2014-02-26T21:15:01.358Z","name":{"first":"Haylie","last":"Hauck","middle":"J"},"school":"530e595026403103360ff9fd","sis_id":"48","teacher_number":"830340","title":"Grade
@@ -389,7 +266,7 @@ http_interactions:
389
266
  2 Special Education Teacher","id":"50c89ff19ed67a1d3f1f50c9"},"uri":"/v1.1/teachers/50c89ff19ed67a1d3f1f50c9"},{"data":{"created":"2012-12-12T15:17:05.366Z","credentials":{"district_password":"meile5Taicei","district_username":"colton.block"},"district":"4fd43cc56d11340000000005","email":"block_colton@example.net","last_modified":"2014-02-26T21:15:01.391Z","name":{"first":"Colton","last":"Block","middle":"L"},"school":"530e595026403103360ff9fd","sis_id":"54","teacher_number":"911173","title":"Grade
390
267
  9 History Teacher","id":"50c89ff19ed67a1d3f1f50ca"},"uri":"/v1.1/teachers/50c89ff19ed67a1d3f1f50ca"}],"paging":{"current":1,"total":9,"count":89},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=50c89ff19ed67a1d3f1f50ca"}]}'
391
268
  http_version:
392
- recorded_at: Tue, 09 Sep 2014 21:48:36 GMT
269
+ recorded_at: Fri, 12 Sep 2014 20:48:44 GMT
393
270
  - request:
394
271
  method: get
395
272
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=50c89ff19ed67a1d3f1f50ca
@@ -398,7 +275,7 @@ http_interactions:
398
275
  string: ''
399
276
  headers:
400
277
  Accept:
401
- - "*/*; q=0.5, application/xml"
278
+ - ! '*/*; q=0.5, application/xml'
402
279
  Accept-Encoding:
403
280
  - gzip, deflate
404
281
  User-Agent:
@@ -413,13 +290,13 @@ http_interactions:
413
290
  Access-Control-Allow-Methods:
414
291
  - GET,PATCH,POST,DELETE
415
292
  Access-Control-Allow-Origin:
416
- - "*"
293
+ - ! '*'
417
294
  Content-Type:
418
295
  - application/json; charset=utf-8
419
296
  Date:
420
- - Tue, 09 Sep 2014 21:48:37 GMT
297
+ - Fri, 12 Sep 2014 20:48:44 GMT
421
298
  Etag:
422
- - '"1639195967"'
299
+ - ! '"1639195967"'
423
300
  Server:
424
301
  - nginx/1.4.7
425
302
  X-Powered-By:
@@ -429,8 +306,8 @@ http_interactions:
429
306
  Connection:
430
307
  - keep-alive
431
308
  body:
432
- encoding: UTF-8
433
- string: '{"data":[{"data":{"created":"2014-02-26T21:15:01.053Z","credentials":{"district_username":"haley.hahn","district_password":"xooBee4um"},"district":"4fd43cc56d11340000000005","email":"hahn_haley@example.com","last_modified":"2014-02-26T21:15:01.057Z","name":{"first":"Haley","middle":"D","last":"Hahn"},"school":"530e595026403103360ff9fe","sis_id":"1","teacher_number":"341754","title":"Grade
309
+ encoding: US-ASCII
310
+ string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.053Z","credentials":{"district_username":"haley.hahn","district_password":"xooBee4um"},"district":"4fd43cc56d11340000000005","email":"hahn_haley@example.com","last_modified":"2014-02-26T21:15:01.057Z","name":{"first":"Haley","middle":"D","last":"Hahn"},"school":"530e595026403103360ff9fe","sis_id":"1","teacher_number":"341754","title":"Grade
434
311
  1 Common Branch Teacher","id":"530e5955d50c310f36112bcb"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcb"},{"data":{"created":"2014-02-26T21:15:01.060Z","credentials":{"district_username":"abernathy.leatha","district_password":"ohF6Gai1ai"},"district":"4fd43cc56d11340000000005","email":"leatha.abernathy@example.org","last_modified":"2014-02-26T21:15:01.065Z","name":{"first":"Leatha","middle":"D","last":"Abernathy"},"school":"530e595026403103360ff9fe","sis_id":"10","teacher_number":"670963","title":"Grade
435
312
  3 Common Branch Teacher","id":"530e5955d50c310f36112bcc"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcc"},{"data":{"created":"2014-02-26T21:15:01.078Z","credentials":{"district_username":"davin_runte","district_password":"Ap3aQuoh"},"district":"4fd43cc56d11340000000005","email":"runte_davin@example.org","last_modified":"2014-02-26T21:15:01.082Z","name":{"first":"Davin","middle":"V","last":"Runte"},"school":"530e595026403103360ff9fe","sis_id":"12","teacher_number":"199518","title":"High
436
313
  School Mathematics Teacher","id":"530e5955d50c310f36112bcd"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcd"},{"data":{"created":"2014-02-26T21:15:01.083Z","credentials":{"district_username":"mertz.jana","district_password":"Fairohb9"},"district":"4fd43cc56d11340000000005","email":"jana_mertz@example.org","last_modified":"2014-02-26T21:15:01.088Z","name":{"first":"Jana","middle":"P","last":"Mertz"},"school":"530e595026403103360ff9fe","sis_id":"13","teacher_number":"211618","title":"Grade
@@ -442,7 +319,7 @@ http_interactions:
442
319
  5 Common Branch Teacher","id":"530e5955d50c310f36112bd3"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd3"},{"data":{"created":"2014-02-26T21:15:01.138Z","credentials":{"district_username":"daniela.raynor","district_password":"quahse5Ch"},"district":"4fd43cc56d11340000000005","email":"raynor_daniela@example.net","last_modified":"2014-02-26T21:15:01.144Z","name":{"first":"Daniela","middle":"F","last":"Raynor"},"school":"530e595026403103360ff9fe","sis_id":"19","teacher_number":"493218","title":"Grade
443
320
  5 Common Branch Teacher","id":"530e5955d50c310f36112bd4"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd4"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=50c89ff19ed67a1d3f1f50ca"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&ending_before=530e5955d50c310f36112bcb"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bd4"}]}'
444
321
  http_version:
445
- recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
322
+ recorded_at: Fri, 12 Sep 2014 20:48:44 GMT
446
323
  - request:
447
324
  method: get
448
325
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bd4
@@ -451,7 +328,7 @@ http_interactions:
451
328
  string: ''
452
329
  headers:
453
330
  Accept:
454
- - "*/*; q=0.5, application/xml"
331
+ - ! '*/*; q=0.5, application/xml'
455
332
  Accept-Encoding:
456
333
  - gzip, deflate
457
334
  User-Agent:
@@ -466,13 +343,13 @@ http_interactions:
466
343
  Access-Control-Allow-Methods:
467
344
  - GET,PATCH,POST,DELETE
468
345
  Access-Control-Allow-Origin:
469
- - "*"
346
+ - ! '*'
470
347
  Content-Type:
471
348
  - application/json; charset=utf-8
472
349
  Date:
473
- - Tue, 09 Sep 2014 21:48:37 GMT
350
+ - Fri, 12 Sep 2014 20:48:44 GMT
474
351
  Etag:
475
- - '"859940908"'
352
+ - ! '"859940908"'
476
353
  Server:
477
354
  - nginx/1.4.7
478
355
  X-Powered-By:
@@ -482,8 +359,8 @@ http_interactions:
482
359
  Connection:
483
360
  - keep-alive
484
361
  body:
485
- encoding: UTF-8
486
- string: '{"data":[{"data":{"created":"2014-02-26T21:15:01.155Z","credentials":{"district_username":"evangeline.harris","district_password":"ieThes1ke"},"district":"4fd43cc56d11340000000005","email":"evangeline_harris@example.net","last_modified":"2014-02-26T21:15:01.158Z","name":{"first":"Evangeline","middle":"R","last":"Harris"},"school":"530e595026403103360ff9fe","sis_id":"2","teacher_number":"796856","title":"Grade
362
+ encoding: US-ASCII
363
+ string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.155Z","credentials":{"district_username":"evangeline.harris","district_password":"ieThes1ke"},"district":"4fd43cc56d11340000000005","email":"evangeline_harris@example.net","last_modified":"2014-02-26T21:15:01.158Z","name":{"first":"Evangeline","middle":"R","last":"Harris"},"school":"530e595026403103360ff9fe","sis_id":"2","teacher_number":"796856","title":"Grade
487
364
  1 Common Branch Teacher","id":"530e5955d50c310f36112bd5"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd5"},{"data":{"created":"2014-02-26T21:15:01.162Z","credentials":{"district_username":"kulas.mallie","district_password":"Naith2Roh8i"},"district":"4fd43cc56d11340000000005","email":"mallie_kulas@example.net","last_modified":"2014-02-26T21:15:01.164Z","name":{"first":"Mallie","middle":"S","last":"Kulas"},"school":"530e595026403103360ff9fe","sis_id":"20","teacher_number":"671315","title":"High
488
365
  School Science Teacher","id":"530e5955d50c310f36112bd6"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd6"},{"data":{"created":"2014-02-26T21:15:01.177Z","credentials":{"district_username":"samantha.conn","district_password":"Oke5doog"},"district":"4fd43cc56d11340000000005","email":"conn.samantha@example.com","last_modified":"2014-02-26T21:15:01.182Z","name":{"first":"Samantha","middle":"A","last":"Conn"},"school":"530e595026403103360ff9fe","sis_id":"22","teacher_number":"380369","title":"Grade
489
366
  1 Special Education Teacher","id":"530e5955d50c310f36112bd7"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd7"},{"data":{"created":"2014-02-26T21:15:01.190Z","credentials":{"district_username":"addie_dietrich","district_password":"tha7bo8ahR"},"district":"4fd43cc56d11340000000005","email":"addie_dietrich@example.com","last_modified":"2014-02-26T21:15:01.193Z","name":{"first":"Addie","middle":"S","last":"Dietrich"},"school":"530e595026403103360ff9fe","sis_id":"24","teacher_number":"176809","title":"Grade
@@ -495,7 +372,7 @@ http_interactions:
495
372
  7 English Teacher","id":"530e5955d50c310f36112bdd"},"uri":"/v1.1/teachers/530e5955d50c310f36112bdd"},{"data":{"created":"2014-02-26T21:15:01.237Z","credentials":{"district_username":"rhiannon_prosacco","district_password":"ievo9Eeg"},"district":"4fd43cc56d11340000000005","email":"rhiannon_prosacco@example.org","last_modified":"2014-02-26T21:15:01.240Z","name":{"first":"Rhiannon","middle":"K","last":"Prosacco"},"school":"530e595026403103360ff9fe","sis_id":"3","teacher_number":"435202","title":"Grade
496
373
  1 Common Branch Teacher","id":"530e5955d50c310f36112bde"},"uri":"/v1.1/teachers/530e5955d50c310f36112bde"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bd4"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&ending_before=530e5955d50c310f36112bd5"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bde"}]}'
497
374
  http_version:
498
- recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
375
+ recorded_at: Fri, 12 Sep 2014 20:48:44 GMT
499
376
  - request:
500
377
  method: get
501
378
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bde
@@ -504,7 +381,7 @@ http_interactions:
504
381
  string: ''
505
382
  headers:
506
383
  Accept:
507
- - "*/*; q=0.5, application/xml"
384
+ - ! '*/*; q=0.5, application/xml'
508
385
  Accept-Encoding:
509
386
  - gzip, deflate
510
387
  User-Agent:
@@ -519,13 +396,13 @@ http_interactions:
519
396
  Access-Control-Allow-Methods:
520
397
  - GET,PATCH,POST,DELETE
521
398
  Access-Control-Allow-Origin:
522
- - "*"
399
+ - ! '*'
523
400
  Content-Type:
524
401
  - application/json; charset=utf-8
525
402
  Date:
526
- - Tue, 09 Sep 2014 21:48:37 GMT
403
+ - Fri, 12 Sep 2014 20:48:44 GMT
527
404
  Etag:
528
- - '"887390389"'
405
+ - ! '"887390389"'
529
406
  Server:
530
407
  - nginx/1.4.7
531
408
  X-Powered-By:
@@ -535,8 +412,8 @@ http_interactions:
535
412
  Connection:
536
413
  - keep-alive
537
414
  body:
538
- encoding: UTF-8
539
- string: '{"data":[{"data":{"created":"2014-02-26T21:15:01.242Z","credentials":{"district_username":"schneider_june","district_password":"UC3zahv1z"},"district":"4fd43cc56d11340000000005","email":"june.schneider@example.com","last_modified":"2014-02-26T21:15:01.245Z","name":{"first":"June","middle":"O","last":"Schneider"},"school":"530e595026403103360ff9ff","sis_id":"30","teacher_number":"423681","title":"Grade
415
+ encoding: US-ASCII
416
+ string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.242Z","credentials":{"district_username":"schneider_june","district_password":"UC3zahv1z"},"district":"4fd43cc56d11340000000005","email":"june.schneider@example.com","last_modified":"2014-02-26T21:15:01.245Z","name":{"first":"June","middle":"O","last":"Schneider"},"school":"530e595026403103360ff9ff","sis_id":"30","teacher_number":"423681","title":"Grade
540
417
  8 English Teacher","id":"530e5955d50c310f36112bdf"},"uri":"/v1.1/teachers/530e5955d50c310f36112bdf"},{"data":{"created":"2014-02-26T21:15:01.249Z","credentials":{"district_username":"goldner_brice","district_password":"ji5Koos5xeo"},"district":"4fd43cc56d11340000000005","email":"brice.goldner@example.com","last_modified":"2014-02-26T21:15:01.251Z","name":{"first":"Brice","middle":"M","last":"Goldner"},"school":"530e595026403103360ff9ff","sis_id":"31","teacher_number":"626129","title":"Grade
541
418
  6 Mathematics Teacher","id":"530e5955d50c310f36112be0"},"uri":"/v1.1/teachers/530e5955d50c310f36112be0"},{"data":{"created":"2014-02-26T21:15:01.267Z","credentials":{"district_username":"connelly.sierra","district_password":"cahGh1geeJ"},"district":"4fd43cc56d11340000000005","email":"connelly.sierra@example.net","last_modified":"2014-02-26T21:15:01.269Z","name":{"first":"Sierra","middle":"V","last":"Connelly"},"school":"530e595026403103360ff9ff","sis_id":"32","teacher_number":"395642","title":"Grade
542
419
  7 Mathematics Teacher","id":"530e5955d50c310f36112be1"},"uri":"/v1.1/teachers/530e5955d50c310f36112be1"},{"data":{"created":"2014-02-26T21:15:01.279Z","credentials":{"district_username":"mohr.philip","district_password":"Rohjeeque6ae"},"district":"4fd43cc56d11340000000005","email":"mohr.philip@example.net","last_modified":"2014-02-26T21:15:01.283Z","name":{"first":"Philip","middle":"K","last":"Mohr"},"school":"530e595026403103360ff9ff","sis_id":"34","teacher_number":"852070","title":"Grade
@@ -548,7 +425,7 @@ http_interactions:
548
425
  School English Teacher","id":"530e5955d50c310f36112be7"},"uri":"/v1.1/teachers/530e5955d50c310f36112be7"},{"data":{"created":"2014-02-26T21:15:01.331Z","credentials":{"district_username":"ankunding.cydney","district_password":"moorei2Ie"},"district":"4fd43cc56d11340000000005","email":"ankunding_cydney@example.com","last_modified":"2014-02-26T21:15:01.334Z","name":{"first":"Cydney","middle":"H","last":"Ankunding"},"school":"530e595026403103360ff9ff","sis_id":"40","teacher_number":"873862","title":"Middle
549
426
  School Science Teacher","id":"530e5955d50c310f36112be8"},"uri":"/v1.1/teachers/530e5955d50c310f36112be8"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bde"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&ending_before=530e5955d50c310f36112bdf"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112be8"}]}'
550
427
  http_version:
551
- recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
428
+ recorded_at: Fri, 12 Sep 2014 20:48:44 GMT
552
429
  - request:
553
430
  method: get
554
431
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112be8
@@ -557,7 +434,7 @@ http_interactions:
557
434
  string: ''
558
435
  headers:
559
436
  Accept:
560
- - "*/*; q=0.5, application/xml"
437
+ - ! '*/*; q=0.5, application/xml'
561
438
  Accept-Encoding:
562
439
  - gzip, deflate
563
440
  User-Agent:
@@ -572,13 +449,13 @@ http_interactions:
572
449
  Access-Control-Allow-Methods:
573
450
  - GET,PATCH,POST,DELETE
574
451
  Access-Control-Allow-Origin:
575
- - "*"
452
+ - ! '*'
576
453
  Content-Type:
577
454
  - application/json; charset=utf-8
578
455
  Date:
579
- - Tue, 09 Sep 2014 21:48:37 GMT
456
+ - Fri, 12 Sep 2014 20:48:44 GMT
580
457
  Etag:
581
- - '"-309201969"'
458
+ - ! '"-309201969"'
582
459
  Server:
583
460
  - nginx/1.4.7
584
461
  X-Powered-By:
@@ -588,8 +465,8 @@ http_interactions:
588
465
  Connection:
589
466
  - keep-alive
590
467
  body:
591
- encoding: UTF-8
592
- string: '{"data":[{"data":{"created":"2014-02-26T21:15:01.335Z","credentials":{"district_username":"gleichner_cora","district_password":"bah1Heuheeca"},"district":"4fd43cc56d11340000000005","email":"cora.gleichner@example.org","last_modified":"2014-02-26T21:15:01.337Z","name":{"first":"Cora","middle":"M","last":"Gleichner"},"school":"530e595026403103360ff9ff","sis_id":"41","teacher_number":"700424","title":"Middle
468
+ encoding: US-ASCII
469
+ string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.335Z","credentials":{"district_username":"gleichner_cora","district_password":"bah1Heuheeca"},"district":"4fd43cc56d11340000000005","email":"cora.gleichner@example.org","last_modified":"2014-02-26T21:15:01.337Z","name":{"first":"Cora","middle":"M","last":"Gleichner"},"school":"530e595026403103360ff9ff","sis_id":"41","teacher_number":"700424","title":"Middle
593
470
  School Science Teacher","id":"530e5955d50c310f36112be9"},"uri":"/v1.1/teachers/530e5955d50c310f36112be9"},{"data":{"created":"2014-02-26T21:15:01.343Z","credentials":{"district_username":"jonatan_doyle","district_password":"aeXaeBos8ie"},"district":"4fd43cc56d11340000000005","email":"jonatan_doyle@example.com","last_modified":"2014-02-26T21:15:01.345Z","name":{"first":"Jonatan","middle":"B","last":"Doyle"},"school":"530e595026403103360ff9ff","sis_id":"42","teacher_number":"973474","title":"Middle
594
471
  School Spanish Teacher","id":"530e5955d50c310f36112bea"},"uri":"/v1.1/teachers/530e5955d50c310f36112bea"},{"data":{"created":"2014-02-26T21:15:01.362Z","credentials":{"district_username":"murray.jewel","district_password":"eilia2Eiceem"},"district":"4fd43cc56d11340000000005","email":"jewel.murray@example.net","last_modified":"2014-02-26T21:15:01.367Z","name":{"first":"Jewel","middle":"J","last":"Murray"},"school":"530e595026403103360ff9ff","sis_id":"43","teacher_number":"296077","title":"Middle
595
472
  School Spanish Teacher","id":"530e5955d50c310f36112beb"},"uri":"/v1.1/teachers/530e5955d50c310f36112beb"},{"data":{"created":"2014-02-26T21:15:01.368Z","credentials":{"district_username":"ortiz_anya","district_password":"Vaeye8quo0z"},"district":"4fd43cc56d11340000000005","email":"ortiz_anya@example.com","last_modified":"2014-02-26T21:15:01.371Z","name":{"first":"Anya","middle":"L","last":"Ortiz"},"school":"530e595026403103360ff9ff","sis_id":"44","teacher_number":"121129","title":"Middle
@@ -601,7 +478,7 @@ http_interactions:
601
478
  2 Common Branch Teacher","id":"530e5955d50c310f36112bf1"},"uri":"/v1.1/teachers/530e5955d50c310f36112bf1"},{"data":{"created":"2014-02-26T21:15:01.401Z","credentials":{"district_username":"preston.lemke","district_password":"caiteiL1ah"},"district":"4fd43cc56d11340000000005","email":"preston.lemke@example.net","last_modified":"2014-02-26T21:15:01.404Z","name":{"first":"Preston","middle":"J","last":"Lemke"},"school":"530e595026403103360ff9fd","sis_id":"51","teacher_number":"171060","title":"Grade
602
479
  12 History Teacher","id":"530e5955d50c310f36112bf2"},"uri":"/v1.1/teachers/530e5955d50c310f36112bf2"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112be8"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&ending_before=530e5955d50c310f36112be9"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bf2"}]}'
603
480
  http_version:
604
- recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
481
+ recorded_at: Fri, 12 Sep 2014 20:48:44 GMT
605
482
  - request:
606
483
  method: get
607
484
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bf2
@@ -610,7 +487,7 @@ http_interactions:
610
487
  string: ''
611
488
  headers:
612
489
  Accept:
613
- - "*/*; q=0.5, application/xml"
490
+ - ! '*/*; q=0.5, application/xml'
614
491
  Accept-Encoding:
615
492
  - gzip, deflate
616
493
  User-Agent:
@@ -625,13 +502,13 @@ http_interactions:
625
502
  Access-Control-Allow-Methods:
626
503
  - GET,PATCH,POST,DELETE
627
504
  Access-Control-Allow-Origin:
628
- - "*"
505
+ - ! '*'
629
506
  Content-Type:
630
507
  - application/json; charset=utf-8
631
508
  Date:
632
- - Tue, 09 Sep 2014 21:48:37 GMT
509
+ - Fri, 12 Sep 2014 20:48:44 GMT
633
510
  Etag:
634
- - '"-1806235015"'
511
+ - ! '"-1806235015"'
635
512
  Server:
636
513
  - nginx/1.4.7
637
514
  X-Powered-By:
@@ -641,8 +518,8 @@ http_interactions:
641
518
  Connection:
642
519
  - keep-alive
643
520
  body:
644
- encoding: UTF-8
645
- string: '{"data":[{"data":{"created":"2014-02-26T21:15:01.405Z","credentials":{"district_username":"witting.kelsie","district_password":"aeNee6aiW"},"district":"4fd43cc56d11340000000005","email":"witting_kelsie@example.net","last_modified":"2014-02-26T21:15:01.407Z","name":{"first":"Kelsie","middle":"O","last":"Witting"},"school":"530e595026403103360ff9fd","sis_id":"52","teacher_number":"822376","title":"Grade
521
+ encoding: US-ASCII
522
+ string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.405Z","credentials":{"district_username":"witting.kelsie","district_password":"aeNee6aiW"},"district":"4fd43cc56d11340000000005","email":"witting_kelsie@example.net","last_modified":"2014-02-26T21:15:01.407Z","name":{"first":"Kelsie","middle":"O","last":"Witting"},"school":"530e595026403103360ff9fd","sis_id":"52","teacher_number":"822376","title":"Grade
646
523
  11 History Teacher","id":"530e5955d50c310f36112bf3"},"uri":"/v1.1/teachers/530e5955d50c310f36112bf3"},{"data":{"created":"2014-02-26T21:15:01.410Z","credentials":{"district_username":"emard_rickie","district_password":"Tah6hiRaeph"},"district":"4fd43cc56d11340000000005","email":"emard_rickie@example.com","last_modified":"2014-02-26T21:15:01.412Z","name":{"first":"Rickie","middle":"C","last":"Emard"},"school":"530e595026403103360ff9fd","sis_id":"53","teacher_number":"625918","title":"Grade
647
524
  10 History Teacher","id":"530e5955d50c310f36112bf4"},"uri":"/v1.1/teachers/530e5955d50c310f36112bf4"},{"data":{"created":"2014-02-26T21:15:01.416Z","credentials":{"district_username":"mertz.junius","district_password":"Oiph4Chias"},"district":"4fd43cc56d11340000000005","email":"mertz_junius@example.net","last_modified":"2014-02-26T21:15:01.418Z","name":{"first":"Junius","middle":"T","last":"Mertz"},"school":"530e595026403103360ff9fd","sis_id":"55","teacher_number":"969210","title":"Grade
648
525
  9 Physics Teacher","id":"530e5955d50c310f36112bf5"},"uri":"/v1.1/teachers/530e5955d50c310f36112bf5"},{"data":{"created":"2014-02-26T21:15:01.420Z","credentials":{"district_username":"crooks.garland","district_password":"Quahph3ch"},"district":"4fd43cc56d11340000000005","email":"garland.crooks@example.org","last_modified":"2014-02-26T21:15:01.422Z","name":{"first":"Garland","middle":"E","last":"Crooks"},"school":"530e595026403103360ff9fd","sis_id":"56","teacher_number":"178155","title":"Grade
@@ -654,7 +531,7 @@ http_interactions:
654
531
  9 Algebra Teacher","id":"530e5955d50c310f36112bfb"},"uri":"/v1.1/teachers/530e5955d50c310f36112bfb"},{"data":{"created":"2014-02-26T21:15:01.443Z","credentials":{"district_username":"cullen_bashirian","district_password":"cheikoh1Ies"},"district":"4fd43cc56d11340000000005","email":"bashirian.cullen@example.net","last_modified":"2014-02-26T21:15:01.445Z","name":{"first":"Cullen","middle":"J","last":"Bashirian"},"school":"530e595026403103360ff9fd","sis_id":"61","teacher_number":"311251","title":"Grade
655
532
  10 Geometry Teacher","id":"530e5955d50c310f36112bfc"},"uri":"/v1.1/teachers/530e5955d50c310f36112bfc"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bf2"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&ending_before=530e5955d50c310f36112bf3"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bfc"}]}'
656
533
  http_version:
657
- recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
534
+ recorded_at: Fri, 12 Sep 2014 20:48:44 GMT
658
535
  - request:
659
536
  method: get
660
537
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bfc
@@ -663,7 +540,7 @@ http_interactions:
663
540
  string: ''
664
541
  headers:
665
542
  Accept:
666
- - "*/*; q=0.5, application/xml"
543
+ - ! '*/*; q=0.5, application/xml'
667
544
  Accept-Encoding:
668
545
  - gzip, deflate
669
546
  User-Agent:
@@ -678,13 +555,13 @@ http_interactions:
678
555
  Access-Control-Allow-Methods:
679
556
  - GET,PATCH,POST,DELETE
680
557
  Access-Control-Allow-Origin:
681
- - "*"
558
+ - ! '*'
682
559
  Content-Type:
683
560
  - application/json; charset=utf-8
684
561
  Date:
685
- - Tue, 09 Sep 2014 21:48:37 GMT
562
+ - Fri, 12 Sep 2014 20:48:45 GMT
686
563
  Etag:
687
- - '"2002280190"'
564
+ - ! '"2002280190"'
688
565
  Server:
689
566
  - nginx/1.4.7
690
567
  X-Powered-By:
@@ -694,8 +571,8 @@ http_interactions:
694
571
  Connection:
695
572
  - keep-alive
696
573
  body:
697
- encoding: UTF-8
698
- string: '{"data":[{"data":{"created":"2014-02-26T21:15:01.449Z","credentials":{"district_username":"will_roger","district_password":"ooT8aeke"},"district":"4fd43cc56d11340000000005","email":"will_roger@example.net","last_modified":"2014-02-26T21:15:01.454Z","name":{"first":"Roger","middle":"J","last":"Will"},"school":"530e595026403103360ff9fd","sis_id":"63","teacher_number":"138841","title":"Grade
574
+ encoding: US-ASCII
575
+ string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.449Z","credentials":{"district_username":"will_roger","district_password":"ooT8aeke"},"district":"4fd43cc56d11340000000005","email":"will_roger@example.net","last_modified":"2014-02-26T21:15:01.454Z","name":{"first":"Roger","middle":"J","last":"Will"},"school":"530e595026403103360ff9fd","sis_id":"63","teacher_number":"138841","title":"Grade
699
576
  12 Calculus Teacher","id":"530e5955d50c310f36112bfd"},"uri":"/v1.1/teachers/530e5955d50c310f36112bfd"},{"data":{"created":"2014-02-26T21:15:01.455Z","credentials":{"district_username":"rice.dannie","district_password":"thuY4IeMooph"},"district":"4fd43cc56d11340000000005","email":"rice.dannie@example.com","last_modified":"2014-02-26T21:15:01.457Z","name":{"first":"Dannie","middle":"L","last":"Rice"},"school":"530e595026403103360ff9fd","sis_id":"64","teacher_number":"984216","title":"Grade
700
577
  9 Physical Education Teacher","id":"530e5955d50c310f36112bfe"},"uri":"/v1.1/teachers/530e5955d50c310f36112bfe"},{"data":{"created":"2014-02-26T21:15:01.459Z","credentials":{"district_username":"ritchie_kaci","district_password":"Eif6eephin3"},"district":"4fd43cc56d11340000000005","email":"ritchie_kaci@example.org","last_modified":"2014-02-26T21:15:01.460Z","name":{"first":"Kaci","middle":"B","last":"Ritchie"},"school":"530e595026403103360ff9ff","sis_id":"65","teacher_number":"110912","title":"Grade
701
578
  6 Physical Education Teacher","id":"530e5955d50c310f36112bff"},"uri":"/v1.1/teachers/530e5955d50c310f36112bff"},{"data":{"created":"2014-02-26T21:15:01.462Z","credentials":{"district_username":"raina_herman","district_password":"Eexae9fae"},"district":"4fd43cc56d11340000000005","email":"herman.raina@example.net","last_modified":"2014-02-26T21:15:01.464Z","name":{"first":"Raina","middle":"A","last":"Herman"},"school":"530e595026403103360ff9fe","sis_id":"66","teacher_number":"693443","title":"Elementary
@@ -707,7 +584,7 @@ http_interactions:
707
584
  School Media Arts Teacher","id":"530e5955d50c310f36112c05"},"uri":"/v1.1/teachers/530e5955d50c310f36112c05"},{"data":{"created":"2014-02-26T21:15:01.488Z","credentials":{"district_username":"coulton.john","district_password":"posi924adA"},"district":"4fd43cc56d11340000000005","email":"john.coulton@example.net","last_modified":"2014-02-26T21:15:01.491Z","name":{"first":"John","middle":"D","last":"Coulton"},"school":"530e595026403103360ff9fd","sis_id":"72","teacher_number":"900381","title":"High
708
585
  School Music Teacher","id":"530e5955d50c310f36112c06"},"uri":"/v1.1/teachers/530e5955d50c310f36112c06"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112bfc"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&ending_before=530e5955d50c310f36112bfd"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112c06"}]}'
709
586
  http_version:
710
- recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
587
+ recorded_at: Fri, 12 Sep 2014 20:48:45 GMT
711
588
  - request:
712
589
  method: get
713
590
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112c06
@@ -716,7 +593,7 @@ http_interactions:
716
593
  string: ''
717
594
  headers:
718
595
  Accept:
719
- - "*/*; q=0.5, application/xml"
596
+ - ! '*/*; q=0.5, application/xml'
720
597
  Accept-Encoding:
721
598
  - gzip, deflate
722
599
  User-Agent:
@@ -731,13 +608,13 @@ http_interactions:
731
608
  Access-Control-Allow-Methods:
732
609
  - GET,PATCH,POST,DELETE
733
610
  Access-Control-Allow-Origin:
734
- - "*"
611
+ - ! '*'
735
612
  Content-Type:
736
613
  - application/json; charset=utf-8
737
614
  Date:
738
- - Tue, 09 Sep 2014 21:48:37 GMT
615
+ - Fri, 12 Sep 2014 20:48:45 GMT
739
616
  Etag:
740
- - '"-1878424653"'
617
+ - ! '"-1878424653"'
741
618
  Server:
742
619
  - nginx/1.4.7
743
620
  X-Powered-By:
@@ -747,8 +624,8 @@ http_interactions:
747
624
  Connection:
748
625
  - keep-alive
749
626
  body:
750
- encoding: UTF-8
751
- string: '{"data":[{"data":{"created":"2014-02-26T21:15:01.493Z","credentials":{"district_username":"mccartney_paula","district_password":"jf098fjdk2a"},"district":"4fd43cc56d11340000000005","email":"paula_mccartney@example.org","last_modified":"2014-02-26T21:15:01.494Z","name":{"first":"Paula","middle":"H","last":"McCartney"},"school":"530e595026403103360ff9fd","sis_id":"75","teacher_number":"847826","title":"High
627
+ encoding: US-ASCII
628
+ string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.493Z","credentials":{"district_username":"mccartney_paula","district_password":"jf098fjdk2a"},"district":"4fd43cc56d11340000000005","email":"paula_mccartney@example.org","last_modified":"2014-02-26T21:15:01.494Z","name":{"first":"Paula","middle":"H","last":"McCartney"},"school":"530e595026403103360ff9fd","sis_id":"75","teacher_number":"847826","title":"High
752
629
  School Health and Physical Education Teacher","id":"530e5955d50c310f36112c07"},"uri":"/v1.1/teachers/530e5955d50c310f36112c07"},{"data":{"created":"2014-02-26T21:15:01.496Z","credentials":{"district_username":"roger_gadsby","district_password":"lkjgf8hasdofjh"},"district":"4fd43cc56d11340000000005","email":"gadsby.roger@example.com","last_modified":"2014-02-26T21:15:01.497Z","name":{"first":"Roger","middle":"X","last":"Gadsby"},"school":"530e595026403103360ff9fd","sis_id":"76","teacher_number":"219349","title":"High
753
630
  School Music Teacher","id":"530e5955d50c310f36112c08"},"uri":"/v1.1/teachers/530e5955d50c310f36112c08"},{"data":{"created":"2014-02-26T21:15:01.499Z","credentials":{"district_username":"plant_robin","district_password":"84dhhfsfgh"},"district":"4fd43cc56d11340000000005","email":"robin_plant@example.org","last_modified":"2014-02-26T21:15:01.501Z","name":{"first":"Robin","middle":"M","last":"Plant"},"school":"530e595026403103360ff9fd","sis_id":"77","teacher_number":"532771","title":"High
754
631
  School Arts Teacher","id":"530e5955d50c310f36112c09"},"uri":"/v1.1/teachers/530e5955d50c310f36112c09"},{"data":{"created":"2014-02-26T21:15:01.502Z","credentials":{"district_username":"page.james","district_password":"843r5hfsajfh"},"district":"4fd43cc56d11340000000005","email":"page.james@example.net","last_modified":"2014-02-26T21:15:01.504Z","name":{"first":"James","middle":"V","last":"Page"},"school":"530e595026403103360ff9fd","sis_id":"78","teacher_number":"884763","title":"High
@@ -760,7 +637,7 @@ http_interactions:
760
637
  School Guidance Counselor","id":"530e5955d50c310f36112c0f"},"uri":"/v1.1/teachers/530e5955d50c310f36112c0f"},{"data":{"created":"2014-02-26T21:15:01.537Z","credentials":{"district_username":"kari_hudson","district_password":"dfafsbe5tw3"},"district":"4fd43cc56d11340000000005","email":"kari.hudson@example.net","last_modified":"2014-02-26T21:15:01.538Z","name":{"first":"Kari","middle":"H","last":"Hudson"},"school":"530e595026403103360ff9ff","sis_id":"85","teacher_number":"989342","title":"Middle
761
638
  School Guidance Counselor","id":"530e5955d50c310f36112c10"},"uri":"/v1.1/teachers/530e5955d50c310f36112c10"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112c06"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&ending_before=530e5955d50c310f36112c07"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112c10"}]}'
762
639
  http_version:
763
- recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
640
+ recorded_at: Fri, 12 Sep 2014 20:48:45 GMT
764
641
  - request:
765
642
  method: get
766
643
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112c10
@@ -769,7 +646,7 @@ http_interactions:
769
646
  string: ''
770
647
  headers:
771
648
  Accept:
772
- - "*/*; q=0.5, application/xml"
649
+ - ! '*/*; q=0.5, application/xml'
773
650
  Accept-Encoding:
774
651
  - gzip, deflate
775
652
  User-Agent:
@@ -784,13 +661,13 @@ http_interactions:
784
661
  Access-Control-Allow-Methods:
785
662
  - GET,PATCH,POST,DELETE
786
663
  Access-Control-Allow-Origin:
787
- - "*"
664
+ - ! '*'
788
665
  Content-Type:
789
666
  - application/json; charset=utf-8
790
667
  Date:
791
- - Tue, 09 Sep 2014 21:48:37 GMT
668
+ - Fri, 12 Sep 2014 20:48:45 GMT
792
669
  Etag:
793
- - '"214602549"'
670
+ - ! '"214602549"'
794
671
  Server:
795
672
  - nginx/1.4.7
796
673
  X-Powered-By:
@@ -800,8 +677,8 @@ http_interactions:
800
677
  Connection:
801
678
  - keep-alive
802
679
  body:
803
- encoding: UTF-8
804
- string: '{"data":[{"data":{"created":"2014-02-26T21:15:01.541Z","credentials":{"district_username":"brianna.greene","district_password":"878fddh"},"district":"4fd43cc56d11340000000005","email":"brianna.greene@example.org","last_modified":"2014-02-26T21:15:01.542Z","name":{"first":"Brianna","middle":"P","last":"Greene"},"school":"530e595026403103360ff9fd","sis_id":"86","teacher_number":"595853","title":"High
680
+ encoding: US-ASCII
681
+ string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.541Z","credentials":{"district_username":"brianna.greene","district_password":"878fddh"},"district":"4fd43cc56d11340000000005","email":"brianna.greene@example.org","last_modified":"2014-02-26T21:15:01.542Z","name":{"first":"Brianna","middle":"P","last":"Greene"},"school":"530e595026403103360ff9fd","sis_id":"86","teacher_number":"595853","title":"High
805
682
  School Guidance Counselor","id":"530e5955d50c310f36112c11"},"uri":"/v1.1/teachers/530e5955d50c310f36112c11"},{"data":{"created":"2014-02-26T21:15:01.544Z","credentials":{"district_username":"vaux_tracy","district_password":"09876dfgh"},"district":"4fd43cc56d11340000000005","email":"vaux_tracy@example.com","last_modified":"2014-02-26T21:15:01.547Z","name":{"first":"Tracy","middle":"A","last":"Vaux"},"school":"530e595026403103360ff9fd","sis_id":"87","teacher_number":"148041","title":"High
806
683
  School Guidance Counselor","id":"530e5955d50c310f36112c12"},"uri":"/v1.1/teachers/530e5955d50c310f36112c12"},{"data":{"created":"2014-02-26T21:15:01.549Z","credentials":{"district_username":"britcher_elizabeth","district_password":"password1"},"district":"4fd43cc56d11340000000005","email":"elizabeth.britcher@example.net","last_modified":"2014-02-26T21:15:01.553Z","name":{"first":"Elizabeth","middle":"H","last":"Britcher"},"school":"530e595026403103360ff9fd","sis_id":"88","teacher_number":"969161","title":"High
807
684
  School Guidance Counselor","id":"530e5955d50c310f36112c13"},"uri":"/v1.1/teachers/530e5955d50c310f36112c13"},{"data":{"created":"2014-02-26T21:15:01.554Z","credentials":{"district_username":"josephine.isaacs","district_password":"rgrgj924"},"district":"4fd43cc56d11340000000005","email":"josephine_isaacs@example.com","last_modified":"2014-02-26T21:15:01.556Z","name":{"first":"Josephine","middle":"K","last":"Isaacs"},"school":"530e595026403103360ff9fd","sis_id":"89","teacher_number":"565897","title":"College
@@ -812,5 +689,5 @@ http_interactions:
812
689
  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
813
690
  School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&starting_after=530e5955d50c310f36112c10"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers?limit=10&ending_before=530e5955d50c310f36112c11"}]}'
814
691
  http_version:
815
- recorded_at: Tue, 09 Sep 2014 21:48:37 GMT
692
+ recorded_at: Fri, 12 Sep 2014 20:48:45 GMT
816
693
  recorded_with: VCR 2.4.0