clever-ruby 0.7.0 → 0.8.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.
- checksums.yaml +8 -8
- data/CHANGELOG.md +4 -0
- data/clever-ruby.gemspec +2 -1
- data/lib/clever-ruby/api_operations/list.rb +71 -0
- data/lib/clever-ruby/api_operations/nested_list.rb +49 -0
- data/lib/clever-ruby/api_operations/page.rb +16 -8
- data/lib/clever-ruby/version.rb +1 -1
- data/test/data/vcr_cassettes/{district_count.yml → Clever_APIOperations_List/counts_district_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{event_count.yml → Clever_APIOperations_List/counts_event_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{school_count.yml → Clever_APIOperations_List/counts_school_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{section_count.yml → Clever_APIOperations_List/counts_section_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{student_count.yml → Clever_APIOperations_List/counts_student_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{teacher_count.yml → Clever_APIOperations_List/counts_teacher_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{district_find_one.yml → Clever_APIOperations_List/finds_a_single_district.yml} +11 -7
- data/test/data/vcr_cassettes/{event_find_one.yml → Clever_APIOperations_List/finds_a_single_event.yml} +11 -7
- data/test/data/vcr_cassettes/{school_find_one.yml → Clever_APIOperations_List/finds_a_single_school.yml} +11 -7
- data/test/data/vcr_cassettes/{section_find_one.yml → Clever_APIOperations_List/finds_a_single_section.yml} +11 -7
- data/test/data/vcr_cassettes/{student_find_one.yml → Clever_APIOperations_List/finds_a_single_student.yml} +11 -7
- data/test/data/vcr_cassettes/{teacher_find_one.yml → Clever_APIOperations_List/finds_a_single_teacher.yml} +11 -7
- data/test/data/vcr_cassettes/{districts.yml → Clever_APIOperations_List/finds_districts_by_page.yml} +11 -7
- data/test/data/vcr_cassettes/{district_find_multiple.yml → Clever_APIOperations_List/finds_districts_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{events.yml → Clever_APIOperations_List/finds_events_by_page.yml} +11 -7
- data/test/data/vcr_cassettes/{event_find_multiple.yml → Clever_APIOperations_List/finds_events_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{schools.yml → Clever_APIOperations_List/finds_schools_by_page.yml} +11 -7
- data/test/data/vcr_cassettes/{school_find_multiple.yml → Clever_APIOperations_List/finds_schools_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{section_find_by_page.yml → Clever_APIOperations_List/finds_sections_by_page.yml} +26 -16
- data/test/data/vcr_cassettes/{section_find_multiple.yml → Clever_APIOperations_List/finds_sections_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{students.yml → Clever_APIOperations_List/finds_students_by_page.yml} +61 -37
- data/test/data/vcr_cassettes/{student_find_multiple.yml → Clever_APIOperations_List/finds_students_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{teachers.yml → Clever_APIOperations_List/finds_teachers_by_page.yml} +11 -7
- data/test/data/vcr_cassettes/{teacher_find_multiple.yml → Clever_APIOperations_List/finds_teachers_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{district_find_by_page.yml → Clever_APIOperations_List/retrieves_all_district.yml} +11 -7
- data/test/data/vcr_cassettes/{event_find_by_page.yml → Clever_APIOperations_List/retrieves_all_event.yml} +11 -7
- data/test/data/vcr_cassettes/{school_find_by_page.yml → Clever_APIOperations_List/retrieves_all_school.yml} +11 -7
- data/test/data/vcr_cassettes/{sections.yml → Clever_APIOperations_List/retrieves_all_section.yml} +26 -16
- data/test/data/vcr_cassettes/{student_find_by_page.yml → Clever_APIOperations_List/retrieves_all_student.yml} +61 -37
- data/test/data/vcr_cassettes/{teacher_find_by_page.yml → Clever_APIOperations_List/retrieves_all_teacher.yml} +11 -7
- data/test/data/vcr_cassettes/{districts_event_pages.yml → Clever_District/pages_methods/pages_a_district_s_events.yml} +56 -34
- data/test/data/vcr_cassettes/{districts_school_pages.yml → Clever_District/pages_methods/pages_a_district_s_schools.yml} +26 -16
- data/test/data/vcr_cassettes/{districts_section_pages.yml → Clever_District/pages_methods/pages_a_district_s_sections.yml} +206 -124
- data/test/data/vcr_cassettes/{districts_student_pages.yml → Clever_District/pages_methods/pages_a_district_s_students.yml} +121 -73
- data/test/data/vcr_cassettes/{districts_teacher_pages.yml → Clever_District/pages_methods/pages_a_district_s_teachers.yml} +61 -37
- data/test/data/vcr_cassettes/{district_events.yml → Clever_NestedResource/retrieves_a_district_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{district_schools.yml → Clever_NestedResource/retrieves_a_district_s_schools.yml} +21 -13
- data/test/data/vcr_cassettes/{district_sections.yml → Clever_NestedResource/retrieves_a_district_s_sections.yml} +51 -31
- data/test/data/vcr_cassettes/{district_students.yml → Clever_NestedResource/retrieves_a_district_s_students.yml} +121 -73
- data/test/data/vcr_cassettes/{district_teachers.yml → Clever_NestedResource/retrieves_a_district_s_teachers.yml} +21 -13
- data/test/data/vcr_cassettes/{school_district.yml → Clever_NestedResource/retrieves_a_school_s_district.yml} +16 -10
- data/test/data/vcr_cassettes/{school_events.yml → Clever_NestedResource/retrieves_a_school_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{school_sections.yml → Clever_NestedResource/retrieves_a_school_s_sections.yml} +31 -19
- data/test/data/vcr_cassettes/{school_students.yml → Clever_NestedResource/retrieves_a_school_s_students.yml} +61 -37
- data/test/data/vcr_cassettes/{school_teachers.yml → Clever_NestedResource/retrieves_a_school_s_teachers.yml} +21 -13
- data/test/data/vcr_cassettes/{section_district.yml → Clever_NestedResource/retrieves_a_section_s_district.yml} +16 -10
- data/test/data/vcr_cassettes/{section_events.yml → Clever_NestedResource/retrieves_a_section_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{section_school.yml → Clever_NestedResource/retrieves_a_section_s_school.yml} +16 -10
- data/test/data/vcr_cassettes/{section_students.yml → Clever_NestedResource/retrieves_a_section_s_students.yml} +21 -13
- data/test/data/vcr_cassettes/{section_teacher.yml → Clever_NestedResource/retrieves_a_section_s_teacher.yml} +16 -10
- data/test/data/vcr_cassettes/{student_district.yml → Clever_NestedResource/retrieves_a_student_s_district.yml} +16 -10
- data/test/data/vcr_cassettes/{student_events.yml → Clever_NestedResource/retrieves_a_student_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{student_school.yml → Clever_NestedResource/retrieves_a_student_s_school.yml} +16 -10
- data/test/data/vcr_cassettes/{student_sections.yml → Clever_NestedResource/retrieves_a_student_s_sections.yml} +21 -13
- data/test/data/vcr_cassettes/{student_teachers.yml → Clever_NestedResource/retrieves_a_student_s_teachers.yml} +21 -13
- data/test/data/vcr_cassettes/{teacher_district.yml → Clever_NestedResource/retrieves_a_teacher_s_district.yml} +16 -10
- data/test/data/vcr_cassettes/{teacher_events.yml → Clever_NestedResource/retrieves_a_teacher_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{teacher_school.yml → Clever_NestedResource/retrieves_a_teacher_s_school.yml} +16 -10
- data/test/data/vcr_cassettes/{teacher_sections.yml → Clever_NestedResource/retrieves_a_teacher_s_sections.yml} +21 -13
- data/test/data/vcr_cassettes/{teacher_students.yml → Clever_NestedResource/retrieves_a_teacher_s_students.yml} +21 -13
- data/test/data/vcr_cassettes/{error_handling.yml → Error_handling/raises_an_InvalidRequestError_when_given_a_bad_created_since.yml} +16 -10
- data/test/data/vcr_cassettes/Optional_attributes/has_the_expected_value_for_an_optional_attribute_that_is_present.yml +49 -0
- data/test/data/vcr_cassettes/last_method/page/has_working_first_and_last_methods.yml +719 -0
- data/test/data/vcr_cassettes/last_method/resource/has_working_first_and_last_methods.yml +648 -0
- data/test/integration/api_operations/list_test.rb +40 -50
- data/test/integration/district_test.rb +13 -15
- data/test/integration/error_handling_test.rb +6 -8
- data/test/integration/last_test.rb +70 -0
- data/test/integration/nested_resource_test.rb +7 -9
- data/test/test_helper.rb +3 -0
- data/test/unit/clever_test.rb +1 -1
- data/test/unit/configuration_test.rb +6 -0
- data/test/unit/optional_attributes_test.rb +4 -10
- metadata +147 -129
- data/test/data/vcr_cassettes/schools_optional_attributes.yml +0 -55
- data/test/data/vcr_cassettes/student_teacher.yml +0 -161
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://api.clever.com/v1.1/schools
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:07:39 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"1408105812"'
|
33
35
|
Server:
|
@@ -51,10 +53,10 @@ http_interactions:
|
|
51
53
|
Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard
|
52
54
|
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/schools"}]}'
|
53
55
|
http_version:
|
54
|
-
recorded_at:
|
56
|
+
recorded_at: Sat, 13 Sep 2014 00:07:39 GMT
|
55
57
|
- request:
|
56
58
|
method: get
|
57
|
-
uri: https://
|
59
|
+
uri: https://api.clever.com/v1.1/schools/530e595026403103360ff9fd
|
58
60
|
body:
|
59
61
|
encoding: US-ASCII
|
60
62
|
string: ''
|
@@ -63,6 +65,8 @@ http_interactions:
|
|
63
65
|
- ! '*/*; q=0.5, application/xml'
|
64
66
|
Accept-Encoding:
|
65
67
|
- gzip, deflate
|
68
|
+
Authorization:
|
69
|
+
- Bearer DEMO_TOKEN
|
66
70
|
User-Agent:
|
67
71
|
- Ruby
|
68
72
|
response:
|
@@ -79,7 +83,7 @@ http_interactions:
|
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Date:
|
82
|
-
-
|
86
|
+
- Sat, 13 Sep 2014 00:07:39 GMT
|
83
87
|
Server:
|
84
88
|
- nginx/1.4.7
|
85
89
|
X-Powered-By:
|
@@ -95,10 +99,10 @@ http_interactions:
|
|
95
99
|
High School","nces_id":"360008000000","phone":"(212) 555-1212","principal":{"name":"Theodora
|
96
100
|
Khan","email":"tdkhan@mailinator.com"},"school_number":"02M800","sis_id":"02M800","state_id":"712345","id":"530e595026403103360ff9fd"},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd"},{"rel":"district","uri":"/v1.1/schools/530e595026403103360ff9fd/district"},{"rel":"teachers","uri":"/v1.1/schools/530e595026403103360ff9fd/teachers"},{"rel":"students","uri":"/v1.1/schools/530e595026403103360ff9fd/students"},{"rel":"sections","uri":"/v1.1/schools/530e595026403103360ff9fd/sections"},{"rel":"events","uri":"/v1.1/schools/530e595026403103360ff9fd/events"}]}'
|
97
101
|
http_version:
|
98
|
-
recorded_at:
|
102
|
+
recorded_at: Sat, 13 Sep 2014 00:07:39 GMT
|
99
103
|
- request:
|
100
104
|
method: get
|
101
|
-
uri: https://
|
105
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students
|
102
106
|
body:
|
103
107
|
encoding: US-ASCII
|
104
108
|
string: ''
|
@@ -107,6 +111,8 @@ http_interactions:
|
|
107
111
|
- ! '*/*; q=0.5, application/xml'
|
108
112
|
Accept-Encoding:
|
109
113
|
- gzip, deflate
|
114
|
+
Authorization:
|
115
|
+
- Bearer DEMO_TOKEN
|
110
116
|
User-Agent:
|
111
117
|
- Ruby
|
112
118
|
response:
|
@@ -123,7 +129,7 @@ http_interactions:
|
|
123
129
|
Content-Type:
|
124
130
|
- application/json; charset=utf-8
|
125
131
|
Date:
|
126
|
-
-
|
132
|
+
- Sat, 13 Sep 2014 00:07:40 GMT
|
127
133
|
Etag:
|
128
134
|
- ! '"-1846037346"'
|
129
135
|
Server:
|
@@ -203,10 +209,10 @@ http_interactions:
|
|
203
209
|
or African American","school":"530e595026403103360ff9fd","sis_id":"319077455","state_id":"803421845","student_number":"319077455","id":"530e5962049e75a9262d00f7"},"uri":"/v1.1/students/530e5962049e75a9262d00f7"},{"data":{"created":"2014-02-26T21:15:14.432Z","credentials":{"district_username":"lewisd86","district_password":"ih2Aez8oo"},"district":"4fd43cc56d11340000000005","dob":"2/14/1998","ell_status":"N","email":"d_lewis@example.org","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:41.674Z","location":{"zip":"11225"},"name":{"first":"Lewis","middle":"J","last":"DuBuque"},"race":"Black
|
204
210
|
or African American","school":"530e595026403103360ff9fd","sis_id":"320040186","state_id":"213862011","student_number":"320040186","id":"530e5962049e75a9262d00ff"},"uri":"/v1.1/students/530e5962049e75a9262d00ff"}],"paging":{"current":1,"total":4,"count":400},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students"},{"rel":"next","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5962049e75a9262d00ff"}]}'
|
205
211
|
http_version:
|
206
|
-
recorded_at:
|
212
|
+
recorded_at: Sat, 13 Sep 2014 00:07:40 GMT
|
207
213
|
- request:
|
208
214
|
method: get
|
209
|
-
uri: https://
|
215
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5962049e75a9262d00ff
|
210
216
|
body:
|
211
217
|
encoding: US-ASCII
|
212
218
|
string: ''
|
@@ -215,6 +221,8 @@ http_interactions:
|
|
215
221
|
- ! '*/*; q=0.5, application/xml'
|
216
222
|
Accept-Encoding:
|
217
223
|
- gzip, deflate
|
224
|
+
Authorization:
|
225
|
+
- Bearer DEMO_TOKEN
|
218
226
|
User-Agent:
|
219
227
|
- Ruby
|
220
228
|
response:
|
@@ -231,7 +239,7 @@ http_interactions:
|
|
231
239
|
Content-Type:
|
232
240
|
- application/json; charset=utf-8
|
233
241
|
Date:
|
234
|
-
-
|
242
|
+
- Sat, 13 Sep 2014 00:07:40 GMT
|
235
243
|
Etag:
|
236
244
|
- ! '"249757394"'
|
237
245
|
Server:
|
@@ -311,10 +319,10 @@ http_interactions:
|
|
311
319
|
or African American","school":"530e595026403103360ff9fd","sis_id":"530262996","state_id":"595511637","student_number":"530262996","id":"530e5964049e75a9262d02d3"},"uri":"/v1.1/students/530e5964049e75a9262d02d3"},{"data":{"created":"2014-02-26T21:15:16.619Z","credentials":{"district_username":"wenw21","district_password":"kiephee6Va"},"district":"4fd43cc56d11340000000005","dob":"1/2/1995","ell_status":"Y","email":"w_wen@example.net","frl_status":"Paid","gender":"F","grade":"12","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.666Z","location":{"zip":"11214"},"name":{"first":"Wen","middle":"T","last":"Wuckert"},"race":"Two
|
312
320
|
or More Races","school":"530e595026403103360ff9fd","sis_id":"530484321","state_id":"589724319","student_number":"530484321","id":"530e5964049e75a9262d02d4"},"uri":"/v1.1/students/530e5964049e75a9262d02d4"}],"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5962049e75a9262d00ff"},{"rel":"prev","uri":"/v1.1/schools/530e595026403103360ff9fd/students?ending_before=530e5962049e75a9262d0102"},{"rel":"next","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5964049e75a9262d02d4"}]}'
|
313
321
|
http_version:
|
314
|
-
recorded_at:
|
322
|
+
recorded_at: Sat, 13 Sep 2014 00:07:40 GMT
|
315
323
|
- request:
|
316
324
|
method: get
|
317
|
-
uri: https://
|
325
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5964049e75a9262d02d4
|
318
326
|
body:
|
319
327
|
encoding: US-ASCII
|
320
328
|
string: ''
|
@@ -323,6 +331,8 @@ http_interactions:
|
|
323
331
|
- ! '*/*; q=0.5, application/xml'
|
324
332
|
Accept-Encoding:
|
325
333
|
- gzip, deflate
|
334
|
+
Authorization:
|
335
|
+
- Bearer DEMO_TOKEN
|
326
336
|
User-Agent:
|
327
337
|
- Ruby
|
328
338
|
response:
|
@@ -339,7 +349,7 @@ http_interactions:
|
|
339
349
|
Content-Type:
|
340
350
|
- application/json; charset=utf-8
|
341
351
|
Date:
|
342
|
-
-
|
352
|
+
- Sat, 13 Sep 2014 00:07:40 GMT
|
343
353
|
Etag:
|
344
354
|
- ! '"-1201581989"'
|
345
355
|
Server:
|
@@ -420,10 +430,10 @@ http_interactions:
|
|
420
430
|
or African American","school":"530e595026403103360ff9fd","sis_id":"768841884","state_id":"239367560","student_number":"768841884","id":"530e5966049e75a9262d04d7"},"uri":"/v1.1/students/530e5966049e75a9262d04d7"},{"data":{"created":"2014-02-26T21:15:18.968Z","credentials":{"district_username":"quentinf79","district_password":"fohV1oos9Ee"},"district":"4fd43cc56d11340000000005","dob":"3/30/1996","ell_status":"Y","email":"quentin.f@example.com","frl_status":"Paid","gender":"M","grade":"11","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.706Z","location":{"zip":"11412"},"name":{"first":"Quentin","middle":"C","last":"Feil"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"773959679","state_id":"500526668","student_number":"773959679","id":"530e5966049e75a9262d04d8"},"uri":"/v1.1/students/530e5966049e75a9262d04d8"},{"data":{"created":"2014-02-26T21:15:19.078Z","credentials":{"district_username":"kimw21","district_password":"gae7ao5Te"},"district":"4fd43cc56d11340000000005","dob":"11/14/1995","ell_status":"N","email":"kim.w@example.org","frl_status":"Paid","gender":"F","grade":"12","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.752Z","location":{"zip":"10026"},"name":{"first":"Kim","middle":"L","last":"West"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"784087621","state_id":"959666331","student_number":"784087621","id":"530e5967049e75a9262d04f7"},"uri":"/v1.1/students/530e5967049e75a9262d04f7"},{"data":{"created":"2014-02-26T21:15:19.095Z","credentials":{"district_username":"tims95","district_password":"Ahy1eh8g"},"district":"4fd43cc56d11340000000005","dob":"5/17/1995","ell_status":"Y","email":"s_tim@example.net","frl_status":"Paid","gender":"M","grade":"12","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.761Z","location":{"zip":"11208"},"name":{"first":"Tim","middle":"Y","last":"Sipes"},"race":"Two
|
421
431
|
or More Races","school":"530e595026403103360ff9fd","sis_id":"786130895","state_id":"966386789","student_number":"786130895","id":"530e5967049e75a9262d04fa"},"uri":"/v1.1/students/530e5967049e75a9262d04fa"}],"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5964049e75a9262d02d4"},{"rel":"prev","uri":"/v1.1/schools/530e595026403103360ff9fd/students?ending_before=530e5964049e75a9262d02d5"},{"rel":"next","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5967049e75a9262d04fa"}]}'
|
422
432
|
http_version:
|
423
|
-
recorded_at:
|
433
|
+
recorded_at: Sat, 13 Sep 2014 00:07:40 GMT
|
424
434
|
- request:
|
425
435
|
method: get
|
426
|
-
uri: https://
|
436
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5967049e75a9262d04fa
|
427
437
|
body:
|
428
438
|
encoding: US-ASCII
|
429
439
|
string: ''
|
@@ -432,6 +442,8 @@ http_interactions:
|
|
432
442
|
- ! '*/*; q=0.5, application/xml'
|
433
443
|
Accept-Encoding:
|
434
444
|
- gzip, deflate
|
445
|
+
Authorization:
|
446
|
+
- Bearer DEMO_TOKEN
|
435
447
|
User-Agent:
|
436
448
|
- Ruby
|
437
449
|
response:
|
@@ -448,7 +460,7 @@ http_interactions:
|
|
448
460
|
Content-Type:
|
449
461
|
- application/json; charset=utf-8
|
450
462
|
Date:
|
451
|
-
-
|
463
|
+
- Sat, 13 Sep 2014 00:07:41 GMT
|
452
464
|
Etag:
|
453
465
|
- ! '"1311321495"'
|
454
466
|
Server:
|
@@ -521,10 +533,10 @@ http_interactions:
|
|
521
533
|
or African American","school":"530e595026403103360ff9fd","sis_id":"994416375","state_id":"273880394","student_number":"994416375","id":"530e5968049e75a9262d0648"},"uri":"/v1.1/students/530e5968049e75a9262d0648"},{"data":{"created":"2014-02-26T21:15:20.617Z","credentials":{"district_username":"kateg20","district_password":"eipieYeiz4"},"district":"4fd43cc56d11340000000005","dob":"9/2/1996","ell_status":"Y","email":"g.kate@example.com","frl_status":"Paid","gender":"F","grade":"11","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:44.743Z","location":{"zip":"11239"},"name":{"first":"Kate","middle":"J","last":"Gutmann"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"995477320","state_id":"866850842","student_number":"995477320","id":"530e5968049e75a9262d0649"},"uri":"/v1.1/students/530e5968049e75a9262d0649"},{"data":{"created":"2014-02-26T21:15:20.623Z","credentials":{"district_username":"markr17","district_password":"yo0ohYo6ro"},"district":"4fd43cc56d11340000000005","dob":"8/24/1996","ell_status":"N","email":"r_mark@example.com","frl_status":"Paid","gender":"M","grade":"11","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.750Z","location":{"zip":"10034"},"name":{"first":"Mark","middle":"S","last":"Reilly"},"race":"American
|
522
534
|
Indian","school":"530e595026403103360ff9fd","sis_id":"999447617","state_id":"651135073","student_number":"999447617","id":"530e5968049e75a9262d064b"},"uri":"/v1.1/students/530e5968049e75a9262d064b"}],"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5967049e75a9262d04fa"},{"rel":"prev","uri":"/v1.1/schools/530e595026403103360ff9fd/students?ending_before=530e5967049e75a9262d04fe"},{"rel":"next","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5968049e75a9262d064b"}]}'
|
523
535
|
http_version:
|
524
|
-
recorded_at:
|
536
|
+
recorded_at: Sat, 13 Sep 2014 00:07:41 GMT
|
525
537
|
- request:
|
526
538
|
method: get
|
527
|
-
uri: https://
|
539
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5968049e75a9262d064b
|
528
540
|
body:
|
529
541
|
encoding: US-ASCII
|
530
542
|
string: ''
|
@@ -533,6 +545,8 @@ http_interactions:
|
|
533
545
|
- ! '*/*; q=0.5, application/xml'
|
534
546
|
Accept-Encoding:
|
535
547
|
- gzip, deflate
|
548
|
+
Authorization:
|
549
|
+
- Bearer DEMO_TOKEN
|
536
550
|
User-Agent:
|
537
551
|
- Ruby
|
538
552
|
response:
|
@@ -549,7 +563,7 @@ http_interactions:
|
|
549
563
|
Content-Type:
|
550
564
|
- application/json; charset=utf-8
|
551
565
|
Date:
|
552
|
-
-
|
566
|
+
- Sat, 13 Sep 2014 00:07:41 GMT
|
553
567
|
Server:
|
554
568
|
- nginx/1.4.7
|
555
569
|
X-Powered-By:
|
@@ -562,10 +576,10 @@ http_interactions:
|
|
562
576
|
encoding: US-ASCII
|
563
577
|
string: ! '{"data":[],"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5968049e75a9262d064b"},{"rel":"prev","uri":"/v1.1/schools/530e595026403103360ff9fd/students?ending_before=530e5968049e75a9262d064b"}]}'
|
564
578
|
http_version:
|
565
|
-
recorded_at:
|
579
|
+
recorded_at: Sat, 13 Sep 2014 00:07:41 GMT
|
566
580
|
- request:
|
567
581
|
method: get
|
568
|
-
uri: https://
|
582
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students
|
569
583
|
body:
|
570
584
|
encoding: US-ASCII
|
571
585
|
string: ''
|
@@ -574,6 +588,8 @@ http_interactions:
|
|
574
588
|
- ! '*/*; q=0.5, application/xml'
|
575
589
|
Accept-Encoding:
|
576
590
|
- gzip, deflate
|
591
|
+
Authorization:
|
592
|
+
- Bearer DEMO_TOKEN
|
577
593
|
User-Agent:
|
578
594
|
- Ruby
|
579
595
|
response:
|
@@ -590,7 +606,7 @@ http_interactions:
|
|
590
606
|
Content-Type:
|
591
607
|
- application/json; charset=utf-8
|
592
608
|
Date:
|
593
|
-
-
|
609
|
+
- Sat, 13 Sep 2014 00:07:41 GMT
|
594
610
|
Etag:
|
595
611
|
- ! '"-1846037346"'
|
596
612
|
Server:
|
@@ -670,10 +686,10 @@ http_interactions:
|
|
670
686
|
or African American","school":"530e595026403103360ff9fd","sis_id":"319077455","state_id":"803421845","student_number":"319077455","id":"530e5962049e75a9262d00f7"},"uri":"/v1.1/students/530e5962049e75a9262d00f7"},{"data":{"created":"2014-02-26T21:15:14.432Z","credentials":{"district_username":"lewisd86","district_password":"ih2Aez8oo"},"district":"4fd43cc56d11340000000005","dob":"2/14/1998","ell_status":"N","email":"d_lewis@example.org","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:41.674Z","location":{"zip":"11225"},"name":{"first":"Lewis","middle":"J","last":"DuBuque"},"race":"Black
|
671
687
|
or African American","school":"530e595026403103360ff9fd","sis_id":"320040186","state_id":"213862011","student_number":"320040186","id":"530e5962049e75a9262d00ff"},"uri":"/v1.1/students/530e5962049e75a9262d00ff"}],"paging":{"current":1,"total":4,"count":400},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students"},{"rel":"next","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5962049e75a9262d00ff"}]}'
|
672
688
|
http_version:
|
673
|
-
recorded_at:
|
689
|
+
recorded_at: Sat, 13 Sep 2014 00:07:41 GMT
|
674
690
|
- request:
|
675
691
|
method: get
|
676
|
-
uri: https://
|
692
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5962049e75a9262d00ff
|
677
693
|
body:
|
678
694
|
encoding: US-ASCII
|
679
695
|
string: ''
|
@@ -682,6 +698,8 @@ http_interactions:
|
|
682
698
|
- ! '*/*; q=0.5, application/xml'
|
683
699
|
Accept-Encoding:
|
684
700
|
- gzip, deflate
|
701
|
+
Authorization:
|
702
|
+
- Bearer DEMO_TOKEN
|
685
703
|
User-Agent:
|
686
704
|
- Ruby
|
687
705
|
response:
|
@@ -698,7 +716,7 @@ http_interactions:
|
|
698
716
|
Content-Type:
|
699
717
|
- application/json; charset=utf-8
|
700
718
|
Date:
|
701
|
-
-
|
719
|
+
- Sat, 13 Sep 2014 00:07:41 GMT
|
702
720
|
Etag:
|
703
721
|
- ! '"249757394"'
|
704
722
|
Server:
|
@@ -778,10 +796,10 @@ http_interactions:
|
|
778
796
|
or African American","school":"530e595026403103360ff9fd","sis_id":"530262996","state_id":"595511637","student_number":"530262996","id":"530e5964049e75a9262d02d3"},"uri":"/v1.1/students/530e5964049e75a9262d02d3"},{"data":{"created":"2014-02-26T21:15:16.619Z","credentials":{"district_username":"wenw21","district_password":"kiephee6Va"},"district":"4fd43cc56d11340000000005","dob":"1/2/1995","ell_status":"Y","email":"w_wen@example.net","frl_status":"Paid","gender":"F","grade":"12","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.666Z","location":{"zip":"11214"},"name":{"first":"Wen","middle":"T","last":"Wuckert"},"race":"Two
|
779
797
|
or More Races","school":"530e595026403103360ff9fd","sis_id":"530484321","state_id":"589724319","student_number":"530484321","id":"530e5964049e75a9262d02d4"},"uri":"/v1.1/students/530e5964049e75a9262d02d4"}],"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5962049e75a9262d00ff"},{"rel":"prev","uri":"/v1.1/schools/530e595026403103360ff9fd/students?ending_before=530e5962049e75a9262d0102"},{"rel":"next","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5964049e75a9262d02d4"}]}'
|
780
798
|
http_version:
|
781
|
-
recorded_at:
|
799
|
+
recorded_at: Sat, 13 Sep 2014 00:07:42 GMT
|
782
800
|
- request:
|
783
801
|
method: get
|
784
|
-
uri: https://
|
802
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5964049e75a9262d02d4
|
785
803
|
body:
|
786
804
|
encoding: US-ASCII
|
787
805
|
string: ''
|
@@ -790,6 +808,8 @@ http_interactions:
|
|
790
808
|
- ! '*/*; q=0.5, application/xml'
|
791
809
|
Accept-Encoding:
|
792
810
|
- gzip, deflate
|
811
|
+
Authorization:
|
812
|
+
- Bearer DEMO_TOKEN
|
793
813
|
User-Agent:
|
794
814
|
- Ruby
|
795
815
|
response:
|
@@ -806,7 +826,7 @@ http_interactions:
|
|
806
826
|
Content-Type:
|
807
827
|
- application/json; charset=utf-8
|
808
828
|
Date:
|
809
|
-
-
|
829
|
+
- Sat, 13 Sep 2014 00:07:42 GMT
|
810
830
|
Etag:
|
811
831
|
- ! '"-1201581989"'
|
812
832
|
Server:
|
@@ -887,10 +907,10 @@ http_interactions:
|
|
887
907
|
or African American","school":"530e595026403103360ff9fd","sis_id":"768841884","state_id":"239367560","student_number":"768841884","id":"530e5966049e75a9262d04d7"},"uri":"/v1.1/students/530e5966049e75a9262d04d7"},{"data":{"created":"2014-02-26T21:15:18.968Z","credentials":{"district_username":"quentinf79","district_password":"fohV1oos9Ee"},"district":"4fd43cc56d11340000000005","dob":"3/30/1996","ell_status":"Y","email":"quentin.f@example.com","frl_status":"Paid","gender":"M","grade":"11","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.706Z","location":{"zip":"11412"},"name":{"first":"Quentin","middle":"C","last":"Feil"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"773959679","state_id":"500526668","student_number":"773959679","id":"530e5966049e75a9262d04d8"},"uri":"/v1.1/students/530e5966049e75a9262d04d8"},{"data":{"created":"2014-02-26T21:15:19.078Z","credentials":{"district_username":"kimw21","district_password":"gae7ao5Te"},"district":"4fd43cc56d11340000000005","dob":"11/14/1995","ell_status":"N","email":"kim.w@example.org","frl_status":"Paid","gender":"F","grade":"12","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.752Z","location":{"zip":"10026"},"name":{"first":"Kim","middle":"L","last":"West"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"784087621","state_id":"959666331","student_number":"784087621","id":"530e5967049e75a9262d04f7"},"uri":"/v1.1/students/530e5967049e75a9262d04f7"},{"data":{"created":"2014-02-26T21:15:19.095Z","credentials":{"district_username":"tims95","district_password":"Ahy1eh8g"},"district":"4fd43cc56d11340000000005","dob":"5/17/1995","ell_status":"Y","email":"s_tim@example.net","frl_status":"Paid","gender":"M","grade":"12","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.761Z","location":{"zip":"11208"},"name":{"first":"Tim","middle":"Y","last":"Sipes"},"race":"Two
|
888
908
|
or More Races","school":"530e595026403103360ff9fd","sis_id":"786130895","state_id":"966386789","student_number":"786130895","id":"530e5967049e75a9262d04fa"},"uri":"/v1.1/students/530e5967049e75a9262d04fa"}],"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5964049e75a9262d02d4"},{"rel":"prev","uri":"/v1.1/schools/530e595026403103360ff9fd/students?ending_before=530e5964049e75a9262d02d5"},{"rel":"next","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5967049e75a9262d04fa"}]}'
|
889
909
|
http_version:
|
890
|
-
recorded_at:
|
910
|
+
recorded_at: Sat, 13 Sep 2014 00:07:42 GMT
|
891
911
|
- request:
|
892
912
|
method: get
|
893
|
-
uri: https://
|
913
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5967049e75a9262d04fa
|
894
914
|
body:
|
895
915
|
encoding: US-ASCII
|
896
916
|
string: ''
|
@@ -899,6 +919,8 @@ http_interactions:
|
|
899
919
|
- ! '*/*; q=0.5, application/xml'
|
900
920
|
Accept-Encoding:
|
901
921
|
- gzip, deflate
|
922
|
+
Authorization:
|
923
|
+
- Bearer DEMO_TOKEN
|
902
924
|
User-Agent:
|
903
925
|
- Ruby
|
904
926
|
response:
|
@@ -915,7 +937,7 @@ http_interactions:
|
|
915
937
|
Content-Type:
|
916
938
|
- application/json; charset=utf-8
|
917
939
|
Date:
|
918
|
-
-
|
940
|
+
- Sat, 13 Sep 2014 00:07:43 GMT
|
919
941
|
Etag:
|
920
942
|
- ! '"1311321495"'
|
921
943
|
Server:
|
@@ -988,10 +1010,10 @@ http_interactions:
|
|
988
1010
|
or African American","school":"530e595026403103360ff9fd","sis_id":"994416375","state_id":"273880394","student_number":"994416375","id":"530e5968049e75a9262d0648"},"uri":"/v1.1/students/530e5968049e75a9262d0648"},{"data":{"created":"2014-02-26T21:15:20.617Z","credentials":{"district_username":"kateg20","district_password":"eipieYeiz4"},"district":"4fd43cc56d11340000000005","dob":"9/2/1996","ell_status":"Y","email":"g.kate@example.com","frl_status":"Paid","gender":"F","grade":"11","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:44.743Z","location":{"zip":"11239"},"name":{"first":"Kate","middle":"J","last":"Gutmann"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"995477320","state_id":"866850842","student_number":"995477320","id":"530e5968049e75a9262d0649"},"uri":"/v1.1/students/530e5968049e75a9262d0649"},{"data":{"created":"2014-02-26T21:15:20.623Z","credentials":{"district_username":"markr17","district_password":"yo0ohYo6ro"},"district":"4fd43cc56d11340000000005","dob":"8/24/1996","ell_status":"N","email":"r_mark@example.com","frl_status":"Paid","gender":"M","grade":"11","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.750Z","location":{"zip":"10034"},"name":{"first":"Mark","middle":"S","last":"Reilly"},"race":"American
|
989
1011
|
Indian","school":"530e595026403103360ff9fd","sis_id":"999447617","state_id":"651135073","student_number":"999447617","id":"530e5968049e75a9262d064b"},"uri":"/v1.1/students/530e5968049e75a9262d064b"}],"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5967049e75a9262d04fa"},{"rel":"prev","uri":"/v1.1/schools/530e595026403103360ff9fd/students?ending_before=530e5967049e75a9262d04fe"},{"rel":"next","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5968049e75a9262d064b"}]}'
|
990
1012
|
http_version:
|
991
|
-
recorded_at:
|
1013
|
+
recorded_at: Sat, 13 Sep 2014 00:07:43 GMT
|
992
1014
|
- request:
|
993
1015
|
method: get
|
994
|
-
uri: https://
|
1016
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5968049e75a9262d064b
|
995
1017
|
body:
|
996
1018
|
encoding: US-ASCII
|
997
1019
|
string: ''
|
@@ -1000,6 +1022,8 @@ http_interactions:
|
|
1000
1022
|
- ! '*/*; q=0.5, application/xml'
|
1001
1023
|
Accept-Encoding:
|
1002
1024
|
- gzip, deflate
|
1025
|
+
Authorization:
|
1026
|
+
- Bearer DEMO_TOKEN
|
1003
1027
|
User-Agent:
|
1004
1028
|
- Ruby
|
1005
1029
|
response:
|
@@ -1016,7 +1040,7 @@ http_interactions:
|
|
1016
1040
|
Content-Type:
|
1017
1041
|
- application/json; charset=utf-8
|
1018
1042
|
Date:
|
1019
|
-
-
|
1043
|
+
- Sat, 13 Sep 2014 00:07:43 GMT
|
1020
1044
|
Server:
|
1021
1045
|
- nginx/1.4.7
|
1022
1046
|
X-Powered-By:
|
@@ -1029,5 +1053,5 @@ http_interactions:
|
|
1029
1053
|
encoding: US-ASCII
|
1030
1054
|
string: ! '{"data":[],"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/students?starting_after=530e5968049e75a9262d064b"},{"rel":"prev","uri":"/v1.1/schools/530e595026403103360ff9fd/students?ending_before=530e5968049e75a9262d064b"}]}'
|
1031
1055
|
http_version:
|
1032
|
-
recorded_at:
|
1033
|
-
recorded_with: VCR 2.
|
1056
|
+
recorded_at: Sat, 13 Sep 2014 00:07:43 GMT
|
1057
|
+
recorded_with: VCR 2.9.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://api.clever.com/v1.1/schools
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:06:25 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"1408105812"'
|
33
35
|
Server:
|
@@ -51,10 +53,10 @@ http_interactions:
|
|
51
53
|
Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard
|
52
54
|
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/schools"}]}'
|
53
55
|
http_version:
|
54
|
-
recorded_at:
|
56
|
+
recorded_at: Sat, 13 Sep 2014 00:06:25 GMT
|
55
57
|
- request:
|
56
58
|
method: get
|
57
|
-
uri: https://
|
59
|
+
uri: https://api.clever.com/v1.1/schools/530e595026403103360ff9fd
|
58
60
|
body:
|
59
61
|
encoding: US-ASCII
|
60
62
|
string: ''
|
@@ -63,6 +65,8 @@ http_interactions:
|
|
63
65
|
- ! '*/*; q=0.5, application/xml'
|
64
66
|
Accept-Encoding:
|
65
67
|
- gzip, deflate
|
68
|
+
Authorization:
|
69
|
+
- Bearer DEMO_TOKEN
|
66
70
|
User-Agent:
|
67
71
|
- Ruby
|
68
72
|
response:
|
@@ -79,7 +83,7 @@ http_interactions:
|
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Date:
|
82
|
-
-
|
86
|
+
- Sat, 13 Sep 2014 00:06:25 GMT
|
83
87
|
Server:
|
84
88
|
- nginx/1.4.7
|
85
89
|
X-Powered-By:
|
@@ -95,10 +99,10 @@ http_interactions:
|
|
95
99
|
High School","nces_id":"360008000000","phone":"(212) 555-1212","principal":{"name":"Theodora
|
96
100
|
Khan","email":"tdkhan@mailinator.com"},"school_number":"02M800","sis_id":"02M800","state_id":"712345","id":"530e595026403103360ff9fd"},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd"},{"rel":"district","uri":"/v1.1/schools/530e595026403103360ff9fd/district"},{"rel":"teachers","uri":"/v1.1/schools/530e595026403103360ff9fd/teachers"},{"rel":"students","uri":"/v1.1/schools/530e595026403103360ff9fd/students"},{"rel":"sections","uri":"/v1.1/schools/530e595026403103360ff9fd/sections"},{"rel":"events","uri":"/v1.1/schools/530e595026403103360ff9fd/events"}]}'
|
97
101
|
http_version:
|
98
|
-
recorded_at:
|
102
|
+
recorded_at: Sat, 13 Sep 2014 00:06:25 GMT
|
99
103
|
- request:
|
100
104
|
method: get
|
101
|
-
uri: https://
|
105
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/teachers
|
102
106
|
body:
|
103
107
|
encoding: US-ASCII
|
104
108
|
string: ''
|
@@ -107,6 +111,8 @@ http_interactions:
|
|
107
111
|
- ! '*/*; q=0.5, application/xml'
|
108
112
|
Accept-Encoding:
|
109
113
|
- gzip, deflate
|
114
|
+
Authorization:
|
115
|
+
- Bearer DEMO_TOKEN
|
110
116
|
User-Agent:
|
111
117
|
- Ruby
|
112
118
|
response:
|
@@ -123,7 +129,7 @@ http_interactions:
|
|
123
129
|
Content-Type:
|
124
130
|
- application/json; charset=utf-8
|
125
131
|
Date:
|
126
|
-
-
|
132
|
+
- Sat, 13 Sep 2014 00:06:25 GMT
|
127
133
|
Etag:
|
128
134
|
- ! '"-1806389900"'
|
129
135
|
Server:
|
@@ -174,10 +180,10 @@ http_interactions:
|
|
174
180
|
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
|
175
181
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":36},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/teachers"}]}'
|
176
182
|
http_version:
|
177
|
-
recorded_at:
|
183
|
+
recorded_at: Sat, 13 Sep 2014 00:06:25 GMT
|
178
184
|
- request:
|
179
185
|
method: get
|
180
|
-
uri: https://
|
186
|
+
uri: https://api.clever.com//v1.1/schools/530e595026403103360ff9fd/teachers
|
181
187
|
body:
|
182
188
|
encoding: US-ASCII
|
183
189
|
string: ''
|
@@ -186,6 +192,8 @@ http_interactions:
|
|
186
192
|
- ! '*/*; q=0.5, application/xml'
|
187
193
|
Accept-Encoding:
|
188
194
|
- gzip, deflate
|
195
|
+
Authorization:
|
196
|
+
- Bearer DEMO_TOKEN
|
189
197
|
User-Agent:
|
190
198
|
- Ruby
|
191
199
|
response:
|
@@ -202,7 +210,7 @@ http_interactions:
|
|
202
210
|
Content-Type:
|
203
211
|
- application/json; charset=utf-8
|
204
212
|
Date:
|
205
|
-
-
|
213
|
+
- Sat, 13 Sep 2014 00:06:25 GMT
|
206
214
|
Etag:
|
207
215
|
- ! '"-1806389900"'
|
208
216
|
Server:
|
@@ -253,5 +261,5 @@ http_interactions:
|
|
253
261
|
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
|
254
262
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":36},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fd/teachers"}]}'
|
255
263
|
http_version:
|
256
|
-
recorded_at:
|
257
|
-
recorded_with: VCR 2.
|
264
|
+
recorded_at: Sat, 13 Sep 2014 00:06:25 GMT
|
265
|
+
recorded_with: VCR 2.9.3
|