commonlit-clever-ruby 2.1.3 → 2.1.6.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +27 -30
  3. data/Makefile +1 -1
  4. data/README.md +64 -65
  5. data/clever-ruby.gemspec +5 -5
  6. data/docs/Contact.md +1 -1
  7. data/docs/ContactsApi.md +231 -0
  8. data/docs/ContactsCreated.md +2 -2
  9. data/docs/ContactsDeleted.md +2 -2
  10. data/docs/ContactsUpdated.md +2 -2
  11. data/docs/Course.md +1 -1
  12. data/docs/CoursesApi.md +231 -0
  13. data/docs/CoursesCreated.md +2 -2
  14. data/docs/CoursesDeleted.md +2 -2
  15. data/docs/CoursesUpdated.md +2 -2
  16. data/docs/District.md +9 -9
  17. data/docs/DistrictAdmin.md +2 -2
  18. data/docs/DistrictAdminsApi.md +171 -0
  19. data/docs/DistrictadminsCreated.md +2 -2
  20. data/docs/DistrictadminsDeleted.md +2 -2
  21. data/docs/DistrictadminsUpdated.md +2 -2
  22. data/docs/DistrictsApi.md +113 -0
  23. data/docs/DistrictsCreated.md +2 -2
  24. data/docs/DistrictsDeleted.md +2 -2
  25. data/docs/DistrictsUpdated.md +2 -2
  26. data/docs/Event.md +2 -2
  27. data/docs/EventsApi.md +1 -1
  28. data/docs/Location.md +2 -2
  29. data/docs/Name.md +1 -1
  30. data/docs/Principal.md +1 -1
  31. data/docs/School.md +3 -3
  32. data/docs/SchoolAdmin.md +3 -3
  33. data/docs/SchoolAdminsApi.md +231 -0
  34. data/docs/SchoolEnrollment.md +1 -1
  35. data/docs/SchooladminsCreated.md +2 -2
  36. data/docs/SchooladminsDeleted.md +2 -2
  37. data/docs/SchooladminsUpdated.md +2 -2
  38. data/docs/SchoolsApi.md +351 -0
  39. data/docs/SchoolsCreated.md +2 -2
  40. data/docs/SchoolsDeleted.md +2 -2
  41. data/docs/SchoolsUpdated.md +2 -2
  42. data/docs/Section.md +2 -2
  43. data/docs/SectionsApi.md +499 -0
  44. data/docs/SectionsCreated.md +2 -2
  45. data/docs/SectionsDeleted.md +2 -2
  46. data/docs/SectionsUpdated.md +2 -2
  47. data/docs/Student.md +3 -3
  48. data/docs/StudentsApi.md +463 -0
  49. data/docs/StudentsCreated.md +2 -2
  50. data/docs/StudentsDeleted.md +2 -2
  51. data/docs/StudentsUpdated.md +2 -2
  52. data/docs/Teacher.md +2 -2
  53. data/docs/TeachersApi.md +403 -0
  54. data/docs/TeachersCreated.md +2 -2
  55. data/docs/TeachersDeleted.md +2 -2
  56. data/docs/TeachersUpdated.md +2 -2
  57. data/docs/Term.md +2 -2
  58. data/docs/TermsApi.md +231 -0
  59. data/docs/TermsCreated.md +2 -2
  60. data/docs/TermsDeleted.md +2 -2
  61. data/docs/TermsUpdated.md +2 -2
  62. data/full-v2.yml +2541 -0
  63. data/lib/clever-ruby/api/contacts_api.rb +241 -0
  64. data/lib/clever-ruby/api/courses_api.rb +241 -0
  65. data/lib/clever-ruby/api/district_admins_api.rb +182 -0
  66. data/lib/clever-ruby/api/districts_api.rb +123 -0
  67. data/lib/clever-ruby/api/events_api.rb +3 -3
  68. data/lib/clever-ruby/api/school_admins_api.rb +241 -0
  69. data/lib/clever-ruby/api/schools_api.rb +359 -0
  70. data/lib/clever-ruby/api/sections_api.rb +500 -0
  71. data/lib/clever-ruby/api/students_api.rb +468 -0
  72. data/lib/clever-ruby/api/teachers_api.rb +409 -0
  73. data/lib/clever-ruby/api/terms_api.rb +241 -0
  74. data/lib/clever-ruby/api_client.rb +1 -0
  75. data/lib/clever-ruby/api_error.rb +3 -3
  76. data/lib/clever-ruby/configuration.rb +4 -4
  77. data/lib/clever-ruby/models/admin_name.rb +3 -3
  78. data/lib/clever-ruby/models/bad_request.rb +3 -3
  79. data/lib/clever-ruby/models/contact.rb +13 -13
  80. data/lib/clever-ruby/models/contact_object.rb +3 -3
  81. data/lib/clever-ruby/models/contact_response.rb +3 -3
  82. data/lib/clever-ruby/models/contacts_response.rb +3 -3
  83. data/lib/clever-ruby/models/course.rb +16 -16
  84. data/lib/clever-ruby/models/course_object.rb +3 -3
  85. data/lib/clever-ruby/models/course_response.rb +3 -3
  86. data/lib/clever-ruby/models/courses_response.rb +3 -3
  87. data/lib/clever-ruby/models/credentials.rb +3 -3
  88. data/lib/clever-ruby/models/district.rb +71 -71
  89. data/lib/clever-ruby/models/district_admin.rb +25 -25
  90. data/lib/clever-ruby/models/district_admin_object.rb +3 -3
  91. data/lib/clever-ruby/models/district_admin_response.rb +3 -3
  92. data/lib/clever-ruby/models/district_admins_response.rb +3 -3
  93. data/lib/clever-ruby/models/district_object.rb +3 -3
  94. data/lib/clever-ruby/models/district_response.rb +3 -3
  95. data/lib/clever-ruby/models/districts_response.rb +3 -3
  96. data/lib/clever-ruby/models/event.rb +16 -16
  97. data/lib/clever-ruby/models/event_response.rb +3 -3
  98. data/lib/clever-ruby/models/events_response.rb +3 -3
  99. data/lib/clever-ruby/models/internal_error.rb +3 -3
  100. data/lib/clever-ruby/models/link.rb +3 -3
  101. data/lib/clever-ruby/models/location.rb +25 -25
  102. data/lib/clever-ruby/models/name.rb +16 -16
  103. data/lib/clever-ruby/models/not_found.rb +3 -3
  104. data/lib/clever-ruby/models/principal.rb +16 -16
  105. data/lib/clever-ruby/models/school.rb +34 -34
  106. data/lib/clever-ruby/models/school_admin.rb +34 -34
  107. data/lib/clever-ruby/models/school_admin_object.rb +3 -3
  108. data/lib/clever-ruby/models/school_admin_response.rb +3 -3
  109. data/lib/clever-ruby/models/school_admins_response.rb +3 -3
  110. data/lib/clever-ruby/models/school_enrollment.rb +16 -16
  111. data/lib/clever-ruby/models/school_object.rb +3 -3
  112. data/lib/clever-ruby/models/school_response.rb +3 -3
  113. data/lib/clever-ruby/models/schools_response.rb +3 -3
  114. data/lib/clever-ruby/models/section.rb +25 -25
  115. data/lib/clever-ruby/models/section_object.rb +3 -3
  116. data/lib/clever-ruby/models/section_response.rb +3 -3
  117. data/lib/clever-ruby/models/sections_response.rb +3 -3
  118. data/lib/clever-ruby/models/student.rb +49 -34
  119. data/lib/clever-ruby/models/student_object.rb +3 -3
  120. data/lib/clever-ruby/models/student_response.rb +3 -3
  121. data/lib/clever-ruby/models/students_response.rb +3 -3
  122. data/lib/clever-ruby/models/teacher.rb +25 -25
  123. data/lib/clever-ruby/models/teacher_object.rb +3 -3
  124. data/lib/clever-ruby/models/teacher_response.rb +3 -3
  125. data/lib/clever-ruby/models/teachers_response.rb +3 -3
  126. data/lib/clever-ruby/models/term.rb +25 -25
  127. data/lib/clever-ruby/models/term_object.rb +3 -3
  128. data/lib/clever-ruby/models/term_response.rb +3 -3
  129. data/lib/clever-ruby/models/terms_response.rb +3 -3
  130. data/lib/clever-ruby/version.rb +4 -4
  131. data/lib/clever-ruby.rb +13 -4
  132. data/override/README-extension.md +4 -5
  133. data/override/api_client.rb +1 -0
  134. data/override/override.sh +4 -5
  135. data/spec/api/contacts_api_spec.rb +84 -0
  136. data/spec/api/courses_api_spec.rb +84 -0
  137. data/spec/api/district_admins_api_spec.rb +70 -0
  138. data/spec/api/districts_api_spec.rb +56 -0
  139. data/spec/api/events_api_spec.rb +3 -4
  140. data/spec/api/school_admins_api_spec.rb +84 -0
  141. data/spec/api/schools_api_spec.rb +112 -0
  142. data/spec/api/sections_api_spec.rb +142 -0
  143. data/spec/api/students_api_spec.rb +137 -0
  144. data/spec/api/teachers_api_spec.rb +123 -0
  145. data/spec/api/terms_api_spec.rb +84 -0
  146. data/spec/api_client_spec.rb +3 -4
  147. data/spec/spec_helper.rb +25 -18
  148. metadata +48 -179
  149. data/docs/DataApi.md +0 -2852
  150. data/git_push.sh +0 -55
  151. data/lib/clever-ruby/api/data_api.rb +0 -2798
  152. data/spec/api/data_api_spec.rb +0 -671
  153. data/spec/configuration_spec.rb +0 -42
  154. data/spec/events.json +0 -227
  155. data/spec/models/bad_request_spec.rb +0 -41
  156. data/spec/models/contact_object_spec.rb +0 -41
  157. data/spec/models/contact_response_spec.rb +0 -41
  158. data/spec/models/contact_spec.rb +0 -107
  159. data/spec/models/contacts_created_spec.rb +0 -59
  160. data/spec/models/contacts_deleted_spec.rb +0 -59
  161. data/spec/models/contacts_response_spec.rb +0 -41
  162. data/spec/models/contacts_updated_spec.rb +0 -65
  163. data/spec/models/course_object_spec.rb +0 -41
  164. data/spec/models/course_response_spec.rb +0 -41
  165. data/spec/models/course_spec.rb +0 -59
  166. data/spec/models/courses_created_spec.rb +0 -59
  167. data/spec/models/courses_deleted_spec.rb +0 -59
  168. data/spec/models/courses_response_spec.rb +0 -41
  169. data/spec/models/courses_updated_spec.rb +0 -65
  170. data/spec/models/credentials_spec.rb +0 -41
  171. data/spec/models/district_admin_object_spec.rb +0 -41
  172. data/spec/models/district_admin_response_spec.rb +0 -41
  173. data/spec/models/district_admin_spec.rb +0 -65
  174. data/spec/models/district_admins_response_spec.rb +0 -41
  175. data/spec/models/district_object_spec.rb +0 -41
  176. data/spec/models/district_response_spec.rb +0 -41
  177. data/spec/models/district_spec.rb +0 -123
  178. data/spec/models/districtadmins_created_spec.rb +0 -59
  179. data/spec/models/districtadmins_deleted_spec.rb +0 -59
  180. data/spec/models/districtadmins_updated_spec.rb +0 -65
  181. data/spec/models/districts_created_spec.rb +0 -59
  182. data/spec/models/districts_deleted_spec.rb +0 -59
  183. data/spec/models/districts_response_spec.rb +0 -41
  184. data/spec/models/districts_updated_spec.rb +0 -65
  185. data/spec/models/event_response_spec.rb +0 -41
  186. data/spec/models/event_spec.rb +0 -53
  187. data/spec/models/events_response_spec.rb +0 -41
  188. data/spec/models/internal_error_spec.rb +0 -41
  189. data/spec/models/location_spec.rb +0 -71
  190. data/spec/models/name_spec.rb +0 -53
  191. data/spec/models/not_found_spec.rb +0 -41
  192. data/spec/models/principal_spec.rb +0 -47
  193. data/spec/models/school_admin_object_spec.rb +0 -41
  194. data/spec/models/school_admin_response_spec.rb +0 -41
  195. data/spec/models/school_admin_spec.rb +0 -95
  196. data/spec/models/school_admins_response_spec.rb +0 -41
  197. data/spec/models/school_enrollment_spec.rb +0 -53
  198. data/spec/models/school_object_spec.rb +0 -41
  199. data/spec/models/school_response_spec.rb +0 -41
  200. data/spec/models/school_spec.rb +0 -139
  201. data/spec/models/schooladmins_created_spec.rb +0 -59
  202. data/spec/models/schooladmins_deleted_spec.rb +0 -59
  203. data/spec/models/schooladmins_updated_spec.rb +0 -65
  204. data/spec/models/schools_created_spec.rb +0 -59
  205. data/spec/models/schools_deleted_spec.rb +0 -59
  206. data/spec/models/schools_response_spec.rb +0 -41
  207. data/spec/models/schools_updated_spec.rb +0 -65
  208. data/spec/models/section_object_spec.rb +0 -41
  209. data/spec/models/section_response_spec.rb +0 -41
  210. data/spec/models/section_spec.rb +0 -145
  211. data/spec/models/sections_created_spec.rb +0 -59
  212. data/spec/models/sections_deleted_spec.rb +0 -59
  213. data/spec/models/sections_response_spec.rb +0 -41
  214. data/spec/models/sections_updated_spec.rb +0 -65
  215. data/spec/models/student_object_spec.rb +0 -41
  216. data/spec/models/student_response_spec.rb +0 -41
  217. data/spec/models/student_spec.rb +0 -215
  218. data/spec/models/students_created_spec.rb +0 -59
  219. data/spec/models/students_deleted_spec.rb +0 -59
  220. data/spec/models/students_response_spec.rb +0 -41
  221. data/spec/models/students_updated_spec.rb +0 -65
  222. data/spec/models/teacher_object_spec.rb +0 -41
  223. data/spec/models/teacher_response_spec.rb +0 -41
  224. data/spec/models/teacher_spec.rb +0 -119
  225. data/spec/models/teachers_created_spec.rb +0 -59
  226. data/spec/models/teachers_deleted_spec.rb +0 -59
  227. data/spec/models/teachers_response_spec.rb +0 -41
  228. data/spec/models/teachers_updated_spec.rb +0 -65
  229. data/spec/models/term_object_spec.rb +0 -41
  230. data/spec/models/term_response_spec.rb +0 -41
  231. data/spec/models/term_spec.rb +0 -65
  232. data/spec/models/terms_created_spec.rb +0 -59
  233. data/spec/models/terms_deleted_spec.rb +0 -59
  234. data/spec/models/terms_response_spec.rb +0 -41
  235. data/spec/models/terms_updated_spec.rb +0 -65
  236. data/tags +0 -1681
@@ -1,671 +0,0 @@
1
- =begin
2
- #Clever API
3
-
4
- #The Clever API
5
-
6
- OpenAPI spec version: 2.1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.8
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for Clever::DataApi
17
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
- # Please update as you see appropriate
19
- describe 'DataApi' do
20
- before do
21
- # run before each test
22
- @instance = Clever::DataApi.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of DataApi' do
30
- it 'should create an instance of DataApi' do
31
- expect(@instance).to be_instance_of(Clever::DataApi)
32
- end
33
- end
34
-
35
- # unit tests for get_contact
36
- # Returns a specific student contact
37
- # @param id
38
- # @param [Hash] opts the optional parameters
39
- # @return [ContactResponse]
40
- describe 'get_contact test' do
41
- it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
- end
44
- end
45
-
46
- # unit tests for get_contacts
47
- # Returns a list of student contacts
48
- # @param [Hash] opts the optional parameters
49
- # @option opts [Integer] :limit
50
- # @option opts [String] :starting_after
51
- # @option opts [String] :ending_before
52
- # @option opts [String] :count
53
- # @return [ContactsResponse]
54
- describe 'get_contacts test' do
55
- it 'should work' do
56
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
- end
58
- end
59
-
60
- # unit tests for get_contacts_for_student
61
- # Returns the contacts for a student
62
- # @param id
63
- # @param [Hash] opts the optional parameters
64
- # @option opts [Integer] :limit
65
- # @option opts [String] :starting_after
66
- # @option opts [String] :ending_before
67
- # @return [ContactsResponse]
68
- describe 'get_contacts_for_student test' do
69
- it 'should work' do
70
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
- end
72
- end
73
-
74
- # unit tests for get_course
75
- # Returns a specific course
76
- # @param id
77
- # @param [Hash] opts the optional parameters
78
- # @return [CourseResponse]
79
- describe 'get_course test' do
80
- it 'should work' do
81
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
- end
83
- end
84
-
85
- # unit tests for get_course_for_section
86
- # Returns the course for a section
87
- # @param id
88
- # @param [Hash] opts the optional parameters
89
- # @return [CourseResponse]
90
- describe 'get_course_for_section test' do
91
- it 'should work' do
92
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
- end
94
- end
95
-
96
- # unit tests for get_courses
97
- # Returns a list of courses
98
- # @param [Hash] opts the optional parameters
99
- # @option opts [Integer] :limit
100
- # @option opts [String] :starting_after
101
- # @option opts [String] :ending_before
102
- # @option opts [String] :count
103
- # @return [CoursesResponse]
104
- describe 'get_courses test' do
105
- it 'should work' do
106
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
- end
108
- end
109
-
110
- # unit tests for get_district
111
- # Returns a specific district
112
- # @param id
113
- # @param [Hash] opts the optional parameters
114
- # @return [DistrictResponse]
115
- describe 'get_district test' do
116
- it 'should work' do
117
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
- end
119
- end
120
-
121
- # unit tests for get_district_admin
122
- # Returns a specific district admin
123
- # @param id
124
- # @param [Hash] opts the optional parameters
125
- # @return [DistrictAdminResponse]
126
- describe 'get_district_admin test' do
127
- it 'should work' do
128
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
129
- end
130
- end
131
-
132
- # unit tests for get_district_admins
133
- # Returns a list of district admins
134
- # @param [Hash] opts the optional parameters
135
- # @option opts [Integer] :limit
136
- # @option opts [String] :starting_after
137
- # @option opts [String] :ending_before
138
- # @option opts [String] :count
139
- # @return [DistrictAdminsResponse]
140
- describe 'get_district_admins test' do
141
- it 'should work' do
142
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
143
- end
144
- end
145
-
146
- # unit tests for get_district_for_contact
147
- # Returns the district for a student contact
148
- # @param id
149
- # @param [Hash] opts the optional parameters
150
- # @return [DistrictResponse]
151
- describe 'get_district_for_contact test' do
152
- it 'should work' do
153
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
154
- end
155
- end
156
-
157
- # unit tests for get_district_for_course
158
- # Returns the district for a course
159
- # @param id
160
- # @param [Hash] opts the optional parameters
161
- # @return [DistrictResponse]
162
- describe 'get_district_for_course test' do
163
- it 'should work' do
164
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
165
- end
166
- end
167
-
168
- # unit tests for get_district_for_district_admin
169
- # Returns the district for a district admin
170
- # @param id
171
- # @param [Hash] opts the optional parameters
172
- # @return [DistrictResponse]
173
- describe 'get_district_for_district_admin test' do
174
- it 'should work' do
175
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
- end
177
- end
178
-
179
- # unit tests for get_district_for_school
180
- # Returns the district for a school
181
- # @param id
182
- # @param [Hash] opts the optional parameters
183
- # @return [DistrictResponse]
184
- describe 'get_district_for_school test' do
185
- it 'should work' do
186
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
187
- end
188
- end
189
-
190
- # unit tests for get_district_for_school_admin
191
- # Returns the district for a school admin
192
- # @param id
193
- # @param [Hash] opts the optional parameters
194
- # @return [DistrictResponse]
195
- describe 'get_district_for_school_admin test' do
196
- it 'should work' do
197
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
198
- end
199
- end
200
-
201
- # unit tests for get_district_for_section
202
- # Returns the district for a section
203
- # @param id
204
- # @param [Hash] opts the optional parameters
205
- # @return [DistrictResponse]
206
- describe 'get_district_for_section test' do
207
- it 'should work' do
208
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
209
- end
210
- end
211
-
212
- # unit tests for get_district_for_student
213
- # Returns the district for a student
214
- # @param id
215
- # @param [Hash] opts the optional parameters
216
- # @return [DistrictResponse]
217
- describe 'get_district_for_student test' do
218
- it 'should work' do
219
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
220
- end
221
- end
222
-
223
- # unit tests for get_district_for_teacher
224
- # Returns the district for a teacher
225
- # @param id
226
- # @param [Hash] opts the optional parameters
227
- # @return [DistrictResponse]
228
- describe 'get_district_for_teacher test' do
229
- it 'should work' do
230
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
231
- end
232
- end
233
-
234
- # unit tests for get_district_for_term
235
- # Returns the district for a term
236
- # @param id
237
- # @param [Hash] opts the optional parameters
238
- # @return [DistrictResponse]
239
- describe 'get_district_for_term test' do
240
- it 'should work' do
241
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
242
- end
243
- end
244
-
245
- # unit tests for get_districts
246
- # Returns a list of districts
247
- # @param [Hash] opts the optional parameters
248
- # @option opts [String] :count
249
- # @return [DistrictsResponse]
250
- describe 'get_districts test' do
251
- it 'should work' do
252
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
253
- end
254
- end
255
-
256
- # unit tests for get_school
257
- # Returns a specific school
258
- # @param id
259
- # @param [Hash] opts the optional parameters
260
- # @return [SchoolResponse]
261
- describe 'get_school test' do
262
- it 'should work' do
263
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
264
- end
265
- end
266
-
267
- # unit tests for get_school_admin
268
- # Returns a specific school admin
269
- # @param id
270
- # @param [Hash] opts the optional parameters
271
- # @return [SchoolAdminResponse]
272
- describe 'get_school_admin test' do
273
- it 'should work' do
274
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
275
- end
276
- end
277
-
278
- # unit tests for get_school_admins
279
- # Returns a list of school admins
280
- # @param [Hash] opts the optional parameters
281
- # @option opts [Integer] :limit
282
- # @option opts [String] :starting_after
283
- # @option opts [String] :ending_before
284
- # @option opts [String] :count
285
- # @return [SchoolAdminsResponse]
286
- describe 'get_school_admins test' do
287
- it 'should work' do
288
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
289
- end
290
- end
291
-
292
- # unit tests for get_school_for_section
293
- # Returns the school for a section
294
- # @param id
295
- # @param [Hash] opts the optional parameters
296
- # @return [SchoolResponse]
297
- describe 'get_school_for_section test' do
298
- it 'should work' do
299
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
300
- end
301
- end
302
-
303
- # unit tests for get_school_for_student
304
- # Returns the primary school for a student
305
- # @param id
306
- # @param [Hash] opts the optional parameters
307
- # @return [SchoolResponse]
308
- describe 'get_school_for_student test' do
309
- it 'should work' do
310
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
311
- end
312
- end
313
-
314
- # unit tests for get_school_for_teacher
315
- # Retrieves school info for a teacher.
316
- # @param id
317
- # @param [Hash] opts the optional parameters
318
- # @return [SchoolResponse]
319
- describe 'get_school_for_teacher test' do
320
- it 'should work' do
321
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
322
- end
323
- end
324
-
325
- # unit tests for get_schools
326
- # Returns a list of schools
327
- # @param [Hash] opts the optional parameters
328
- # @option opts [Integer] :limit
329
- # @option opts [String] :starting_after
330
- # @option opts [String] :ending_before
331
- # @option opts [String] :count
332
- # @return [SchoolsResponse]
333
- describe 'get_schools test' do
334
- it 'should work' do
335
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
336
- end
337
- end
338
-
339
- # unit tests for get_schools_for_school_admin
340
- # Returns the schools for a school admin
341
- # @param id
342
- # @param [Hash] opts the optional parameters
343
- # @option opts [Integer] :limit
344
- # @option opts [String] :starting_after
345
- # @option opts [String] :ending_before
346
- # @return [SchoolsResponse]
347
- describe 'get_schools_for_school_admin test' do
348
- it 'should work' do
349
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
350
- end
351
- end
352
-
353
- # unit tests for get_schools_for_student
354
- # Returns the schools for a student
355
- # @param id
356
- # @param [Hash] opts the optional parameters
357
- # @option opts [Integer] :limit
358
- # @option opts [String] :starting_after
359
- # @option opts [String] :ending_before
360
- # @return [SchoolsResponse]
361
- describe 'get_schools_for_student test' do
362
- it 'should work' do
363
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
364
- end
365
- end
366
-
367
- # unit tests for get_schools_for_teacher
368
- # Returns the schools for a teacher
369
- # @param id
370
- # @param [Hash] opts the optional parameters
371
- # @option opts [Integer] :limit
372
- # @option opts [String] :starting_after
373
- # @option opts [String] :ending_before
374
- # @return [SchoolsResponse]
375
- describe 'get_schools_for_teacher test' do
376
- it 'should work' do
377
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
378
- end
379
- end
380
-
381
- # unit tests for get_section
382
- # Returns a specific section
383
- # @param id
384
- # @param [Hash] opts the optional parameters
385
- # @return [SectionResponse]
386
- describe 'get_section test' do
387
- it 'should work' do
388
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
389
- end
390
- end
391
-
392
- # unit tests for get_sections
393
- # Returns a list of sections
394
- # @param [Hash] opts the optional parameters
395
- # @option opts [Integer] :limit
396
- # @option opts [String] :starting_after
397
- # @option opts [String] :ending_before
398
- # @option opts [String] :count
399
- # @return [SectionsResponse]
400
- describe 'get_sections test' do
401
- it 'should work' do
402
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
403
- end
404
- end
405
-
406
- # unit tests for get_sections_for_course
407
- # Returns the sections for a Courses
408
- # @param id
409
- # @param [Hash] opts the optional parameters
410
- # @option opts [Integer] :limit
411
- # @option opts [String] :starting_after
412
- # @option opts [String] :ending_before
413
- # @return [SectionsResponse]
414
- describe 'get_sections_for_course test' do
415
- it 'should work' do
416
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
417
- end
418
- end
419
-
420
- # unit tests for get_sections_for_school
421
- # Returns the sections for a school
422
- # @param id
423
- # @param [Hash] opts the optional parameters
424
- # @option opts [Integer] :limit
425
- # @option opts [String] :starting_after
426
- # @option opts [String] :ending_before
427
- # @return [SectionsResponse]
428
- describe 'get_sections_for_school test' do
429
- it 'should work' do
430
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
431
- end
432
- end
433
-
434
- # unit tests for get_sections_for_student
435
- # Returns the sections for a student
436
- # @param id
437
- # @param [Hash] opts the optional parameters
438
- # @option opts [Integer] :limit
439
- # @option opts [String] :starting_after
440
- # @option opts [String] :ending_before
441
- # @return [SectionsResponse]
442
- describe 'get_sections_for_student test' do
443
- it 'should work' do
444
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
445
- end
446
- end
447
-
448
- # unit tests for get_sections_for_teacher
449
- # Returns the sections for a teacher
450
- # @param id
451
- # @param [Hash] opts the optional parameters
452
- # @option opts [Integer] :limit
453
- # @option opts [String] :starting_after
454
- # @option opts [String] :ending_before
455
- # @return [SectionsResponse]
456
- describe 'get_sections_for_teacher test' do
457
- it 'should work' do
458
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
459
- end
460
- end
461
-
462
- # unit tests for get_sections_for_term
463
- # Returns the sections for a term
464
- # @param id
465
- # @param [Hash] opts the optional parameters
466
- # @option opts [Integer] :limit
467
- # @option opts [String] :starting_after
468
- # @option opts [String] :ending_before
469
- # @return [SectionsResponse]
470
- describe 'get_sections_for_term test' do
471
- it 'should work' do
472
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
473
- end
474
- end
475
-
476
- # unit tests for get_student
477
- # Returns a specific student
478
- # @param id
479
- # @param [Hash] opts the optional parameters
480
- # @return [StudentResponse]
481
- describe 'get_student test' do
482
- it 'should work' do
483
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
484
- end
485
- end
486
-
487
- # unit tests for get_students
488
- # Returns a list of students
489
- # @param [Hash] opts the optional parameters
490
- # @option opts [Integer] :limit
491
- # @option opts [String] :starting_after
492
- # @option opts [String] :ending_before
493
- # @option opts [String] :count
494
- # @return [StudentsResponse]
495
- describe 'get_students test' do
496
- it 'should work' do
497
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
498
- end
499
- end
500
-
501
- # unit tests for get_students_for_contact
502
- # Returns the students for a student contact
503
- # @param id
504
- # @param [Hash] opts the optional parameters
505
- # @option opts [Integer] :limit
506
- # @option opts [String] :starting_after
507
- # @option opts [String] :ending_before
508
- # @return [StudentsResponse]
509
- describe 'get_students_for_contact test' do
510
- it 'should work' do
511
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
512
- end
513
- end
514
-
515
- # unit tests for get_students_for_school
516
- # Returns the students for a school
517
- # @param id
518
- # @param [Hash] opts the optional parameters
519
- # @option opts [Integer] :limit
520
- # @option opts [String] :starting_after
521
- # @option opts [String] :ending_before
522
- # @return [StudentsResponse]
523
- describe 'get_students_for_school test' do
524
- it 'should work' do
525
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
526
- end
527
- end
528
-
529
- # unit tests for get_students_for_section
530
- # Returns the students for a section
531
- # @param id
532
- # @param [Hash] opts the optional parameters
533
- # @option opts [Integer] :limit
534
- # @option opts [String] :starting_after
535
- # @option opts [String] :ending_before
536
- # @return [StudentsResponse]
537
- describe 'get_students_for_section test' do
538
- it 'should work' do
539
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
540
- end
541
- end
542
-
543
- # unit tests for get_students_for_teacher
544
- # Returns the students for a teacher
545
- # @param id
546
- # @param [Hash] opts the optional parameters
547
- # @option opts [Integer] :limit
548
- # @option opts [String] :starting_after
549
- # @option opts [String] :ending_before
550
- # @return [StudentsResponse]
551
- describe 'get_students_for_teacher test' do
552
- it 'should work' do
553
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
554
- end
555
- end
556
-
557
- # unit tests for get_teacher
558
- # Returns a specific teacher
559
- # @param id
560
- # @param [Hash] opts the optional parameters
561
- # @return [TeacherResponse]
562
- describe 'get_teacher test' do
563
- it 'should work' do
564
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
565
- end
566
- end
567
-
568
- # unit tests for get_teacher_for_section
569
- # Returns the primary teacher for a section
570
- # @param id
571
- # @param [Hash] opts the optional parameters
572
- # @return [TeacherResponse]
573
- describe 'get_teacher_for_section test' do
574
- it 'should work' do
575
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
576
- end
577
- end
578
-
579
- # unit tests for get_teachers
580
- # Returns a list of teachers
581
- # @param [Hash] opts the optional parameters
582
- # @option opts [Integer] :limit
583
- # @option opts [String] :starting_after
584
- # @option opts [String] :ending_before
585
- # @option opts [String] :count
586
- # @return [TeachersResponse]
587
- describe 'get_teachers test' do
588
- it 'should work' do
589
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
590
- end
591
- end
592
-
593
- # unit tests for get_teachers_for_school
594
- # Returns the teachers for a school
595
- # @param id
596
- # @param [Hash] opts the optional parameters
597
- # @option opts [Integer] :limit
598
- # @option opts [String] :starting_after
599
- # @option opts [String] :ending_before
600
- # @return [TeachersResponse]
601
- describe 'get_teachers_for_school test' do
602
- it 'should work' do
603
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
604
- end
605
- end
606
-
607
- # unit tests for get_teachers_for_section
608
- # Returns the teachers for a section
609
- # @param id
610
- # @param [Hash] opts the optional parameters
611
- # @option opts [Integer] :limit
612
- # @option opts [String] :starting_after
613
- # @option opts [String] :ending_before
614
- # @return [TeachersResponse]
615
- describe 'get_teachers_for_section test' do
616
- it 'should work' do
617
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
618
- end
619
- end
620
-
621
- # unit tests for get_teachers_for_student
622
- # Returns the teachers for a student
623
- # @param id
624
- # @param [Hash] opts the optional parameters
625
- # @option opts [Integer] :limit
626
- # @option opts [String] :starting_after
627
- # @option opts [String] :ending_before
628
- # @return [TeachersResponse]
629
- describe 'get_teachers_for_student test' do
630
- it 'should work' do
631
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
632
- end
633
- end
634
-
635
- # unit tests for get_term
636
- # Returns a specific term
637
- # @param id
638
- # @param [Hash] opts the optional parameters
639
- # @return [TermResponse]
640
- describe 'get_term test' do
641
- it 'should work' do
642
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
643
- end
644
- end
645
-
646
- # unit tests for get_term_for_section
647
- # Returns the term for a section
648
- # @param id
649
- # @param [Hash] opts the optional parameters
650
- # @return [TermResponse]
651
- describe 'get_term_for_section test' do
652
- it 'should work' do
653
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
654
- end
655
- end
656
-
657
- # unit tests for get_terms
658
- # Returns a list of terms
659
- # @param [Hash] opts the optional parameters
660
- # @option opts [Integer] :limit
661
- # @option opts [String] :starting_after
662
- # @option opts [String] :ending_before
663
- # @option opts [String] :count
664
- # @return [TermsResponse]
665
- describe 'get_terms test' do
666
- it 'should work' do
667
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
668
- end
669
- end
670
-
671
- end
@@ -1,42 +0,0 @@
1
- =begin
2
- #Clever API
3
-
4
- #The Clever API
5
-
6
- OpenAPI spec version: 2.1.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.8
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
-
15
- describe Clever::Configuration do
16
- let(:config) { Clever::Configuration.default }
17
-
18
- before(:each) do
19
- # uncomment below to setup host and base_path
20
- # require 'URI'
21
- # uri = URI.parse("https://api.clever.com/v2.1")
22
- # Clever.configure do |c|
23
- # c.host = uri.host
24
- # c.base_path = uri.path
25
- # end
26
- end
27
-
28
- describe '#base_url' do
29
- it 'should have the default value' do
30
- # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("https://api.clever.com/v2.1")
32
- end
33
-
34
- it 'should remove trailing slashes' do
35
- [nil, '', '/', '//'].each do |base_path|
36
- config.base_path = base_path
37
- # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("https://api.clever.com/v2.1")
39
- end
40
- end
41
- end
42
- end