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/teachers
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:07:52 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"-409931571"'
|
33
35
|
Server:
|
@@ -131,10 +133,10 @@ http_interactions:
|
|
131
133
|
Coach","id":"530e5955d50c310f36112c18"},"uri":"/v1.1/teachers/530e5955d50c310f36112c18"},{"data":{"created":"2014-02-26T21:15:01.572Z","credentials":{"district_username":"m_paucek","district_password":"jhga8salgh"},"district":"4fd43cc56d11340000000005","email":"paucek_m@example.org","last_modified":"2014-02-26T21:15:01.574Z","name":{"first":"Meaghan","middle":"P","last":"Paucek"},"school":"530e595026403103360ff9fd","sis_id":"93","teacher_number":"843713","title":"High
|
132
134
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers"}]}'
|
133
135
|
http_version:
|
134
|
-
recorded_at:
|
136
|
+
recorded_at: Sat, 13 Sep 2014 00:07:52 GMT
|
135
137
|
- request:
|
136
138
|
method: get
|
137
|
-
uri: https://
|
139
|
+
uri: https://api.clever.com/v1.1/teachers/509fbd7ec474fab64a8e9d53
|
138
140
|
body:
|
139
141
|
encoding: US-ASCII
|
140
142
|
string: ''
|
@@ -143,6 +145,8 @@ http_interactions:
|
|
143
145
|
- ! '*/*; q=0.5, application/xml'
|
144
146
|
Accept-Encoding:
|
145
147
|
- gzip, deflate
|
148
|
+
Authorization:
|
149
|
+
- Bearer DEMO_TOKEN
|
146
150
|
User-Agent:
|
147
151
|
- Ruby
|
148
152
|
response:
|
@@ -159,7 +163,7 @@ http_interactions:
|
|
159
163
|
Content-Type:
|
160
164
|
- application/json; charset=utf-8
|
161
165
|
Date:
|
162
|
-
-
|
166
|
+
- Sat, 13 Sep 2014 00:07:52 GMT
|
163
167
|
Server:
|
164
168
|
- nginx/1.4.7
|
165
169
|
X-Powered-By:
|
@@ -173,10 +177,10 @@ http_interactions:
|
|
173
177
|
string: ! '{"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
|
174
178
|
3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"rel":"district","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/district"},{"rel":"school","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/school"},{"rel":"students","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/students"},{"rel":"sections","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/sections"},{"rel":"grade_levels","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/grade_levels"},{"rel":"events","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/events"}]}'
|
175
179
|
http_version:
|
176
|
-
recorded_at:
|
180
|
+
recorded_at: Sat, 13 Sep 2014 00:07:52 GMT
|
177
181
|
- request:
|
178
182
|
method: get
|
179
|
-
uri: https://
|
183
|
+
uri: https://api.clever.com//v1.1/teachers/509fbd7ec474fab64a8e9d53/district
|
180
184
|
body:
|
181
185
|
encoding: US-ASCII
|
182
186
|
string: ''
|
@@ -185,6 +189,8 @@ http_interactions:
|
|
185
189
|
- ! '*/*; q=0.5, application/xml'
|
186
190
|
Accept-Encoding:
|
187
191
|
- gzip, deflate
|
192
|
+
Authorization:
|
193
|
+
- Bearer DEMO_TOKEN
|
188
194
|
User-Agent:
|
189
195
|
- Ruby
|
190
196
|
response:
|
@@ -201,7 +207,7 @@ http_interactions:
|
|
201
207
|
Content-Type:
|
202
208
|
- application/json; charset=utf-8
|
203
209
|
Date:
|
204
|
-
-
|
210
|
+
- Sat, 13 Sep 2014 00:07:52 GMT
|
205
211
|
Server:
|
206
212
|
- nginx/1.4.7
|
207
213
|
X-Powered-By:
|
@@ -214,5 +220,5 @@ http_interactions:
|
|
214
220
|
encoding: US-ASCII
|
215
221
|
string: ! '{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005"}]}'
|
216
222
|
http_version:
|
217
|
-
recorded_at:
|
218
|
-
recorded_with: VCR 2.
|
223
|
+
recorded_at: Sat, 13 Sep 2014 00:07:52 GMT
|
224
|
+
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/teachers
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:07:53 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"-409931571"'
|
33
35
|
Server:
|
@@ -131,10 +133,10 @@ http_interactions:
|
|
131
133
|
Coach","id":"530e5955d50c310f36112c18"},"uri":"/v1.1/teachers/530e5955d50c310f36112c18"},{"data":{"created":"2014-02-26T21:15:01.572Z","credentials":{"district_username":"m_paucek","district_password":"jhga8salgh"},"district":"4fd43cc56d11340000000005","email":"paucek_m@example.org","last_modified":"2014-02-26T21:15:01.574Z","name":{"first":"Meaghan","middle":"P","last":"Paucek"},"school":"530e595026403103360ff9fd","sis_id":"93","teacher_number":"843713","title":"High
|
132
134
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers"}]}'
|
133
135
|
http_version:
|
134
|
-
recorded_at:
|
136
|
+
recorded_at: Sat, 13 Sep 2014 00:07:53 GMT
|
135
137
|
- request:
|
136
138
|
method: get
|
137
|
-
uri: https://
|
139
|
+
uri: https://api.clever.com/v1.1/teachers/509fbd7ec474fab64a8e9d53
|
138
140
|
body:
|
139
141
|
encoding: US-ASCII
|
140
142
|
string: ''
|
@@ -143,6 +145,8 @@ http_interactions:
|
|
143
145
|
- ! '*/*; q=0.5, application/xml'
|
144
146
|
Accept-Encoding:
|
145
147
|
- gzip, deflate
|
148
|
+
Authorization:
|
149
|
+
- Bearer DEMO_TOKEN
|
146
150
|
User-Agent:
|
147
151
|
- Ruby
|
148
152
|
response:
|
@@ -159,7 +163,7 @@ http_interactions:
|
|
159
163
|
Content-Type:
|
160
164
|
- application/json; charset=utf-8
|
161
165
|
Date:
|
162
|
-
-
|
166
|
+
- Sat, 13 Sep 2014 00:07:53 GMT
|
163
167
|
Server:
|
164
168
|
- nginx/1.4.7
|
165
169
|
X-Powered-By:
|
@@ -173,10 +177,10 @@ http_interactions:
|
|
173
177
|
string: ! '{"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
|
174
178
|
3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"rel":"district","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/district"},{"rel":"school","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/school"},{"rel":"students","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/students"},{"rel":"sections","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/sections"},{"rel":"grade_levels","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/grade_levels"},{"rel":"events","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/events"}]}'
|
175
179
|
http_version:
|
176
|
-
recorded_at:
|
180
|
+
recorded_at: Sat, 13 Sep 2014 00:07:53 GMT
|
177
181
|
- request:
|
178
182
|
method: get
|
179
|
-
uri: https://
|
183
|
+
uri: https://api.clever.com//v1.1/teachers/509fbd7ec474fab64a8e9d53/events
|
180
184
|
body:
|
181
185
|
encoding: US-ASCII
|
182
186
|
string: ''
|
@@ -185,6 +189,8 @@ http_interactions:
|
|
185
189
|
- ! '*/*; q=0.5, application/xml'
|
186
190
|
Accept-Encoding:
|
187
191
|
- gzip, deflate
|
192
|
+
Authorization:
|
193
|
+
- Bearer DEMO_TOKEN
|
188
194
|
User-Agent:
|
189
195
|
- Ruby
|
190
196
|
response:
|
@@ -201,7 +207,7 @@ http_interactions:
|
|
201
207
|
Content-Type:
|
202
208
|
- application/json; charset=utf-8
|
203
209
|
Date:
|
204
|
-
-
|
210
|
+
- Sat, 13 Sep 2014 00:07:53 GMT
|
205
211
|
Server:
|
206
212
|
- nginx/1.4.7
|
207
213
|
X-Powered-By:
|
@@ -214,10 +220,10 @@ http_interactions:
|
|
214
220
|
encoding: US-ASCII
|
215
221
|
string: ! '{"data":[],"paging":{"current":0,"total":0,"count":0},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/events"}]}'
|
216
222
|
http_version:
|
217
|
-
recorded_at:
|
223
|
+
recorded_at: Sat, 13 Sep 2014 00:07:53 GMT
|
218
224
|
- request:
|
219
225
|
method: get
|
220
|
-
uri: https://
|
226
|
+
uri: https://api.clever.com//v1.1/teachers/509fbd7ec474fab64a8e9d53/events
|
221
227
|
body:
|
222
228
|
encoding: US-ASCII
|
223
229
|
string: ''
|
@@ -226,6 +232,8 @@ http_interactions:
|
|
226
232
|
- ! '*/*; q=0.5, application/xml'
|
227
233
|
Accept-Encoding:
|
228
234
|
- gzip, deflate
|
235
|
+
Authorization:
|
236
|
+
- Bearer DEMO_TOKEN
|
229
237
|
User-Agent:
|
230
238
|
- Ruby
|
231
239
|
response:
|
@@ -242,7 +250,7 @@ http_interactions:
|
|
242
250
|
Content-Type:
|
243
251
|
- application/json; charset=utf-8
|
244
252
|
Date:
|
245
|
-
-
|
253
|
+
- Sat, 13 Sep 2014 00:07:53 GMT
|
246
254
|
Server:
|
247
255
|
- nginx/1.4.7
|
248
256
|
X-Powered-By:
|
@@ -255,5 +263,5 @@ http_interactions:
|
|
255
263
|
encoding: US-ASCII
|
256
264
|
string: ! '{"data":[],"paging":{"current":0,"total":0,"count":0},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/events"}]}'
|
257
265
|
http_version:
|
258
|
-
recorded_at:
|
259
|
-
recorded_with: VCR 2.
|
266
|
+
recorded_at: Sat, 13 Sep 2014 00:07:53 GMT
|
267
|
+
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/teachers
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:07:38 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"-409931571"'
|
33
35
|
Server:
|
@@ -131,10 +133,10 @@ http_interactions:
|
|
131
133
|
Coach","id":"530e5955d50c310f36112c18"},"uri":"/v1.1/teachers/530e5955d50c310f36112c18"},{"data":{"created":"2014-02-26T21:15:01.572Z","credentials":{"district_username":"m_paucek","district_password":"jhga8salgh"},"district":"4fd43cc56d11340000000005","email":"paucek_m@example.org","last_modified":"2014-02-26T21:15:01.574Z","name":{"first":"Meaghan","middle":"P","last":"Paucek"},"school":"530e595026403103360ff9fd","sis_id":"93","teacher_number":"843713","title":"High
|
132
134
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers"}]}'
|
133
135
|
http_version:
|
134
|
-
recorded_at:
|
136
|
+
recorded_at: Sat, 13 Sep 2014 00:07:38 GMT
|
135
137
|
- request:
|
136
138
|
method: get
|
137
|
-
uri: https://
|
139
|
+
uri: https://api.clever.com/v1.1/teachers/509fbd7ec474fab64a8e9d53
|
138
140
|
body:
|
139
141
|
encoding: US-ASCII
|
140
142
|
string: ''
|
@@ -143,6 +145,8 @@ http_interactions:
|
|
143
145
|
- ! '*/*; q=0.5, application/xml'
|
144
146
|
Accept-Encoding:
|
145
147
|
- gzip, deflate
|
148
|
+
Authorization:
|
149
|
+
- Bearer DEMO_TOKEN
|
146
150
|
User-Agent:
|
147
151
|
- Ruby
|
148
152
|
response:
|
@@ -159,7 +163,7 @@ http_interactions:
|
|
159
163
|
Content-Type:
|
160
164
|
- application/json; charset=utf-8
|
161
165
|
Date:
|
162
|
-
-
|
166
|
+
- Sat, 13 Sep 2014 00:07:38 GMT
|
163
167
|
Server:
|
164
168
|
- nginx/1.4.7
|
165
169
|
X-Powered-By:
|
@@ -173,10 +177,10 @@ http_interactions:
|
|
173
177
|
string: ! '{"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
|
174
178
|
3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"rel":"district","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/district"},{"rel":"school","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/school"},{"rel":"students","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/students"},{"rel":"sections","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/sections"},{"rel":"grade_levels","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/grade_levels"},{"rel":"events","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/events"}]}'
|
175
179
|
http_version:
|
176
|
-
recorded_at:
|
180
|
+
recorded_at: Sat, 13 Sep 2014 00:07:38 GMT
|
177
181
|
- request:
|
178
182
|
method: get
|
179
|
-
uri: https://
|
183
|
+
uri: https://api.clever.com//v1.1/teachers/509fbd7ec474fab64a8e9d53/school
|
180
184
|
body:
|
181
185
|
encoding: US-ASCII
|
182
186
|
string: ''
|
@@ -185,6 +189,8 @@ http_interactions:
|
|
185
189
|
- ! '*/*; q=0.5, application/xml'
|
186
190
|
Accept-Encoding:
|
187
191
|
- gzip, deflate
|
192
|
+
Authorization:
|
193
|
+
- Bearer DEMO_TOKEN
|
188
194
|
User-Agent:
|
189
195
|
- Ruby
|
190
196
|
response:
|
@@ -201,7 +207,7 @@ http_interactions:
|
|
201
207
|
Content-Type:
|
202
208
|
- application/json; charset=utf-8
|
203
209
|
Date:
|
204
|
-
-
|
210
|
+
- Sat, 13 Sep 2014 00:07:38 GMT
|
205
211
|
Server:
|
206
212
|
- nginx/1.4.7
|
207
213
|
X-Powered-By:
|
@@ -217,5 +223,5 @@ http_interactions:
|
|
217
223
|
Elementary School","nces_id":"360007000000","phone":"(718) 555-4567","principal":{"name":"Cecilia
|
218
224
|
Roderick","email":"ceciliar@mailinator.com"},"school_number":"13K123","sis_id":"13K123","state_id":"30890","id":"530e595026403103360ff9fe"},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fe"}]}'
|
219
225
|
http_version:
|
220
|
-
recorded_at:
|
221
|
-
recorded_with: VCR 2.
|
226
|
+
recorded_at: Sat, 13 Sep 2014 00:07:38 GMT
|
227
|
+
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/teachers
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:07:37 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"-409931571"'
|
33
35
|
Server:
|
@@ -131,10 +133,10 @@ http_interactions:
|
|
131
133
|
Coach","id":"530e5955d50c310f36112c18"},"uri":"/v1.1/teachers/530e5955d50c310f36112c18"},{"data":{"created":"2014-02-26T21:15:01.572Z","credentials":{"district_username":"m_paucek","district_password":"jhga8salgh"},"district":"4fd43cc56d11340000000005","email":"paucek_m@example.org","last_modified":"2014-02-26T21:15:01.574Z","name":{"first":"Meaghan","middle":"P","last":"Paucek"},"school":"530e595026403103360ff9fd","sis_id":"93","teacher_number":"843713","title":"High
|
132
134
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers"}]}'
|
133
135
|
http_version:
|
134
|
-
recorded_at:
|
136
|
+
recorded_at: Sat, 13 Sep 2014 00:07:37 GMT
|
135
137
|
- request:
|
136
138
|
method: get
|
137
|
-
uri: https://
|
139
|
+
uri: https://api.clever.com/v1.1/teachers/509fbd7ec474fab64a8e9d53
|
138
140
|
body:
|
139
141
|
encoding: US-ASCII
|
140
142
|
string: ''
|
@@ -143,6 +145,8 @@ http_interactions:
|
|
143
145
|
- ! '*/*; q=0.5, application/xml'
|
144
146
|
Accept-Encoding:
|
145
147
|
- gzip, deflate
|
148
|
+
Authorization:
|
149
|
+
- Bearer DEMO_TOKEN
|
146
150
|
User-Agent:
|
147
151
|
- Ruby
|
148
152
|
response:
|
@@ -159,7 +163,7 @@ http_interactions:
|
|
159
163
|
Content-Type:
|
160
164
|
- application/json; charset=utf-8
|
161
165
|
Date:
|
162
|
-
-
|
166
|
+
- Sat, 13 Sep 2014 00:07:37 GMT
|
163
167
|
Server:
|
164
168
|
- nginx/1.4.7
|
165
169
|
X-Powered-By:
|
@@ -173,10 +177,10 @@ http_interactions:
|
|
173
177
|
string: ! '{"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
|
174
178
|
3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"rel":"district","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/district"},{"rel":"school","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/school"},{"rel":"students","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/students"},{"rel":"sections","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/sections"},{"rel":"grade_levels","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/grade_levels"},{"rel":"events","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/events"}]}'
|
175
179
|
http_version:
|
176
|
-
recorded_at:
|
180
|
+
recorded_at: Sat, 13 Sep 2014 00:07:37 GMT
|
177
181
|
- request:
|
178
182
|
method: get
|
179
|
-
uri: https://
|
183
|
+
uri: https://api.clever.com//v1.1/teachers/509fbd7ec474fab64a8e9d53/sections
|
180
184
|
body:
|
181
185
|
encoding: US-ASCII
|
182
186
|
string: ''
|
@@ -185,6 +189,8 @@ http_interactions:
|
|
185
189
|
- ! '*/*; q=0.5, application/xml'
|
186
190
|
Accept-Encoding:
|
187
191
|
- gzip, deflate
|
192
|
+
Authorization:
|
193
|
+
- Bearer DEMO_TOKEN
|
188
194
|
User-Agent:
|
189
195
|
- Ruby
|
190
196
|
response:
|
@@ -201,7 +207,7 @@ http_interactions:
|
|
201
207
|
Content-Type:
|
202
208
|
- application/json; charset=utf-8
|
203
209
|
Date:
|
204
|
-
-
|
210
|
+
- Sat, 13 Sep 2014 00:07:37 GMT
|
205
211
|
Etag:
|
206
212
|
- ! '"517917419"'
|
207
213
|
Server:
|
@@ -230,10 +236,10 @@ http_interactions:
|
|
230
236
|
3 Social Studies, Class 303","period":"2","school":"530e595026403103360ff9fe","sis_id":"925","students":["530e5960049e75a9262cff3e","530e5961049e75a9262d0067","530e5962049e75a9262d00a2","530e5962049e75a9262d00b0","530e5962049e75a9262d00f0","530e5962049e75a9262d0117","530e5962049e75a9262d0131","530e5963049e75a9262d0188","530e5963049e75a9262d01c3","530e5964049e75a9262d02b0","530e5964049e75a9262d02d7","530e5964049e75a9262d02f1","530e5965049e75a9262d03c1","530e5965049e75a9262d03c4","530e5966049e75a9262d0445","530e5967049e75a9262d0541","530e5967049e75a9262d05c2","530e5968049e75a9262d05fd","530e5968049e75a9262d0624","530e5968049e75a9262d063d","530e5968049e75a9262d063e"],"subject":"social
|
231
237
|
studies","teacher":"509fbd7ec474fab64a8e9d53","term":{"name":"Y1","start_date":"2012-08-01T00:00:00.000Z","end_date":"2013-06-01T00:00:00.000Z"},"id":"530e597b049e75a9262d0c49"},"uri":"/v1.1/sections/530e597b049e75a9262d0c49"}],"paging":{"current":1,"total":1,"count":6},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/sections"}]}'
|
232
238
|
http_version:
|
233
|
-
recorded_at:
|
239
|
+
recorded_at: Sat, 13 Sep 2014 00:07:37 GMT
|
234
240
|
- request:
|
235
241
|
method: get
|
236
|
-
uri: https://
|
242
|
+
uri: https://api.clever.com//v1.1/teachers/509fbd7ec474fab64a8e9d53/sections
|
237
243
|
body:
|
238
244
|
encoding: US-ASCII
|
239
245
|
string: ''
|
@@ -242,6 +248,8 @@ http_interactions:
|
|
242
248
|
- ! '*/*; q=0.5, application/xml'
|
243
249
|
Accept-Encoding:
|
244
250
|
- gzip, deflate
|
251
|
+
Authorization:
|
252
|
+
- Bearer DEMO_TOKEN
|
245
253
|
User-Agent:
|
246
254
|
- Ruby
|
247
255
|
response:
|
@@ -258,7 +266,7 @@ http_interactions:
|
|
258
266
|
Content-Type:
|
259
267
|
- application/json; charset=utf-8
|
260
268
|
Date:
|
261
|
-
-
|
269
|
+
- Sat, 13 Sep 2014 00:07:37 GMT
|
262
270
|
Etag:
|
263
271
|
- ! '"517917419"'
|
264
272
|
Server:
|
@@ -287,5 +295,5 @@ http_interactions:
|
|
287
295
|
3 Social Studies, Class 303","period":"2","school":"530e595026403103360ff9fe","sis_id":"925","students":["530e5960049e75a9262cff3e","530e5961049e75a9262d0067","530e5962049e75a9262d00a2","530e5962049e75a9262d00b0","530e5962049e75a9262d00f0","530e5962049e75a9262d0117","530e5962049e75a9262d0131","530e5963049e75a9262d0188","530e5963049e75a9262d01c3","530e5964049e75a9262d02b0","530e5964049e75a9262d02d7","530e5964049e75a9262d02f1","530e5965049e75a9262d03c1","530e5965049e75a9262d03c4","530e5966049e75a9262d0445","530e5967049e75a9262d0541","530e5967049e75a9262d05c2","530e5968049e75a9262d05fd","530e5968049e75a9262d0624","530e5968049e75a9262d063d","530e5968049e75a9262d063e"],"subject":"social
|
288
296
|
studies","teacher":"509fbd7ec474fab64a8e9d53","term":{"name":"Y1","start_date":"2012-08-01T00:00:00.000Z","end_date":"2013-06-01T00:00:00.000Z"},"id":"530e597b049e75a9262d0c49"},"uri":"/v1.1/sections/530e597b049e75a9262d0c49"}],"paging":{"current":1,"total":1,"count":6},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/sections"}]}'
|
289
297
|
http_version:
|
290
|
-
recorded_at:
|
291
|
-
recorded_with: VCR 2.
|
298
|
+
recorded_at: Sat, 13 Sep 2014 00:07:37 GMT
|
299
|
+
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/teachers
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:07:38 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"-409931571"'
|
33
35
|
Server:
|
@@ -131,10 +133,10 @@ http_interactions:
|
|
131
133
|
Coach","id":"530e5955d50c310f36112c18"},"uri":"/v1.1/teachers/530e5955d50c310f36112c18"},{"data":{"created":"2014-02-26T21:15:01.572Z","credentials":{"district_username":"m_paucek","district_password":"jhga8salgh"},"district":"4fd43cc56d11340000000005","email":"paucek_m@example.org","last_modified":"2014-02-26T21:15:01.574Z","name":{"first":"Meaghan","middle":"P","last":"Paucek"},"school":"530e595026403103360ff9fd","sis_id":"93","teacher_number":"843713","title":"High
|
132
134
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers"}]}'
|
133
135
|
http_version:
|
134
|
-
recorded_at:
|
136
|
+
recorded_at: Sat, 13 Sep 2014 00:07:38 GMT
|
135
137
|
- request:
|
136
138
|
method: get
|
137
|
-
uri: https://
|
139
|
+
uri: https://api.clever.com/v1.1/teachers/509fbd7ec474fab64a8e9d53
|
138
140
|
body:
|
139
141
|
encoding: US-ASCII
|
140
142
|
string: ''
|
@@ -143,6 +145,8 @@ http_interactions:
|
|
143
145
|
- ! '*/*; q=0.5, application/xml'
|
144
146
|
Accept-Encoding:
|
145
147
|
- gzip, deflate
|
148
|
+
Authorization:
|
149
|
+
- Bearer DEMO_TOKEN
|
146
150
|
User-Agent:
|
147
151
|
- Ruby
|
148
152
|
response:
|
@@ -159,7 +163,7 @@ http_interactions:
|
|
159
163
|
Content-Type:
|
160
164
|
- application/json; charset=utf-8
|
161
165
|
Date:
|
162
|
-
-
|
166
|
+
- Sat, 13 Sep 2014 00:07:38 GMT
|
163
167
|
Server:
|
164
168
|
- nginx/1.4.7
|
165
169
|
X-Powered-By:
|
@@ -173,10 +177,10 @@ http_interactions:
|
|
173
177
|
string: ! '{"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
|
174
178
|
3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"rel":"district","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/district"},{"rel":"school","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/school"},{"rel":"students","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/students"},{"rel":"sections","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/sections"},{"rel":"grade_levels","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/grade_levels"},{"rel":"events","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/events"}]}'
|
175
179
|
http_version:
|
176
|
-
recorded_at:
|
180
|
+
recorded_at: Sat, 13 Sep 2014 00:07:38 GMT
|
177
181
|
- request:
|
178
182
|
method: get
|
179
|
-
uri: https://
|
183
|
+
uri: https://api.clever.com//v1.1/teachers/509fbd7ec474fab64a8e9d53/students
|
180
184
|
body:
|
181
185
|
encoding: US-ASCII
|
182
186
|
string: ''
|
@@ -185,6 +189,8 @@ http_interactions:
|
|
185
189
|
- ! '*/*; q=0.5, application/xml'
|
186
190
|
Accept-Encoding:
|
187
191
|
- gzip, deflate
|
192
|
+
Authorization:
|
193
|
+
- Bearer DEMO_TOKEN
|
188
194
|
User-Agent:
|
189
195
|
- Ruby
|
190
196
|
response:
|
@@ -201,7 +207,7 @@ http_interactions:
|
|
201
207
|
Content-Type:
|
202
208
|
- application/json; charset=utf-8
|
203
209
|
Date:
|
204
|
-
-
|
210
|
+
- Sat, 13 Sep 2014 00:07:38 GMT
|
205
211
|
Etag:
|
206
212
|
- ! '"-648838959"'
|
207
213
|
Server:
|
@@ -231,10 +237,10 @@ http_interactions:
|
|
231
237
|
or African American","school":"530e595026403103360ff9fe","sis_id":"984743266","state_id":"104522216","student_number":"984743266","id":"530e5968049e75a9262d063d"},"uri":"/v1.1/students/530e5968049e75a9262d063d"},{"data":{"created":"2014-02-26T21:15:20.575Z","credentials":{"district_username":"charlesg75","district_password":"Ej0Phee7gee"},"district":"4fd43cc56d11340000000005","dob":"10/19/2004","ell_status":"N","email":"charles_g@example.org","frl_status":"Paid","gender":"M","grade":"3","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:44.702Z","location":{"zip":"10034"},"name":{"first":"Charles","middle":"E","last":"Green"},"race":"American
|
232
238
|
Indian","school":"530e595026403103360ff9fe","sis_id":"984969475","state_id":"748235571","student_number":"984969475","id":"530e5968049e75a9262d063e"},"uri":"/v1.1/students/530e5968049e75a9262d063e"}],"paging":{"current":1,"total":1,"count":22},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/students"}]}'
|
233
239
|
http_version:
|
234
|
-
recorded_at:
|
240
|
+
recorded_at: Sat, 13 Sep 2014 00:07:38 GMT
|
235
241
|
- request:
|
236
242
|
method: get
|
237
|
-
uri: https://
|
243
|
+
uri: https://api.clever.com//v1.1/teachers/509fbd7ec474fab64a8e9d53/students
|
238
244
|
body:
|
239
245
|
encoding: US-ASCII
|
240
246
|
string: ''
|
@@ -243,6 +249,8 @@ http_interactions:
|
|
243
249
|
- ! '*/*; q=0.5, application/xml'
|
244
250
|
Accept-Encoding:
|
245
251
|
- gzip, deflate
|
252
|
+
Authorization:
|
253
|
+
- Bearer DEMO_TOKEN
|
246
254
|
User-Agent:
|
247
255
|
- Ruby
|
248
256
|
response:
|
@@ -259,7 +267,7 @@ http_interactions:
|
|
259
267
|
Content-Type:
|
260
268
|
- application/json; charset=utf-8
|
261
269
|
Date:
|
262
|
-
-
|
270
|
+
- Sat, 13 Sep 2014 00:07:39 GMT
|
263
271
|
Etag:
|
264
272
|
- ! '"-648838959"'
|
265
273
|
Server:
|
@@ -289,5 +297,5 @@ http_interactions:
|
|
289
297
|
or African American","school":"530e595026403103360ff9fe","sis_id":"984743266","state_id":"104522216","student_number":"984743266","id":"530e5968049e75a9262d063d"},"uri":"/v1.1/students/530e5968049e75a9262d063d"},{"data":{"created":"2014-02-26T21:15:20.575Z","credentials":{"district_username":"charlesg75","district_password":"Ej0Phee7gee"},"district":"4fd43cc56d11340000000005","dob":"10/19/2004","ell_status":"N","email":"charles_g@example.org","frl_status":"Paid","gender":"M","grade":"3","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:44.702Z","location":{"zip":"10034"},"name":{"first":"Charles","middle":"E","last":"Green"},"race":"American
|
290
298
|
Indian","school":"530e595026403103360ff9fe","sis_id":"984969475","state_id":"748235571","student_number":"984969475","id":"530e5968049e75a9262d063e"},"uri":"/v1.1/students/530e5968049e75a9262d063e"}],"paging":{"current":1,"total":1,"count":22},"links":[{"rel":"self","uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53/students"}]}'
|
291
299
|
http_version:
|
292
|
-
recorded_at:
|
293
|
-
recorded_with: VCR 2.
|
300
|
+
recorded_at: Sat, 13 Sep 2014 00:07:39 GMT
|
301
|
+
recorded_with: VCR 2.9.3
|