commonlit-clever-ruby 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (308) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +129 -0
  3. data/Gemfile +7 -0
  4. data/Gemfile.lock +73 -0
  5. data/LICENSE +190 -0
  6. data/Makefile +10 -0
  7. data/README.md +265 -0
  8. data/Rakefile +8 -0
  9. data/clever-ruby.gemspec +46 -0
  10. data/docs/AdminName.md +9 -0
  11. data/docs/BadRequest.md +8 -0
  12. data/docs/Contact.md +17 -0
  13. data/docs/ContactObject.md +8 -0
  14. data/docs/ContactResponse.md +8 -0
  15. data/docs/ContactsCreated.md +11 -0
  16. data/docs/ContactsDeleted.md +11 -0
  17. data/docs/ContactsResponse.md +9 -0
  18. data/docs/ContactsUpdated.md +12 -0
  19. data/docs/Course.md +11 -0
  20. data/docs/CourseObject.md +8 -0
  21. data/docs/CourseResponse.md +8 -0
  22. data/docs/CoursesCreated.md +11 -0
  23. data/docs/CoursesDeleted.md +11 -0
  24. data/docs/CoursesResponse.md +9 -0
  25. data/docs/CoursesUpdated.md +12 -0
  26. data/docs/Credentials.md +8 -0
  27. data/docs/DataApi.md +2852 -0
  28. data/docs/District.md +21 -0
  29. data/docs/DistrictAdmin.md +12 -0
  30. data/docs/DistrictAdminObject.md +8 -0
  31. data/docs/DistrictAdminResponse.md +8 -0
  32. data/docs/DistrictAdminsResponse.md +9 -0
  33. data/docs/DistrictObject.md +8 -0
  34. data/docs/DistrictResponse.md +8 -0
  35. data/docs/DistrictadminsCreated.md +11 -0
  36. data/docs/DistrictadminsDeleted.md +11 -0
  37. data/docs/DistrictadminsUpdated.md +12 -0
  38. data/docs/DistrictsCreated.md +11 -0
  39. data/docs/DistrictsDeleted.md +11 -0
  40. data/docs/DistrictsResponse.md +9 -0
  41. data/docs/DistrictsUpdated.md +12 -0
  42. data/docs/Event.md +10 -0
  43. data/docs/EventResponse.md +8 -0
  44. data/docs/EventsApi.md +121 -0
  45. data/docs/EventsResponse.md +9 -0
  46. data/docs/InternalError.md +8 -0
  47. data/docs/Link.md +9 -0
  48. data/docs/Location.md +13 -0
  49. data/docs/Name.md +10 -0
  50. data/docs/NotFound.md +8 -0
  51. data/docs/Principal.md +9 -0
  52. data/docs/School.md +23 -0
  53. data/docs/SchoolAdmin.md +17 -0
  54. data/docs/SchoolAdminObject.md +8 -0
  55. data/docs/SchoolAdminResponse.md +8 -0
  56. data/docs/SchoolAdminsResponse.md +9 -0
  57. data/docs/SchoolEnrollment.md +10 -0
  58. data/docs/SchoolObject.md +8 -0
  59. data/docs/SchoolResponse.md +8 -0
  60. data/docs/SchooladminsCreated.md +11 -0
  61. data/docs/SchooladminsDeleted.md +11 -0
  62. data/docs/SchooladminsUpdated.md +12 -0
  63. data/docs/SchoolsCreated.md +11 -0
  64. data/docs/SchoolsDeleted.md +11 -0
  65. data/docs/SchoolsResponse.md +9 -0
  66. data/docs/SchoolsUpdated.md +12 -0
  67. data/docs/Section.md +24 -0
  68. data/docs/SectionObject.md +8 -0
  69. data/docs/SectionResponse.md +8 -0
  70. data/docs/SectionsCreated.md +11 -0
  71. data/docs/SectionsDeleted.md +11 -0
  72. data/docs/SectionsResponse.md +9 -0
  73. data/docs/SectionsUpdated.md +12 -0
  74. data/docs/Student.md +33 -0
  75. data/docs/StudentObject.md +8 -0
  76. data/docs/StudentResponse.md +8 -0
  77. data/docs/StudentsCreated.md +11 -0
  78. data/docs/StudentsDeleted.md +11 -0
  79. data/docs/StudentsResponse.md +9 -0
  80. data/docs/StudentsUpdated.md +12 -0
  81. data/docs/Teacher.md +21 -0
  82. data/docs/TeacherObject.md +8 -0
  83. data/docs/TeacherResponse.md +8 -0
  84. data/docs/TeachersCreated.md +11 -0
  85. data/docs/TeachersDeleted.md +11 -0
  86. data/docs/TeachersResponse.md +9 -0
  87. data/docs/TeachersUpdated.md +12 -0
  88. data/docs/Term.md +12 -0
  89. data/docs/TermObject.md +8 -0
  90. data/docs/TermResponse.md +8 -0
  91. data/docs/TermsCreated.md +11 -0
  92. data/docs/TermsDeleted.md +11 -0
  93. data/docs/TermsResponse.md +9 -0
  94. data/docs/TermsUpdated.md +12 -0
  95. data/git_push.sh +55 -0
  96. data/lib/clever-ruby.rb +124 -0
  97. data/lib/clever-ruby/api/data_api.rb +2798 -0
  98. data/lib/clever-ruby/api/events_api.rb +132 -0
  99. data/lib/clever-ruby/api_client.rb +414 -0
  100. data/lib/clever-ruby/api_error.rb +38 -0
  101. data/lib/clever-ruby/configuration.rb +209 -0
  102. data/lib/clever-ruby/models/admin_name.rb +193 -0
  103. data/lib/clever-ruby/models/bad_request.rb +184 -0
  104. data/lib/clever-ruby/models/contact.rb +325 -0
  105. data/lib/clever-ruby/models/contact_object.rb +184 -0
  106. data/lib/clever-ruby/models/contact_response.rb +184 -0
  107. data/lib/clever-ruby/models/contacts_created.rb +221 -0
  108. data/lib/clever-ruby/models/contacts_deleted.rb +221 -0
  109. data/lib/clever-ruby/models/contacts_response.rb +197 -0
  110. data/lib/clever-ruby/models/contacts_updated.rb +221 -0
  111. data/lib/clever-ruby/models/course.rb +211 -0
  112. data/lib/clever-ruby/models/course_object.rb +184 -0
  113. data/lib/clever-ruby/models/course_response.rb +184 -0
  114. data/lib/clever-ruby/models/courses_created.rb +221 -0
  115. data/lib/clever-ruby/models/courses_deleted.rb +221 -0
  116. data/lib/clever-ruby/models/courses_response.rb +197 -0
  117. data/lib/clever-ruby/models/courses_updated.rb +221 -0
  118. data/lib/clever-ruby/models/credentials.rb +184 -0
  119. data/lib/clever-ruby/models/district.rb +337 -0
  120. data/lib/clever-ruby/models/district_admin.rb +220 -0
  121. data/lib/clever-ruby/models/district_admin_object.rb +184 -0
  122. data/lib/clever-ruby/models/district_admin_response.rb +184 -0
  123. data/lib/clever-ruby/models/district_admins_response.rb +197 -0
  124. data/lib/clever-ruby/models/district_object.rb +184 -0
  125. data/lib/clever-ruby/models/district_response.rb +184 -0
  126. data/lib/clever-ruby/models/districtadmins_created.rb +221 -0
  127. data/lib/clever-ruby/models/districtadmins_deleted.rb +221 -0
  128. data/lib/clever-ruby/models/districtadmins_updated.rb +221 -0
  129. data/lib/clever-ruby/models/districts_created.rb +221 -0
  130. data/lib/clever-ruby/models/districts_deleted.rb +221 -0
  131. data/lib/clever-ruby/models/districts_response.rb +197 -0
  132. data/lib/clever-ruby/models/districts_updated.rb +221 -0
  133. data/lib/clever-ruby/models/event.rb +207 -0
  134. data/lib/clever-ruby/models/event_response.rb +184 -0
  135. data/lib/clever-ruby/models/events_response.rb +197 -0
  136. data/lib/clever-ruby/models/internal_error.rb +184 -0
  137. data/lib/clever-ruby/models/link.rb +227 -0
  138. data/lib/clever-ruby/models/location.rb +229 -0
  139. data/lib/clever-ruby/models/name.rb +202 -0
  140. data/lib/clever-ruby/models/not_found.rb +184 -0
  141. data/lib/clever-ruby/models/principal.rb +193 -0
  142. data/lib/clever-ruby/models/school.rb +365 -0
  143. data/lib/clever-ruby/models/school_admin.rb +267 -0
  144. data/lib/clever-ruby/models/school_admin_object.rb +184 -0
  145. data/lib/clever-ruby/models/school_admin_response.rb +184 -0
  146. data/lib/clever-ruby/models/school_admins_response.rb +197 -0
  147. data/lib/clever-ruby/models/school_enrollment.rb +202 -0
  148. data/lib/clever-ruby/models/school_object.rb +184 -0
  149. data/lib/clever-ruby/models/school_response.rb +184 -0
  150. data/lib/clever-ruby/models/schooladmins_created.rb +221 -0
  151. data/lib/clever-ruby/models/schooladmins_deleted.rb +221 -0
  152. data/lib/clever-ruby/models/schooladmins_updated.rb +221 -0
  153. data/lib/clever-ruby/models/schools_created.rb +221 -0
  154. data/lib/clever-ruby/models/schools_deleted.rb +221 -0
  155. data/lib/clever-ruby/models/schools_response.rb +197 -0
  156. data/lib/clever-ruby/models/schools_updated.rb +221 -0
  157. data/lib/clever-ruby/models/section.rb +378 -0
  158. data/lib/clever-ruby/models/section_object.rb +184 -0
  159. data/lib/clever-ruby/models/section_response.rb +184 -0
  160. data/lib/clever-ruby/models/sections_created.rb +221 -0
  161. data/lib/clever-ruby/models/sections_deleted.rb +221 -0
  162. data/lib/clever-ruby/models/sections_response.rb +197 -0
  163. data/lib/clever-ruby/models/sections_updated.rb +221 -0
  164. data/lib/clever-ruby/models/student.rb +507 -0
  165. data/lib/clever-ruby/models/student_object.rb +184 -0
  166. data/lib/clever-ruby/models/student_response.rb +184 -0
  167. data/lib/clever-ruby/models/students_created.rb +221 -0
  168. data/lib/clever-ruby/models/students_deleted.rb +221 -0
  169. data/lib/clever-ruby/models/students_response.rb +197 -0
  170. data/lib/clever-ruby/models/students_updated.rb +221 -0
  171. data/lib/clever-ruby/models/teacher.rb +303 -0
  172. data/lib/clever-ruby/models/teacher_object.rb +184 -0
  173. data/lib/clever-ruby/models/teacher_response.rb +184 -0
  174. data/lib/clever-ruby/models/teachers_created.rb +221 -0
  175. data/lib/clever-ruby/models/teachers_deleted.rb +221 -0
  176. data/lib/clever-ruby/models/teachers_response.rb +197 -0
  177. data/lib/clever-ruby/models/teachers_updated.rb +221 -0
  178. data/lib/clever-ruby/models/term.rb +220 -0
  179. data/lib/clever-ruby/models/term_object.rb +184 -0
  180. data/lib/clever-ruby/models/term_response.rb +184 -0
  181. data/lib/clever-ruby/models/terms_created.rb +221 -0
  182. data/lib/clever-ruby/models/terms_deleted.rb +221 -0
  183. data/lib/clever-ruby/models/terms_response.rb +197 -0
  184. data/lib/clever-ruby/models/terms_updated.rb +221 -0
  185. data/lib/clever-ruby/version.rb +15 -0
  186. data/override/README-extension.md +31 -0
  187. data/override/api_client.rb +414 -0
  188. data/override/models/contacts_created.rb +221 -0
  189. data/override/models/contacts_deleted.rb +221 -0
  190. data/override/models/contacts_updated.rb +221 -0
  191. data/override/models/courses_created.rb +221 -0
  192. data/override/models/courses_deleted.rb +221 -0
  193. data/override/models/courses_updated.rb +221 -0
  194. data/override/models/districtadmins_created.rb +221 -0
  195. data/override/models/districtadmins_deleted.rb +221 -0
  196. data/override/models/districtadmins_updated.rb +221 -0
  197. data/override/models/districts_created.rb +221 -0
  198. data/override/models/districts_deleted.rb +221 -0
  199. data/override/models/districts_updated.rb +221 -0
  200. data/override/models/schooladmins_created.rb +221 -0
  201. data/override/models/schooladmins_deleted.rb +221 -0
  202. data/override/models/schooladmins_updated.rb +221 -0
  203. data/override/models/schools_created.rb +221 -0
  204. data/override/models/schools_deleted.rb +221 -0
  205. data/override/models/schools_updated.rb +221 -0
  206. data/override/models/sections_created.rb +221 -0
  207. data/override/models/sections_deleted.rb +221 -0
  208. data/override/models/sections_updated.rb +221 -0
  209. data/override/models/students_created.rb +221 -0
  210. data/override/models/students_deleted.rb +221 -0
  211. data/override/models/students_updated.rb +221 -0
  212. data/override/models/teachers_created.rb +221 -0
  213. data/override/models/teachers_deleted.rb +221 -0
  214. data/override/models/teachers_updated.rb +221 -0
  215. data/override/models/terms_created.rb +221 -0
  216. data/override/models/terms_deleted.rb +221 -0
  217. data/override/models/terms_updated.rb +221 -0
  218. data/override/override.sh +27 -0
  219. data/sample/sample.rb +16 -0
  220. data/spec/api/data_api_spec.rb +671 -0
  221. data/spec/api/events_api_spec.rb +61 -0
  222. data/spec/api_client_spec.rb +226 -0
  223. data/spec/configuration_spec.rb +42 -0
  224. data/spec/events.json +227 -0
  225. data/spec/models/bad_request_spec.rb +41 -0
  226. data/spec/models/contact_object_spec.rb +41 -0
  227. data/spec/models/contact_response_spec.rb +41 -0
  228. data/spec/models/contact_spec.rb +107 -0
  229. data/spec/models/contacts_created_spec.rb +59 -0
  230. data/spec/models/contacts_deleted_spec.rb +59 -0
  231. data/spec/models/contacts_response_spec.rb +41 -0
  232. data/spec/models/contacts_updated_spec.rb +65 -0
  233. data/spec/models/course_object_spec.rb +41 -0
  234. data/spec/models/course_response_spec.rb +41 -0
  235. data/spec/models/course_spec.rb +59 -0
  236. data/spec/models/courses_created_spec.rb +59 -0
  237. data/spec/models/courses_deleted_spec.rb +59 -0
  238. data/spec/models/courses_response_spec.rb +41 -0
  239. data/spec/models/courses_updated_spec.rb +65 -0
  240. data/spec/models/credentials_spec.rb +41 -0
  241. data/spec/models/district_admin_object_spec.rb +41 -0
  242. data/spec/models/district_admin_response_spec.rb +41 -0
  243. data/spec/models/district_admin_spec.rb +65 -0
  244. data/spec/models/district_admins_response_spec.rb +41 -0
  245. data/spec/models/district_object_spec.rb +41 -0
  246. data/spec/models/district_response_spec.rb +41 -0
  247. data/spec/models/district_spec.rb +123 -0
  248. data/spec/models/districtadmins_created_spec.rb +59 -0
  249. data/spec/models/districtadmins_deleted_spec.rb +59 -0
  250. data/spec/models/districtadmins_updated_spec.rb +65 -0
  251. data/spec/models/districts_created_spec.rb +59 -0
  252. data/spec/models/districts_deleted_spec.rb +59 -0
  253. data/spec/models/districts_response_spec.rb +41 -0
  254. data/spec/models/districts_updated_spec.rb +65 -0
  255. data/spec/models/event_response_spec.rb +41 -0
  256. data/spec/models/event_spec.rb +53 -0
  257. data/spec/models/events_response_spec.rb +41 -0
  258. data/spec/models/internal_error_spec.rb +41 -0
  259. data/spec/models/location_spec.rb +71 -0
  260. data/spec/models/name_spec.rb +53 -0
  261. data/spec/models/not_found_spec.rb +41 -0
  262. data/spec/models/principal_spec.rb +47 -0
  263. data/spec/models/school_admin_object_spec.rb +41 -0
  264. data/spec/models/school_admin_response_spec.rb +41 -0
  265. data/spec/models/school_admin_spec.rb +95 -0
  266. data/spec/models/school_admins_response_spec.rb +41 -0
  267. data/spec/models/school_enrollment_spec.rb +53 -0
  268. data/spec/models/school_object_spec.rb +41 -0
  269. data/spec/models/school_response_spec.rb +41 -0
  270. data/spec/models/school_spec.rb +139 -0
  271. data/spec/models/schooladmins_created_spec.rb +59 -0
  272. data/spec/models/schooladmins_deleted_spec.rb +59 -0
  273. data/spec/models/schooladmins_updated_spec.rb +65 -0
  274. data/spec/models/schools_created_spec.rb +59 -0
  275. data/spec/models/schools_deleted_spec.rb +59 -0
  276. data/spec/models/schools_response_spec.rb +41 -0
  277. data/spec/models/schools_updated_spec.rb +65 -0
  278. data/spec/models/section_object_spec.rb +41 -0
  279. data/spec/models/section_response_spec.rb +41 -0
  280. data/spec/models/section_spec.rb +145 -0
  281. data/spec/models/sections_created_spec.rb +59 -0
  282. data/spec/models/sections_deleted_spec.rb +59 -0
  283. data/spec/models/sections_response_spec.rb +41 -0
  284. data/spec/models/sections_updated_spec.rb +65 -0
  285. data/spec/models/student_object_spec.rb +41 -0
  286. data/spec/models/student_response_spec.rb +41 -0
  287. data/spec/models/student_spec.rb +215 -0
  288. data/spec/models/students_created_spec.rb +59 -0
  289. data/spec/models/students_deleted_spec.rb +59 -0
  290. data/spec/models/students_response_spec.rb +41 -0
  291. data/spec/models/students_updated_spec.rb +65 -0
  292. data/spec/models/teacher_object_spec.rb +41 -0
  293. data/spec/models/teacher_response_spec.rb +41 -0
  294. data/spec/models/teacher_spec.rb +119 -0
  295. data/spec/models/teachers_created_spec.rb +59 -0
  296. data/spec/models/teachers_deleted_spec.rb +59 -0
  297. data/spec/models/teachers_response_spec.rb +41 -0
  298. data/spec/models/teachers_updated_spec.rb +65 -0
  299. data/spec/models/term_object_spec.rb +41 -0
  300. data/spec/models/term_response_spec.rb +41 -0
  301. data/spec/models/term_spec.rb +65 -0
  302. data/spec/models/terms_created_spec.rb +59 -0
  303. data/spec/models/terms_deleted_spec.rb +59 -0
  304. data/spec/models/terms_response_spec.rb +41 -0
  305. data/spec/models/terms_updated_spec.rb +65 -0
  306. data/spec/spec_helper.rb +103 -0
  307. data/tags +1681 -0
  308. metadata +636 -0
@@ -0,0 +1,27 @@
1
+ #!/bin/bash
2
+ # Copy autogenerated files over
3
+ cp -R lib/swagger_client/. lib/clever-ruby || true
4
+ mv lib/swagger_client.rb lib/clever-ruby.rb || true
5
+ mv swagger_client.gemspec clever-ruby.gemspec || true
6
+ rm -rf lib/swagger_client || true
7
+
8
+ # Override the event models with ones that have inheritence
9
+ cp override/models/* lib/clever-ruby/models/
10
+
11
+ # Override the parsing library with one that's aware of the inheritence
12
+ cp override/api_client.rb lib/clever-ruby/
13
+
14
+ # Rename references of SwaggerClient to Clever
15
+ git grep -l 'SwaggerClient' -- './*' ':(exclude)override/override.sh' | xargs sed -i "" 's/SwaggerClient/Clever/g'
16
+ git grep -l 'swagger_client' -- './*' ':(exclude)override/override.sh' | xargs sed -i "" 's/swagger_client/clever-ruby/g'
17
+
18
+ # The generated tests don't do anything so let's remove them
19
+ rm -r spec/api || true
20
+ rm -r spec/models || true
21
+ rm -r spec/api_client_spec.rb || true
22
+ rm -r spec/configuration_spec.rb || true
23
+
24
+ # Add the extension to the readme if it's not already there
25
+ if ! grep -q -i '## Previous Versions' README.md; then
26
+ cat override/README-extension.md >> README.md
27
+ fi
@@ -0,0 +1,16 @@
1
+ require 'clever-ruby'
2
+
3
+ # Setup authorization
4
+ Clever.configure do |config|
5
+ # Configure OAuth2 access token for authorization: oauth
6
+ config.access_token = 'TEST_TOKEN'
7
+ end
8
+
9
+ api_instance = Clever::DataApi.new
10
+ # events_instance = Clever::EventsApi.new
11
+
12
+ begin
13
+ students = api_instance.get_students()
14
+ p students
15
+
16
+ end
@@ -0,0 +1,671 @@
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