clever-ruby 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG.md +4 -0
  3. data/clever-ruby.gemspec +2 -1
  4. data/lib/clever-ruby/api_operations/list.rb +71 -0
  5. data/lib/clever-ruby/api_operations/nested_list.rb +49 -0
  6. data/lib/clever-ruby/api_operations/page.rb +16 -8
  7. data/lib/clever-ruby/version.rb +1 -1
  8. data/test/data/vcr_cassettes/{district_count.yml → Clever_APIOperations_List/counts_district_properly.yml} +6 -4
  9. data/test/data/vcr_cassettes/{event_count.yml → Clever_APIOperations_List/counts_event_properly.yml} +6 -4
  10. data/test/data/vcr_cassettes/{school_count.yml → Clever_APIOperations_List/counts_school_properly.yml} +6 -4
  11. data/test/data/vcr_cassettes/{section_count.yml → Clever_APIOperations_List/counts_section_properly.yml} +6 -4
  12. data/test/data/vcr_cassettes/{student_count.yml → Clever_APIOperations_List/counts_student_properly.yml} +6 -4
  13. data/test/data/vcr_cassettes/{teacher_count.yml → Clever_APIOperations_List/counts_teacher_properly.yml} +6 -4
  14. data/test/data/vcr_cassettes/{district_find_one.yml → Clever_APIOperations_List/finds_a_single_district.yml} +11 -7
  15. data/test/data/vcr_cassettes/{event_find_one.yml → Clever_APIOperations_List/finds_a_single_event.yml} +11 -7
  16. data/test/data/vcr_cassettes/{school_find_one.yml → Clever_APIOperations_List/finds_a_single_school.yml} +11 -7
  17. data/test/data/vcr_cassettes/{section_find_one.yml → Clever_APIOperations_List/finds_a_single_section.yml} +11 -7
  18. data/test/data/vcr_cassettes/{student_find_one.yml → Clever_APIOperations_List/finds_a_single_student.yml} +11 -7
  19. data/test/data/vcr_cassettes/{teacher_find_one.yml → Clever_APIOperations_List/finds_a_single_teacher.yml} +11 -7
  20. data/test/data/vcr_cassettes/{districts.yml → Clever_APIOperations_List/finds_districts_by_page.yml} +11 -7
  21. data/test/data/vcr_cassettes/{district_find_multiple.yml → Clever_APIOperations_List/finds_districts_with_multiple_ids.yml} +11 -7
  22. data/test/data/vcr_cassettes/{events.yml → Clever_APIOperations_List/finds_events_by_page.yml} +11 -7
  23. data/test/data/vcr_cassettes/{event_find_multiple.yml → Clever_APIOperations_List/finds_events_with_multiple_ids.yml} +11 -7
  24. data/test/data/vcr_cassettes/{schools.yml → Clever_APIOperations_List/finds_schools_by_page.yml} +11 -7
  25. data/test/data/vcr_cassettes/{school_find_multiple.yml → Clever_APIOperations_List/finds_schools_with_multiple_ids.yml} +11 -7
  26. data/test/data/vcr_cassettes/{section_find_by_page.yml → Clever_APIOperations_List/finds_sections_by_page.yml} +26 -16
  27. data/test/data/vcr_cassettes/{section_find_multiple.yml → Clever_APIOperations_List/finds_sections_with_multiple_ids.yml} +11 -7
  28. data/test/data/vcr_cassettes/{students.yml → Clever_APIOperations_List/finds_students_by_page.yml} +61 -37
  29. data/test/data/vcr_cassettes/{student_find_multiple.yml → Clever_APIOperations_List/finds_students_with_multiple_ids.yml} +11 -7
  30. data/test/data/vcr_cassettes/{teachers.yml → Clever_APIOperations_List/finds_teachers_by_page.yml} +11 -7
  31. data/test/data/vcr_cassettes/{teacher_find_multiple.yml → Clever_APIOperations_List/finds_teachers_with_multiple_ids.yml} +11 -7
  32. data/test/data/vcr_cassettes/{district_find_by_page.yml → Clever_APIOperations_List/retrieves_all_district.yml} +11 -7
  33. data/test/data/vcr_cassettes/{event_find_by_page.yml → Clever_APIOperations_List/retrieves_all_event.yml} +11 -7
  34. data/test/data/vcr_cassettes/{school_find_by_page.yml → Clever_APIOperations_List/retrieves_all_school.yml} +11 -7
  35. data/test/data/vcr_cassettes/{sections.yml → Clever_APIOperations_List/retrieves_all_section.yml} +26 -16
  36. data/test/data/vcr_cassettes/{student_find_by_page.yml → Clever_APIOperations_List/retrieves_all_student.yml} +61 -37
  37. data/test/data/vcr_cassettes/{teacher_find_by_page.yml → Clever_APIOperations_List/retrieves_all_teacher.yml} +11 -7
  38. data/test/data/vcr_cassettes/{districts_event_pages.yml → Clever_District/pages_methods/pages_a_district_s_events.yml} +56 -34
  39. data/test/data/vcr_cassettes/{districts_school_pages.yml → Clever_District/pages_methods/pages_a_district_s_schools.yml} +26 -16
  40. data/test/data/vcr_cassettes/{districts_section_pages.yml → Clever_District/pages_methods/pages_a_district_s_sections.yml} +206 -124
  41. data/test/data/vcr_cassettes/{districts_student_pages.yml → Clever_District/pages_methods/pages_a_district_s_students.yml} +121 -73
  42. data/test/data/vcr_cassettes/{districts_teacher_pages.yml → Clever_District/pages_methods/pages_a_district_s_teachers.yml} +61 -37
  43. data/test/data/vcr_cassettes/{district_events.yml → Clever_NestedResource/retrieves_a_district_s_events.yml} +21 -13
  44. data/test/data/vcr_cassettes/{district_schools.yml → Clever_NestedResource/retrieves_a_district_s_schools.yml} +21 -13
  45. data/test/data/vcr_cassettes/{district_sections.yml → Clever_NestedResource/retrieves_a_district_s_sections.yml} +51 -31
  46. data/test/data/vcr_cassettes/{district_students.yml → Clever_NestedResource/retrieves_a_district_s_students.yml} +121 -73
  47. data/test/data/vcr_cassettes/{district_teachers.yml → Clever_NestedResource/retrieves_a_district_s_teachers.yml} +21 -13
  48. data/test/data/vcr_cassettes/{school_district.yml → Clever_NestedResource/retrieves_a_school_s_district.yml} +16 -10
  49. data/test/data/vcr_cassettes/{school_events.yml → Clever_NestedResource/retrieves_a_school_s_events.yml} +21 -13
  50. data/test/data/vcr_cassettes/{school_sections.yml → Clever_NestedResource/retrieves_a_school_s_sections.yml} +31 -19
  51. data/test/data/vcr_cassettes/{school_students.yml → Clever_NestedResource/retrieves_a_school_s_students.yml} +61 -37
  52. data/test/data/vcr_cassettes/{school_teachers.yml → Clever_NestedResource/retrieves_a_school_s_teachers.yml} +21 -13
  53. data/test/data/vcr_cassettes/{section_district.yml → Clever_NestedResource/retrieves_a_section_s_district.yml} +16 -10
  54. data/test/data/vcr_cassettes/{section_events.yml → Clever_NestedResource/retrieves_a_section_s_events.yml} +21 -13
  55. data/test/data/vcr_cassettes/{section_school.yml → Clever_NestedResource/retrieves_a_section_s_school.yml} +16 -10
  56. data/test/data/vcr_cassettes/{section_students.yml → Clever_NestedResource/retrieves_a_section_s_students.yml} +21 -13
  57. data/test/data/vcr_cassettes/{section_teacher.yml → Clever_NestedResource/retrieves_a_section_s_teacher.yml} +16 -10
  58. data/test/data/vcr_cassettes/{student_district.yml → Clever_NestedResource/retrieves_a_student_s_district.yml} +16 -10
  59. data/test/data/vcr_cassettes/{student_events.yml → Clever_NestedResource/retrieves_a_student_s_events.yml} +21 -13
  60. data/test/data/vcr_cassettes/{student_school.yml → Clever_NestedResource/retrieves_a_student_s_school.yml} +16 -10
  61. data/test/data/vcr_cassettes/{student_sections.yml → Clever_NestedResource/retrieves_a_student_s_sections.yml} +21 -13
  62. data/test/data/vcr_cassettes/{student_teachers.yml → Clever_NestedResource/retrieves_a_student_s_teachers.yml} +21 -13
  63. data/test/data/vcr_cassettes/{teacher_district.yml → Clever_NestedResource/retrieves_a_teacher_s_district.yml} +16 -10
  64. data/test/data/vcr_cassettes/{teacher_events.yml → Clever_NestedResource/retrieves_a_teacher_s_events.yml} +21 -13
  65. data/test/data/vcr_cassettes/{teacher_school.yml → Clever_NestedResource/retrieves_a_teacher_s_school.yml} +16 -10
  66. data/test/data/vcr_cassettes/{teacher_sections.yml → Clever_NestedResource/retrieves_a_teacher_s_sections.yml} +21 -13
  67. data/test/data/vcr_cassettes/{teacher_students.yml → Clever_NestedResource/retrieves_a_teacher_s_students.yml} +21 -13
  68. data/test/data/vcr_cassettes/{error_handling.yml → Error_handling/raises_an_InvalidRequestError_when_given_a_bad_created_since.yml} +16 -10
  69. data/test/data/vcr_cassettes/Optional_attributes/has_the_expected_value_for_an_optional_attribute_that_is_present.yml +49 -0
  70. data/test/data/vcr_cassettes/last_method/page/has_working_first_and_last_methods.yml +719 -0
  71. data/test/data/vcr_cassettes/last_method/resource/has_working_first_and_last_methods.yml +648 -0
  72. data/test/integration/api_operations/list_test.rb +40 -50
  73. data/test/integration/district_test.rb +13 -15
  74. data/test/integration/error_handling_test.rb +6 -8
  75. data/test/integration/last_test.rb +70 -0
  76. data/test/integration/nested_resource_test.rb +7 -9
  77. data/test/test_helper.rb +3 -0
  78. data/test/unit/clever_test.rb +1 -1
  79. data/test/unit/configuration_test.rb +6 -0
  80. data/test/unit/optional_attributes_test.rb +4 -10
  81. metadata +147 -129
  82. data/test/data/vcr_cassettes/schools_optional_attributes.yml +0 -55
  83. data/test/data/vcr_cassettes/student_teacher.yml +0 -161
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students
5
+ uri: https://api.clever.com/v1.1/students
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Authorization:
15
+ - Bearer DEMO_TOKEN
14
16
  User-Agent:
15
17
  - Ruby
16
18
  response:
@@ -27,7 +29,7 @@ http_interactions:
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Date:
30
- - Fri, 12 Sep 2014 20:48:03 GMT
32
+ - Sat, 13 Sep 2014 00:07:39 GMT
31
33
  Etag:
32
34
  - ! '"-1704869160"'
33
35
  Server:
@@ -113,10 +115,10 @@ http_interactions:
113
115
  or More Races","school":"530e595026403103360ff9ff","sis_id":"189422359","state_id":"949395711","student_number":"189422359","id":"530e5961049e75a9262cffe3"},"uri":"/v1.1/students/530e5961049e75a9262cffe3"},{"data":{"created":"2014-02-26T21:15:13.206Z","credentials":{"district_username":"mial61","district_password":"uka5Hixae"},"district":"4fd43cc56d11340000000005","dob":"11/10/2002","ell_status":"N","email":"l_mia@example.org","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.072Z","location":{"zip":"10002"},"name":{"first":"Mia","middle":"J","last":"Lindgren"},"race":"Black
114
116
  or African American","school":"530e595026403103360ff9fe","sis_id":"189492161","state_id":"661166974","student_number":"189492161","id":"530e5961049e75a9262cffe4"},"uri":"/v1.1/students/530e5961049e75a9262cffe4"}],"paging":{"current":1,"total":11,"count":1004},"links":[{"rel":"self","uri":"/v1.1/students"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"}]}'
115
117
  http_version:
116
- recorded_at: Fri, 12 Sep 2014 20:48:03 GMT
118
+ recorded_at: Sat, 13 Sep 2014 00:07:39 GMT
117
119
  - request:
118
120
  method: get
119
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students/530e5960049e75a9262cff1d
121
+ uri: https://api.clever.com/v1.1/students/530e5960049e75a9262cff1d
120
122
  body:
121
123
  encoding: US-ASCII
122
124
  string: ''
@@ -125,6 +127,8 @@ http_interactions:
125
127
  - ! '*/*; q=0.5, application/xml'
126
128
  Accept-Encoding:
127
129
  - gzip, deflate
130
+ Authorization:
131
+ - Bearer DEMO_TOKEN
128
132
  User-Agent:
129
133
  - Ruby
130
134
  response:
@@ -141,7 +145,7 @@ http_interactions:
141
145
  Content-Type:
142
146
  - application/json; charset=utf-8
143
147
  Date:
144
- - Fri, 12 Sep 2014 20:48:03 GMT
148
+ - Sat, 13 Sep 2014 00:07:39 GMT
145
149
  Etag:
146
150
  - ! '"1850740737"'
147
151
  Server:
@@ -157,10 +161,10 @@ http_interactions:
157
161
  string: ! '{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
158
162
  or African American","school":"530e595026403103360ff9fe","sis_id":"100095233","state_id":"231786324","student_number":"100095233","id":"530e5960049e75a9262cff1d"},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d"},{"rel":"district","uri":"/v1.1/students/530e5960049e75a9262cff1d/district"},{"rel":"sections","uri":"/v1.1/students/530e5960049e75a9262cff1d/sections"},{"rel":"school","uri":"/v1.1/students/530e5960049e75a9262cff1d/school"},{"rel":"teachers","uri":"/v1.1/students/530e5960049e75a9262cff1d/teachers"},{"rel":"contacts","uri":"/v1.1/students/530e5960049e75a9262cff1d/contacts"},{"rel":"events","uri":"/v1.1/students/530e5960049e75a9262cff1d/events"}]}'
159
163
  http_version:
160
- recorded_at: Fri, 12 Sep 2014 20:48:03 GMT
164
+ recorded_at: Sat, 13 Sep 2014 00:07:39 GMT
161
165
  - request:
162
166
  method: get
163
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students/530e5960049e75a9262cff1d/district
167
+ uri: https://api.clever.com//v1.1/students/530e5960049e75a9262cff1d/district
164
168
  body:
165
169
  encoding: US-ASCII
166
170
  string: ''
@@ -169,6 +173,8 @@ http_interactions:
169
173
  - ! '*/*; q=0.5, application/xml'
170
174
  Accept-Encoding:
171
175
  - gzip, deflate
176
+ Authorization:
177
+ - Bearer DEMO_TOKEN
172
178
  User-Agent:
173
179
  - Ruby
174
180
  response:
@@ -185,7 +191,7 @@ http_interactions:
185
191
  Content-Type:
186
192
  - application/json; charset=utf-8
187
193
  Date:
188
- - Fri, 12 Sep 2014 20:48:04 GMT
194
+ - Sat, 13 Sep 2014 00:07:39 GMT
189
195
  Server:
190
196
  - nginx/1.4.7
191
197
  X-Powered-By:
@@ -198,5 +204,5 @@ http_interactions:
198
204
  encoding: US-ASCII
199
205
  string: ! '{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005"}]}'
200
206
  http_version:
201
- recorded_at: Fri, 12 Sep 2014 20:48:04 GMT
202
- recorded_with: VCR 2.4.0
207
+ recorded_at: Sat, 13 Sep 2014 00:07:39 GMT
208
+ recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students
5
+ uri: https://api.clever.com/v1.1/students
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Authorization:
15
+ - Bearer DEMO_TOKEN
14
16
  User-Agent:
15
17
  - Ruby
16
18
  response:
@@ -27,7 +29,7 @@ http_interactions:
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Date:
30
- - Fri, 12 Sep 2014 20:48:02 GMT
32
+ - Sat, 13 Sep 2014 00:07:50 GMT
31
33
  Etag:
32
34
  - ! '"-1704869160"'
33
35
  Server:
@@ -113,10 +115,10 @@ http_interactions:
113
115
  or More Races","school":"530e595026403103360ff9ff","sis_id":"189422359","state_id":"949395711","student_number":"189422359","id":"530e5961049e75a9262cffe3"},"uri":"/v1.1/students/530e5961049e75a9262cffe3"},{"data":{"created":"2014-02-26T21:15:13.206Z","credentials":{"district_username":"mial61","district_password":"uka5Hixae"},"district":"4fd43cc56d11340000000005","dob":"11/10/2002","ell_status":"N","email":"l_mia@example.org","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.072Z","location":{"zip":"10002"},"name":{"first":"Mia","middle":"J","last":"Lindgren"},"race":"Black
114
116
  or African American","school":"530e595026403103360ff9fe","sis_id":"189492161","state_id":"661166974","student_number":"189492161","id":"530e5961049e75a9262cffe4"},"uri":"/v1.1/students/530e5961049e75a9262cffe4"}],"paging":{"current":1,"total":11,"count":1004},"links":[{"rel":"self","uri":"/v1.1/students"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"}]}'
115
117
  http_version:
116
- recorded_at: Fri, 12 Sep 2014 20:48:02 GMT
118
+ recorded_at: Sat, 13 Sep 2014 00:07:50 GMT
117
119
  - request:
118
120
  method: get
119
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students/530e5960049e75a9262cff1d
121
+ uri: https://api.clever.com/v1.1/students/530e5960049e75a9262cff1d
120
122
  body:
121
123
  encoding: US-ASCII
122
124
  string: ''
@@ -125,6 +127,8 @@ http_interactions:
125
127
  - ! '*/*; q=0.5, application/xml'
126
128
  Accept-Encoding:
127
129
  - gzip, deflate
130
+ Authorization:
131
+ - Bearer DEMO_TOKEN
128
132
  User-Agent:
129
133
  - Ruby
130
134
  response:
@@ -141,7 +145,7 @@ http_interactions:
141
145
  Content-Type:
142
146
  - application/json; charset=utf-8
143
147
  Date:
144
- - Fri, 12 Sep 2014 20:48:03 GMT
148
+ - Sat, 13 Sep 2014 00:07:50 GMT
145
149
  Etag:
146
150
  - ! '"1850740737"'
147
151
  Server:
@@ -157,10 +161,10 @@ http_interactions:
157
161
  string: ! '{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
158
162
  or African American","school":"530e595026403103360ff9fe","sis_id":"100095233","state_id":"231786324","student_number":"100095233","id":"530e5960049e75a9262cff1d"},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d"},{"rel":"district","uri":"/v1.1/students/530e5960049e75a9262cff1d/district"},{"rel":"sections","uri":"/v1.1/students/530e5960049e75a9262cff1d/sections"},{"rel":"school","uri":"/v1.1/students/530e5960049e75a9262cff1d/school"},{"rel":"teachers","uri":"/v1.1/students/530e5960049e75a9262cff1d/teachers"},{"rel":"contacts","uri":"/v1.1/students/530e5960049e75a9262cff1d/contacts"},{"rel":"events","uri":"/v1.1/students/530e5960049e75a9262cff1d/events"}]}'
159
163
  http_version:
160
- recorded_at: Fri, 12 Sep 2014 20:48:03 GMT
164
+ recorded_at: Sat, 13 Sep 2014 00:07:50 GMT
161
165
  - request:
162
166
  method: get
163
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students/530e5960049e75a9262cff1d/events
167
+ uri: https://api.clever.com//v1.1/students/530e5960049e75a9262cff1d/events
164
168
  body:
165
169
  encoding: US-ASCII
166
170
  string: ''
@@ -169,6 +173,8 @@ http_interactions:
169
173
  - ! '*/*; q=0.5, application/xml'
170
174
  Accept-Encoding:
171
175
  - gzip, deflate
176
+ Authorization:
177
+ - Bearer DEMO_TOKEN
172
178
  User-Agent:
173
179
  - Ruby
174
180
  response:
@@ -185,7 +191,7 @@ http_interactions:
185
191
  Content-Type:
186
192
  - application/json; charset=utf-8
187
193
  Date:
188
- - Fri, 12 Sep 2014 20:48:03 GMT
194
+ - Sat, 13 Sep 2014 00:07:50 GMT
189
195
  Server:
190
196
  - nginx/1.4.7
191
197
  X-Powered-By:
@@ -198,10 +204,10 @@ http_interactions:
198
204
  encoding: US-ASCII
199
205
  string: ! '{"data":[],"paging":{"current":0,"total":0,"count":0},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d/events"}]}'
200
206
  http_version:
201
- recorded_at: Fri, 12 Sep 2014 20:48:03 GMT
207
+ recorded_at: Sat, 13 Sep 2014 00:07:50 GMT
202
208
  - request:
203
209
  method: get
204
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students/530e5960049e75a9262cff1d/events
210
+ uri: https://api.clever.com//v1.1/students/530e5960049e75a9262cff1d/events
205
211
  body:
206
212
  encoding: US-ASCII
207
213
  string: ''
@@ -210,6 +216,8 @@ http_interactions:
210
216
  - ! '*/*; q=0.5, application/xml'
211
217
  Accept-Encoding:
212
218
  - gzip, deflate
219
+ Authorization:
220
+ - Bearer DEMO_TOKEN
213
221
  User-Agent:
214
222
  - Ruby
215
223
  response:
@@ -226,7 +234,7 @@ http_interactions:
226
234
  Content-Type:
227
235
  - application/json; charset=utf-8
228
236
  Date:
229
- - Fri, 12 Sep 2014 20:48:03 GMT
237
+ - Sat, 13 Sep 2014 00:07:50 GMT
230
238
  Server:
231
239
  - nginx/1.4.7
232
240
  X-Powered-By:
@@ -239,5 +247,5 @@ http_interactions:
239
247
  encoding: US-ASCII
240
248
  string: ! '{"data":[],"paging":{"current":0,"total":0,"count":0},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d/events"}]}'
241
249
  http_version:
242
- recorded_at: Fri, 12 Sep 2014 20:48:03 GMT
243
- recorded_with: VCR 2.4.0
250
+ recorded_at: Sat, 13 Sep 2014 00:07:50 GMT
251
+ recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students
5
+ uri: https://api.clever.com/v1.1/students
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Authorization:
15
+ - Bearer DEMO_TOKEN
14
16
  User-Agent:
15
17
  - Ruby
16
18
  response:
@@ -27,7 +29,7 @@ http_interactions:
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Date:
30
- - Fri, 12 Sep 2014 20:48:13 GMT
32
+ - Sat, 13 Sep 2014 00:07:44 GMT
31
33
  Etag:
32
34
  - ! '"-1704869160"'
33
35
  Server:
@@ -113,10 +115,10 @@ http_interactions:
113
115
  or More Races","school":"530e595026403103360ff9ff","sis_id":"189422359","state_id":"949395711","student_number":"189422359","id":"530e5961049e75a9262cffe3"},"uri":"/v1.1/students/530e5961049e75a9262cffe3"},{"data":{"created":"2014-02-26T21:15:13.206Z","credentials":{"district_username":"mial61","district_password":"uka5Hixae"},"district":"4fd43cc56d11340000000005","dob":"11/10/2002","ell_status":"N","email":"l_mia@example.org","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.072Z","location":{"zip":"10002"},"name":{"first":"Mia","middle":"J","last":"Lindgren"},"race":"Black
114
116
  or African American","school":"530e595026403103360ff9fe","sis_id":"189492161","state_id":"661166974","student_number":"189492161","id":"530e5961049e75a9262cffe4"},"uri":"/v1.1/students/530e5961049e75a9262cffe4"}],"paging":{"current":1,"total":11,"count":1004},"links":[{"rel":"self","uri":"/v1.1/students"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"}]}'
115
117
  http_version:
116
- recorded_at: Fri, 12 Sep 2014 20:48:13 GMT
118
+ recorded_at: Sat, 13 Sep 2014 00:07:44 GMT
117
119
  - request:
118
120
  method: get
119
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students/530e5960049e75a9262cff1d
121
+ uri: https://api.clever.com/v1.1/students/530e5960049e75a9262cff1d
120
122
  body:
121
123
  encoding: US-ASCII
122
124
  string: ''
@@ -125,6 +127,8 @@ http_interactions:
125
127
  - ! '*/*; q=0.5, application/xml'
126
128
  Accept-Encoding:
127
129
  - gzip, deflate
130
+ Authorization:
131
+ - Bearer DEMO_TOKEN
128
132
  User-Agent:
129
133
  - Ruby
130
134
  response:
@@ -141,7 +145,7 @@ http_interactions:
141
145
  Content-Type:
142
146
  - application/json; charset=utf-8
143
147
  Date:
144
- - Fri, 12 Sep 2014 20:48:13 GMT
148
+ - Sat, 13 Sep 2014 00:07:44 GMT
145
149
  Etag:
146
150
  - ! '"1850740737"'
147
151
  Server:
@@ -157,10 +161,10 @@ http_interactions:
157
161
  string: ! '{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
158
162
  or African American","school":"530e595026403103360ff9fe","sis_id":"100095233","state_id":"231786324","student_number":"100095233","id":"530e5960049e75a9262cff1d"},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d"},{"rel":"district","uri":"/v1.1/students/530e5960049e75a9262cff1d/district"},{"rel":"sections","uri":"/v1.1/students/530e5960049e75a9262cff1d/sections"},{"rel":"school","uri":"/v1.1/students/530e5960049e75a9262cff1d/school"},{"rel":"teachers","uri":"/v1.1/students/530e5960049e75a9262cff1d/teachers"},{"rel":"contacts","uri":"/v1.1/students/530e5960049e75a9262cff1d/contacts"},{"rel":"events","uri":"/v1.1/students/530e5960049e75a9262cff1d/events"}]}'
159
163
  http_version:
160
- recorded_at: Fri, 12 Sep 2014 20:48:13 GMT
164
+ recorded_at: Sat, 13 Sep 2014 00:07:44 GMT
161
165
  - request:
162
166
  method: get
163
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students/530e5960049e75a9262cff1d/school
167
+ uri: https://api.clever.com//v1.1/students/530e5960049e75a9262cff1d/school
164
168
  body:
165
169
  encoding: US-ASCII
166
170
  string: ''
@@ -169,6 +173,8 @@ http_interactions:
169
173
  - ! '*/*; q=0.5, application/xml'
170
174
  Accept-Encoding:
171
175
  - gzip, deflate
176
+ Authorization:
177
+ - Bearer DEMO_TOKEN
172
178
  User-Agent:
173
179
  - Ruby
174
180
  response:
@@ -185,7 +191,7 @@ http_interactions:
185
191
  Content-Type:
186
192
  - application/json; charset=utf-8
187
193
  Date:
188
- - Fri, 12 Sep 2014 20:48:14 GMT
194
+ - Sat, 13 Sep 2014 00:07:44 GMT
189
195
  Server:
190
196
  - nginx/1.4.7
191
197
  X-Powered-By:
@@ -201,5 +207,5 @@ http_interactions:
201
207
  Elementary School","nces_id":"360007000000","phone":"(718) 555-4567","principal":{"name":"Cecilia
202
208
  Roderick","email":"ceciliar@mailinator.com"},"school_number":"13K123","sis_id":"13K123","state_id":"30890","id":"530e595026403103360ff9fe"},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9fe"}]}'
203
209
  http_version:
204
- recorded_at: Fri, 12 Sep 2014 20:48:14 GMT
205
- recorded_with: VCR 2.4.0
210
+ recorded_at: Sat, 13 Sep 2014 00:07:44 GMT
211
+ recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students
5
+ uri: https://api.clever.com/v1.1/students
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Authorization:
15
+ - Bearer DEMO_TOKEN
14
16
  User-Agent:
15
17
  - Ruby
16
18
  response:
@@ -27,7 +29,7 @@ http_interactions:
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Date:
30
- - Fri, 12 Sep 2014 20:48:01 GMT
32
+ - Sat, 13 Sep 2014 00:07:36 GMT
31
33
  Etag:
32
34
  - ! '"-1704869160"'
33
35
  Server:
@@ -113,10 +115,10 @@ http_interactions:
113
115
  or More Races","school":"530e595026403103360ff9ff","sis_id":"189422359","state_id":"949395711","student_number":"189422359","id":"530e5961049e75a9262cffe3"},"uri":"/v1.1/students/530e5961049e75a9262cffe3"},{"data":{"created":"2014-02-26T21:15:13.206Z","credentials":{"district_username":"mial61","district_password":"uka5Hixae"},"district":"4fd43cc56d11340000000005","dob":"11/10/2002","ell_status":"N","email":"l_mia@example.org","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.072Z","location":{"zip":"10002"},"name":{"first":"Mia","middle":"J","last":"Lindgren"},"race":"Black
114
116
  or African American","school":"530e595026403103360ff9fe","sis_id":"189492161","state_id":"661166974","student_number":"189492161","id":"530e5961049e75a9262cffe4"},"uri":"/v1.1/students/530e5961049e75a9262cffe4"}],"paging":{"current":1,"total":11,"count":1004},"links":[{"rel":"self","uri":"/v1.1/students"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"}]}'
115
117
  http_version:
116
- recorded_at: Fri, 12 Sep 2014 20:48:01 GMT
118
+ recorded_at: Sat, 13 Sep 2014 00:07:36 GMT
117
119
  - request:
118
120
  method: get
119
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students/530e5960049e75a9262cff1d
121
+ uri: https://api.clever.com/v1.1/students/530e5960049e75a9262cff1d
120
122
  body:
121
123
  encoding: US-ASCII
122
124
  string: ''
@@ -125,6 +127,8 @@ http_interactions:
125
127
  - ! '*/*; q=0.5, application/xml'
126
128
  Accept-Encoding:
127
129
  - gzip, deflate
130
+ Authorization:
131
+ - Bearer DEMO_TOKEN
128
132
  User-Agent:
129
133
  - Ruby
130
134
  response:
@@ -141,7 +145,7 @@ http_interactions:
141
145
  Content-Type:
142
146
  - application/json; charset=utf-8
143
147
  Date:
144
- - Fri, 12 Sep 2014 20:48:02 GMT
148
+ - Sat, 13 Sep 2014 00:07:36 GMT
145
149
  Etag:
146
150
  - ! '"1850740737"'
147
151
  Server:
@@ -157,10 +161,10 @@ http_interactions:
157
161
  string: ! '{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
158
162
  or African American","school":"530e595026403103360ff9fe","sis_id":"100095233","state_id":"231786324","student_number":"100095233","id":"530e5960049e75a9262cff1d"},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d"},{"rel":"district","uri":"/v1.1/students/530e5960049e75a9262cff1d/district"},{"rel":"sections","uri":"/v1.1/students/530e5960049e75a9262cff1d/sections"},{"rel":"school","uri":"/v1.1/students/530e5960049e75a9262cff1d/school"},{"rel":"teachers","uri":"/v1.1/students/530e5960049e75a9262cff1d/teachers"},{"rel":"contacts","uri":"/v1.1/students/530e5960049e75a9262cff1d/contacts"},{"rel":"events","uri":"/v1.1/students/530e5960049e75a9262cff1d/events"}]}'
159
163
  http_version:
160
- recorded_at: Fri, 12 Sep 2014 20:48:02 GMT
164
+ recorded_at: Sat, 13 Sep 2014 00:07:36 GMT
161
165
  - request:
162
166
  method: get
163
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students/530e5960049e75a9262cff1d/sections
167
+ uri: https://api.clever.com//v1.1/students/530e5960049e75a9262cff1d/sections
164
168
  body:
165
169
  encoding: US-ASCII
166
170
  string: ''
@@ -169,6 +173,8 @@ http_interactions:
169
173
  - ! '*/*; q=0.5, application/xml'
170
174
  Accept-Encoding:
171
175
  - gzip, deflate
176
+ Authorization:
177
+ - Bearer DEMO_TOKEN
172
178
  User-Agent:
173
179
  - Ruby
174
180
  response:
@@ -185,7 +191,7 @@ http_interactions:
185
191
  Content-Type:
186
192
  - application/json; charset=utf-8
187
193
  Date:
188
- - Fri, 12 Sep 2014 20:48:02 GMT
194
+ - Sat, 13 Sep 2014 00:07:36 GMT
189
195
  Etag:
190
196
  - ! '"-1121195810"'
191
197
  Server:
@@ -211,10 +217,10 @@ http_interactions:
211
217
  Science, Class 002","course_number":"2","created":"2014-02-26T21:15:39.181Z","district":"4fd43cc56d11340000000005","grade":"Kindergarten","last_modified":"2014-08-28T18:01:01.917Z","name":"Kindergarten
212
218
  Science, Class 002 - 002 - S. Schoen","period":"3","school":"530e595026403103360ff9fe","sis_id":"865","students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"subject":"science","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01T00:00:00.000Z","end_date":"2013-06-01T00:00:00.000Z"},"id":"530e597b049e75a9262d0c0e"},"uri":"/v1.1/sections/530e597b049e75a9262d0c0e"}],"paging":{"current":1,"total":1,"count":5},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d/sections"}]}'
213
219
  http_version:
214
- recorded_at: Fri, 12 Sep 2014 20:48:02 GMT
220
+ recorded_at: Sat, 13 Sep 2014 00:07:36 GMT
215
221
  - request:
216
222
  method: get
217
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students/530e5960049e75a9262cff1d/sections
223
+ uri: https://api.clever.com//v1.1/students/530e5960049e75a9262cff1d/sections
218
224
  body:
219
225
  encoding: US-ASCII
220
226
  string: ''
@@ -223,6 +229,8 @@ http_interactions:
223
229
  - ! '*/*; q=0.5, application/xml'
224
230
  Accept-Encoding:
225
231
  - gzip, deflate
232
+ Authorization:
233
+ - Bearer DEMO_TOKEN
226
234
  User-Agent:
227
235
  - Ruby
228
236
  response:
@@ -239,7 +247,7 @@ http_interactions:
239
247
  Content-Type:
240
248
  - application/json; charset=utf-8
241
249
  Date:
242
- - Fri, 12 Sep 2014 20:48:02 GMT
250
+ - Sat, 13 Sep 2014 00:07:36 GMT
243
251
  Etag:
244
252
  - ! '"-1121195810"'
245
253
  Server:
@@ -265,5 +273,5 @@ http_interactions:
265
273
  Science, Class 002","course_number":"2","created":"2014-02-26T21:15:39.181Z","district":"4fd43cc56d11340000000005","grade":"Kindergarten","last_modified":"2014-08-28T18:01:01.917Z","name":"Kindergarten
266
274
  Science, Class 002 - 002 - S. Schoen","period":"3","school":"530e595026403103360ff9fe","sis_id":"865","students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"subject":"science","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01T00:00:00.000Z","end_date":"2013-06-01T00:00:00.000Z"},"id":"530e597b049e75a9262d0c0e"},"uri":"/v1.1/sections/530e597b049e75a9262d0c0e"}],"paging":{"current":1,"total":1,"count":5},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d/sections"}]}'
267
275
  http_version:
268
- recorded_at: Fri, 12 Sep 2014 20:48:02 GMT
269
- recorded_with: VCR 2.4.0
276
+ recorded_at: Sat, 13 Sep 2014 00:07:36 GMT
277
+ recorded_with: VCR 2.9.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students
5
+ uri: https://api.clever.com/v1.1/students
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,6 +11,8 @@ http_interactions:
11
11
  - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ Authorization:
15
+ - Bearer DEMO_TOKEN
14
16
  User-Agent:
15
17
  - Ruby
16
18
  response:
@@ -27,7 +29,7 @@ http_interactions:
27
29
  Content-Type:
28
30
  - application/json; charset=utf-8
29
31
  Date:
30
- - Fri, 12 Sep 2014 20:51:28 GMT
32
+ - Sat, 13 Sep 2014 00:07:45 GMT
31
33
  Etag:
32
34
  - ! '"-1704869160"'
33
35
  Server:
@@ -113,10 +115,10 @@ http_interactions:
113
115
  or More Races","school":"530e595026403103360ff9ff","sis_id":"189422359","state_id":"949395711","student_number":"189422359","id":"530e5961049e75a9262cffe3"},"uri":"/v1.1/students/530e5961049e75a9262cffe3"},{"data":{"created":"2014-02-26T21:15:13.206Z","credentials":{"district_username":"mial61","district_password":"uka5Hixae"},"district":"4fd43cc56d11340000000005","dob":"11/10/2002","ell_status":"N","email":"l_mia@example.org","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.072Z","location":{"zip":"10002"},"name":{"first":"Mia","middle":"J","last":"Lindgren"},"race":"Black
114
116
  or African American","school":"530e595026403103360ff9fe","sis_id":"189492161","state_id":"661166974","student_number":"189492161","id":"530e5961049e75a9262cffe4"},"uri":"/v1.1/students/530e5961049e75a9262cffe4"}],"paging":{"current":1,"total":11,"count":1004},"links":[{"rel":"self","uri":"/v1.1/students"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"}]}'
115
117
  http_version:
116
- recorded_at: Fri, 12 Sep 2014 20:51:28 GMT
118
+ recorded_at: Sat, 13 Sep 2014 00:07:45 GMT
117
119
  - request:
118
120
  method: get
119
- uri: https://DEMO_KEY:@api.clever.com/v1.1/students/530e5960049e75a9262cff1d
121
+ uri: https://api.clever.com/v1.1/students/530e5960049e75a9262cff1d
120
122
  body:
121
123
  encoding: US-ASCII
122
124
  string: ''
@@ -125,6 +127,8 @@ http_interactions:
125
127
  - ! '*/*; q=0.5, application/xml'
126
128
  Accept-Encoding:
127
129
  - gzip, deflate
130
+ Authorization:
131
+ - Bearer DEMO_TOKEN
128
132
  User-Agent:
129
133
  - Ruby
130
134
  response:
@@ -141,7 +145,7 @@ http_interactions:
141
145
  Content-Type:
142
146
  - application/json; charset=utf-8
143
147
  Date:
144
- - Fri, 12 Sep 2014 20:51:28 GMT
148
+ - Sat, 13 Sep 2014 00:07:45 GMT
145
149
  Etag:
146
150
  - ! '"1850740737"'
147
151
  Server:
@@ -157,10 +161,10 @@ http_interactions:
157
161
  string: ! '{"data":{"created":"2014-02-26T21:15:12.346Z","credentials":{"district_username":"stevez33","district_password":"auyik3tiTieL"},"district":"4fd43cc56d11340000000005","dob":"2/11/2007","ell_status":"N","email":"z.steve@example.net","frl_status":"Paid","gender":"M","grade":"Kindergarten","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:40.656Z","location":{"zip":"10459"},"name":{"first":"Steve","middle":"G","last":"Ziemann"},"race":"Black
158
162
  or African American","school":"530e595026403103360ff9fe","sis_id":"100095233","state_id":"231786324","student_number":"100095233","id":"530e5960049e75a9262cff1d"},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d"},{"rel":"district","uri":"/v1.1/students/530e5960049e75a9262cff1d/district"},{"rel":"sections","uri":"/v1.1/students/530e5960049e75a9262cff1d/sections"},{"rel":"school","uri":"/v1.1/students/530e5960049e75a9262cff1d/school"},{"rel":"teachers","uri":"/v1.1/students/530e5960049e75a9262cff1d/teachers"},{"rel":"contacts","uri":"/v1.1/students/530e5960049e75a9262cff1d/contacts"},{"rel":"events","uri":"/v1.1/students/530e5960049e75a9262cff1d/events"}]}'
159
163
  http_version:
160
- recorded_at: Fri, 12 Sep 2014 20:51:28 GMT
164
+ recorded_at: Sat, 13 Sep 2014 00:07:45 GMT
161
165
  - request:
162
166
  method: get
163
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students/530e5960049e75a9262cff1d/teachers
167
+ uri: https://api.clever.com//v1.1/students/530e5960049e75a9262cff1d/teachers
164
168
  body:
165
169
  encoding: US-ASCII
166
170
  string: ''
@@ -169,6 +173,8 @@ http_interactions:
169
173
  - ! '*/*; q=0.5, application/xml'
170
174
  Accept-Encoding:
171
175
  - gzip, deflate
176
+ Authorization:
177
+ - Bearer DEMO_TOKEN
172
178
  User-Agent:
173
179
  - Ruby
174
180
  response:
@@ -185,7 +191,7 @@ http_interactions:
185
191
  Content-Type:
186
192
  - application/json; charset=utf-8
187
193
  Date:
188
- - Fri, 12 Sep 2014 20:51:28 GMT
194
+ - Sat, 13 Sep 2014 00:07:45 GMT
189
195
  Server:
190
196
  - nginx/1.4.7
191
197
  X-Powered-By:
@@ -199,10 +205,10 @@ http_interactions:
199
205
  string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.475Z","credentials":{"district_username":"schoen.seth","district_password":"aiX0iayai"},"district":"4fd43cc56d11340000000005","email":"seth_schoen@example.org","last_modified":"2014-02-26T21:15:01.477Z","name":{"first":"Seth","middle":"C","last":"Schoen"},"school":"530e595026403103360ff9fe","sis_id":"69","teacher_number":"256742","title":"Kindergarten
200
206
  Teacher","id":"530e5955d50c310f36112c03"},"uri":"/v1.1/teachers/530e5955d50c310f36112c03"}],"paging":{"current":1,"total":1,"count":1},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d/teachers"}]}'
201
207
  http_version:
202
- recorded_at: Fri, 12 Sep 2014 20:51:28 GMT
208
+ recorded_at: Sat, 13 Sep 2014 00:07:45 GMT
203
209
  - request:
204
210
  method: get
205
- uri: https://DEMO_KEY:@api.clever.com//v1.1/students/530e5960049e75a9262cff1d/teachers
211
+ uri: https://api.clever.com//v1.1/students/530e5960049e75a9262cff1d/teachers
206
212
  body:
207
213
  encoding: US-ASCII
208
214
  string: ''
@@ -211,6 +217,8 @@ http_interactions:
211
217
  - ! '*/*; q=0.5, application/xml'
212
218
  Accept-Encoding:
213
219
  - gzip, deflate
220
+ Authorization:
221
+ - Bearer DEMO_TOKEN
214
222
  User-Agent:
215
223
  - Ruby
216
224
  response:
@@ -227,7 +235,7 @@ http_interactions:
227
235
  Content-Type:
228
236
  - application/json; charset=utf-8
229
237
  Date:
230
- - Fri, 12 Sep 2014 20:51:28 GMT
238
+ - Sat, 13 Sep 2014 00:07:45 GMT
231
239
  Server:
232
240
  - nginx/1.4.7
233
241
  X-Powered-By:
@@ -241,5 +249,5 @@ http_interactions:
241
249
  string: ! '{"data":[{"data":{"created":"2014-02-26T21:15:01.475Z","credentials":{"district_username":"schoen.seth","district_password":"aiX0iayai"},"district":"4fd43cc56d11340000000005","email":"seth_schoen@example.org","last_modified":"2014-02-26T21:15:01.477Z","name":{"first":"Seth","middle":"C","last":"Schoen"},"school":"530e595026403103360ff9fe","sis_id":"69","teacher_number":"256742","title":"Kindergarten
242
250
  Teacher","id":"530e5955d50c310f36112c03"},"uri":"/v1.1/teachers/530e5955d50c310f36112c03"}],"paging":{"current":1,"total":1,"count":1},"links":[{"rel":"self","uri":"/v1.1/students/530e5960049e75a9262cff1d/teachers"}]}'
243
251
  http_version:
244
- recorded_at: Fri, 12 Sep 2014 20:51:28 GMT
245
- recorded_with: VCR 2.4.0
252
+ recorded_at: Sat, 13 Sep 2014 00:07:45 GMT
253
+ recorded_with: VCR 2.9.3