commonlit-clever-ruby 2.1.4 → 2.1.6.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +27 -30
  3. data/Makefile +1 -1
  4. data/README.md +60 -61
  5. data/clever-ruby.gemspec +6 -6
  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 +69 -69
  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 +34 -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 +60 -0
  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 +225 -0
  147. data/spec/spec_helper.rb +25 -18
  148. metadata +71 -33
  149. data/commonlit-clever-ruby-2.1.3.gem +0 -0
  150. data/docs/DataApi.md +0 -2852
  151. data/git_push.sh +0 -55
  152. data/lib/clever-ruby/api/data_api.rb +0 -2798
  153. data/spec/events.json +0 -227
  154. data/tags +0 -1681
@@ -0,0 +1,84 @@
1
+ =begin
2
+ #Data API
3
+
4
+ #Serves the Clever Data 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: 3.0.51
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+
15
+ # Unit tests for Clever::SchoolAdminsApi
16
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Please update as you see appropriate
18
+ describe 'SchoolAdminsApi' do
19
+ before do
20
+ # run before each test
21
+ @instance = Clever::SchoolAdminsApi.new
22
+ end
23
+
24
+ after do
25
+ # run after each test
26
+ end
27
+
28
+ describe 'test an instance of SchoolAdminsApi' do
29
+ it 'should create an instance of SchoolAdminsApi' do
30
+ expect(@instance).to be_instance_of(Clever::SchoolAdminsApi)
31
+ end
32
+ end
33
+
34
+ # unit tests for get_district_for_school_admin
35
+ # Returns the district for a school admin
36
+ # @param id
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [DistrictResponse]
39
+ describe 'get_district_for_school_admin test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for get_school_admin
46
+ # Returns a specific school admin
47
+ # @param id
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [SchoolAdminResponse]
50
+ describe 'get_school_admin test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for get_school_admins
57
+ # Returns a list of school admins
58
+ # @param [Hash] opts the optional parameters
59
+ # @option opts [Integer] :limit
60
+ # @option opts [String] :starting_after
61
+ # @option opts [String] :ending_before
62
+ # @option opts [String] :count
63
+ # @return [SchoolAdminsResponse]
64
+ describe 'get_school_admins test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for get_schools_for_school_admin
71
+ # Returns the schools for a school admin
72
+ # @param id
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [Integer] :limit
75
+ # @option opts [String] :starting_after
76
+ # @option opts [String] :ending_before
77
+ # @return [SchoolsResponse]
78
+ describe 'get_schools_for_school_admin test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
84
+ end
@@ -0,0 +1,112 @@
1
+ =begin
2
+ #Data API
3
+
4
+ #Serves the Clever Data 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: 3.0.51
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+
15
+ # Unit tests for Clever::SchoolsApi
16
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Please update as you see appropriate
18
+ describe 'SchoolsApi' do
19
+ before do
20
+ # run before each test
21
+ @instance = Clever::SchoolsApi.new
22
+ end
23
+
24
+ after do
25
+ # run after each test
26
+ end
27
+
28
+ describe 'test an instance of SchoolsApi' do
29
+ it 'should create an instance of SchoolsApi' do
30
+ expect(@instance).to be_instance_of(Clever::SchoolsApi)
31
+ end
32
+ end
33
+
34
+ # unit tests for get_district_for_school
35
+ # Returns the district for a school
36
+ # @param id
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [DistrictResponse]
39
+ describe 'get_district_for_school test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for get_school
46
+ # Returns a specific school
47
+ # @param id
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [SchoolResponse]
50
+ describe 'get_school test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for get_schools
57
+ # Returns a list of schools
58
+ # @param [Hash] opts the optional parameters
59
+ # @option opts [Integer] :limit
60
+ # @option opts [String] :starting_after
61
+ # @option opts [String] :ending_before
62
+ # @option opts [String] :count
63
+ # @return [SchoolsResponse]
64
+ describe 'get_schools test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for get_sections_for_school
71
+ # Returns the sections for a school
72
+ # @param id
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [Integer] :limit
75
+ # @option opts [String] :starting_after
76
+ # @option opts [String] :ending_before
77
+ # @return [SectionsResponse]
78
+ describe 'get_sections_for_school test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
84
+ # unit tests for get_students_for_school
85
+ # Returns the students for a school
86
+ # @param id
87
+ # @param [Hash] opts the optional parameters
88
+ # @option opts [Integer] :limit
89
+ # @option opts [String] :starting_after
90
+ # @option opts [String] :ending_before
91
+ # @return [StudentsResponse]
92
+ describe 'get_students_for_school test' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
+ end
96
+ end
97
+
98
+ # unit tests for get_teachers_for_school
99
+ # Returns the teachers for a school
100
+ # @param id
101
+ # @param [Hash] opts the optional parameters
102
+ # @option opts [Integer] :limit
103
+ # @option opts [String] :starting_after
104
+ # @option opts [String] :ending_before
105
+ # @return [TeachersResponse]
106
+ describe 'get_teachers_for_school test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ end
@@ -0,0 +1,142 @@
1
+ =begin
2
+ #Data API
3
+
4
+ #Serves the Clever Data 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: 3.0.51
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+
15
+ # Unit tests for Clever::SectionsApi
16
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Please update as you see appropriate
18
+ describe 'SectionsApi' do
19
+ before do
20
+ # run before each test
21
+ @instance = Clever::SectionsApi.new
22
+ end
23
+
24
+ after do
25
+ # run after each test
26
+ end
27
+
28
+ describe 'test an instance of SectionsApi' do
29
+ it 'should create an instance of SectionsApi' do
30
+ expect(@instance).to be_instance_of(Clever::SectionsApi)
31
+ end
32
+ end
33
+
34
+ # unit tests for get_course_for_section
35
+ # Returns the course for a section
36
+ # @param id
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [CourseResponse]
39
+ describe 'get_course_for_section test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for get_district_for_section
46
+ # Returns the district for a section
47
+ # @param id
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [DistrictResponse]
50
+ describe 'get_district_for_section test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for get_school_for_section
57
+ # Returns the school for a section
58
+ # @param id
59
+ # @param [Hash] opts the optional parameters
60
+ # @return [SchoolResponse]
61
+ describe 'get_school_for_section test' do
62
+ it 'should work' do
63
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
64
+ end
65
+ end
66
+
67
+ # unit tests for get_section
68
+ # Returns a specific section
69
+ # @param id
70
+ # @param [Hash] opts the optional parameters
71
+ # @return [SectionResponse]
72
+ describe 'get_section test' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
75
+ end
76
+ end
77
+
78
+ # unit tests for get_sections
79
+ # Returns a list of sections
80
+ # @param [Hash] opts the optional parameters
81
+ # @option opts [Integer] :limit
82
+ # @option opts [String] :starting_after
83
+ # @option opts [String] :ending_before
84
+ # @option opts [String] :count
85
+ # @return [SectionsResponse]
86
+ describe 'get_sections test' do
87
+ it 'should work' do
88
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
+ end
90
+ end
91
+
92
+ # unit tests for get_students_for_section
93
+ # Returns the students for a section
94
+ # @param id
95
+ # @param [Hash] opts the optional parameters
96
+ # @option opts [Integer] :limit
97
+ # @option opts [String] :starting_after
98
+ # @option opts [String] :ending_before
99
+ # @return [StudentsResponse]
100
+ describe 'get_students_for_section test' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ # unit tests for get_teacher_for_section
107
+ # Returns the primary teacher for a section
108
+ # @param id
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [TeacherResponse]
111
+ describe 'get_teacher_for_section test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ # unit tests for get_teachers_for_section
118
+ # Returns the teachers for a section
119
+ # @param id
120
+ # @param [Hash] opts the optional parameters
121
+ # @option opts [Integer] :limit
122
+ # @option opts [String] :starting_after
123
+ # @option opts [String] :ending_before
124
+ # @return [TeachersResponse]
125
+ describe 'get_teachers_for_section test' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ # unit tests for get_term_for_section
132
+ # Returns the term for a section
133
+ # @param id
134
+ # @param [Hash] opts the optional parameters
135
+ # @return [TermResponse]
136
+ describe 'get_term_for_section test' do
137
+ it 'should work' do
138
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
139
+ end
140
+ end
141
+
142
+ end
@@ -0,0 +1,137 @@
1
+ =begin
2
+ #Data API
3
+
4
+ #Serves the Clever Data 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: 3.0.51
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+
15
+ # Unit tests for Clever::StudentsApi
16
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Please update as you see appropriate
18
+ describe 'StudentsApi' do
19
+ before do
20
+ # run before each test
21
+ @instance = Clever::StudentsApi.new
22
+ end
23
+
24
+ after do
25
+ # run after each test
26
+ end
27
+
28
+ describe 'test an instance of StudentsApi' do
29
+ it 'should create an instance of StudentsApi' do
30
+ expect(@instance).to be_instance_of(Clever::StudentsApi)
31
+ end
32
+ end
33
+
34
+ # unit tests for get_contacts_for_student
35
+ # Returns the contacts for a student
36
+ # @param id
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [Integer] :limit
39
+ # @option opts [String] :starting_after
40
+ # @option opts [String] :ending_before
41
+ # @return [ContactsResponse]
42
+ describe 'get_contacts_for_student test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for get_district_for_student
49
+ # Returns the district for a student
50
+ # @param id
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [DistrictResponse]
53
+ describe 'get_district_for_student test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for get_school_for_student
60
+ # Returns the primary school for a student
61
+ # @param id
62
+ # @param [Hash] opts the optional parameters
63
+ # @return [SchoolResponse]
64
+ describe 'get_school_for_student test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for get_schools_for_student
71
+ # Returns the schools for a student
72
+ # @param id
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [Integer] :limit
75
+ # @option opts [String] :starting_after
76
+ # @option opts [String] :ending_before
77
+ # @return [SchoolsResponse]
78
+ describe 'get_schools_for_student test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
84
+ # unit tests for get_sections_for_student
85
+ # Returns the sections for a student
86
+ # @param id
87
+ # @param [Hash] opts the optional parameters
88
+ # @option opts [Integer] :limit
89
+ # @option opts [String] :starting_after
90
+ # @option opts [String] :ending_before
91
+ # @return [SectionsResponse]
92
+ describe 'get_sections_for_student test' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
+ end
96
+ end
97
+
98
+ # unit tests for get_student
99
+ # Returns a specific student
100
+ # @param id
101
+ # @param [Hash] opts the optional parameters
102
+ # @return [StudentResponse]
103
+ describe 'get_student test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ end
107
+ end
108
+
109
+ # unit tests for get_students
110
+ # Returns a list of students
111
+ # @param [Hash] opts the optional parameters
112
+ # @option opts [Integer] :limit
113
+ # @option opts [String] :starting_after
114
+ # @option opts [String] :ending_before
115
+ # @option opts [String] :count
116
+ # @return [StudentsResponse]
117
+ describe 'get_students test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
123
+ # unit tests for get_teachers_for_student
124
+ # Returns the teachers for a student
125
+ # @param id
126
+ # @param [Hash] opts the optional parameters
127
+ # @option opts [Integer] :limit
128
+ # @option opts [String] :starting_after
129
+ # @option opts [String] :ending_before
130
+ # @return [TeachersResponse]
131
+ describe 'get_teachers_for_student test' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
137
+ end
@@ -0,0 +1,123 @@
1
+ =begin
2
+ #Data API
3
+
4
+ #Serves the Clever Data 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: 3.0.51
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+
15
+ # Unit tests for Clever::TeachersApi
16
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Please update as you see appropriate
18
+ describe 'TeachersApi' do
19
+ before do
20
+ # run before each test
21
+ @instance = Clever::TeachersApi.new
22
+ end
23
+
24
+ after do
25
+ # run after each test
26
+ end
27
+
28
+ describe 'test an instance of TeachersApi' do
29
+ it 'should create an instance of TeachersApi' do
30
+ expect(@instance).to be_instance_of(Clever::TeachersApi)
31
+ end
32
+ end
33
+
34
+ # unit tests for get_district_for_teacher
35
+ # Returns the district for a teacher
36
+ # @param id
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [DistrictResponse]
39
+ describe 'get_district_for_teacher test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for get_school_for_teacher
46
+ # Retrieves school info for a teacher.
47
+ # @param id
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [SchoolResponse]
50
+ describe 'get_school_for_teacher test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for get_schools_for_teacher
57
+ # Returns the schools for a teacher
58
+ # @param id
59
+ # @param [Hash] opts the optional parameters
60
+ # @option opts [Integer] :limit
61
+ # @option opts [String] :starting_after
62
+ # @option opts [String] :ending_before
63
+ # @return [SchoolsResponse]
64
+ describe 'get_schools_for_teacher test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for get_sections_for_teacher
71
+ # Returns the sections for a teacher
72
+ # @param id
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [Integer] :limit
75
+ # @option opts [String] :starting_after
76
+ # @option opts [String] :ending_before
77
+ # @return [SectionsResponse]
78
+ describe 'get_sections_for_teacher test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
84
+ # unit tests for get_students_for_teacher
85
+ # Returns the students for a teacher
86
+ # @param id
87
+ # @param [Hash] opts the optional parameters
88
+ # @option opts [Integer] :limit
89
+ # @option opts [String] :starting_after
90
+ # @option opts [String] :ending_before
91
+ # @return [StudentsResponse]
92
+ describe 'get_students_for_teacher test' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
+ end
96
+ end
97
+
98
+ # unit tests for get_teacher
99
+ # Returns a specific teacher
100
+ # @param id
101
+ # @param [Hash] opts the optional parameters
102
+ # @return [TeacherResponse]
103
+ describe 'get_teacher test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ end
107
+ end
108
+
109
+ # unit tests for get_teachers
110
+ # Returns a list of teachers
111
+ # @param [Hash] opts the optional parameters
112
+ # @option opts [Integer] :limit
113
+ # @option opts [String] :starting_after
114
+ # @option opts [String] :ending_before
115
+ # @option opts [String] :count
116
+ # @return [TeachersResponse]
117
+ describe 'get_teachers test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
123
+ end
@@ -0,0 +1,84 @@
1
+ =begin
2
+ #Data API
3
+
4
+ #Serves the Clever Data 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: 3.0.51
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+
15
+ # Unit tests for Clever::TermsApi
16
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Please update as you see appropriate
18
+ describe 'TermsApi' do
19
+ before do
20
+ # run before each test
21
+ @instance = Clever::TermsApi.new
22
+ end
23
+
24
+ after do
25
+ # run after each test
26
+ end
27
+
28
+ describe 'test an instance of TermsApi' do
29
+ it 'should create an instance of TermsApi' do
30
+ expect(@instance).to be_instance_of(Clever::TermsApi)
31
+ end
32
+ end
33
+
34
+ # unit tests for get_district_for_term
35
+ # Returns the district for a term
36
+ # @param id
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [DistrictResponse]
39
+ describe 'get_district_for_term test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for get_sections_for_term
46
+ # Returns the sections for a term
47
+ # @param id
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
+ # @return [SectionsResponse]
53
+ describe 'get_sections_for_term test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for get_term
60
+ # Returns a specific term
61
+ # @param id
62
+ # @param [Hash] opts the optional parameters
63
+ # @return [TermResponse]
64
+ describe 'get_term test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for get_terms
71
+ # Returns a list of terms
72
+ # @param [Hash] opts the optional parameters
73
+ # @option opts [Integer] :limit
74
+ # @option opts [String] :starting_after
75
+ # @option opts [String] :ending_before
76
+ # @option opts [String] :count
77
+ # @return [TermsResponse]
78
+ describe 'get_terms test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
84
+ end