commonlit-clever-ruby 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/clever-ruby.gemspec +1 -1
  4. data/commonlit-clever-ruby-2.1.3.gem +0 -0
  5. data/lib/clever-ruby/models/district.rb +2 -2
  6. data/lib/clever-ruby/models/student.rb +15 -0
  7. data/lib/clever-ruby/version.rb +1 -1
  8. metadata +23 -192
  9. data/spec/api/data_api_spec.rb +0 -671
  10. data/spec/api/events_api_spec.rb +0 -61
  11. data/spec/api_client_spec.rb +0 -226
  12. data/spec/configuration_spec.rb +0 -42
  13. data/spec/models/bad_request_spec.rb +0 -41
  14. data/spec/models/contact_object_spec.rb +0 -41
  15. data/spec/models/contact_response_spec.rb +0 -41
  16. data/spec/models/contact_spec.rb +0 -107
  17. data/spec/models/contacts_created_spec.rb +0 -59
  18. data/spec/models/contacts_deleted_spec.rb +0 -59
  19. data/spec/models/contacts_response_spec.rb +0 -41
  20. data/spec/models/contacts_updated_spec.rb +0 -65
  21. data/spec/models/course_object_spec.rb +0 -41
  22. data/spec/models/course_response_spec.rb +0 -41
  23. data/spec/models/course_spec.rb +0 -59
  24. data/spec/models/courses_created_spec.rb +0 -59
  25. data/spec/models/courses_deleted_spec.rb +0 -59
  26. data/spec/models/courses_response_spec.rb +0 -41
  27. data/spec/models/courses_updated_spec.rb +0 -65
  28. data/spec/models/credentials_spec.rb +0 -41
  29. data/spec/models/district_admin_object_spec.rb +0 -41
  30. data/spec/models/district_admin_response_spec.rb +0 -41
  31. data/spec/models/district_admin_spec.rb +0 -65
  32. data/spec/models/district_admins_response_spec.rb +0 -41
  33. data/spec/models/district_object_spec.rb +0 -41
  34. data/spec/models/district_response_spec.rb +0 -41
  35. data/spec/models/district_spec.rb +0 -123
  36. data/spec/models/districtadmins_created_spec.rb +0 -59
  37. data/spec/models/districtadmins_deleted_spec.rb +0 -59
  38. data/spec/models/districtadmins_updated_spec.rb +0 -65
  39. data/spec/models/districts_created_spec.rb +0 -59
  40. data/spec/models/districts_deleted_spec.rb +0 -59
  41. data/spec/models/districts_response_spec.rb +0 -41
  42. data/spec/models/districts_updated_spec.rb +0 -65
  43. data/spec/models/event_response_spec.rb +0 -41
  44. data/spec/models/event_spec.rb +0 -53
  45. data/spec/models/events_response_spec.rb +0 -41
  46. data/spec/models/internal_error_spec.rb +0 -41
  47. data/spec/models/location_spec.rb +0 -71
  48. data/spec/models/name_spec.rb +0 -53
  49. data/spec/models/not_found_spec.rb +0 -41
  50. data/spec/models/principal_spec.rb +0 -47
  51. data/spec/models/school_admin_object_spec.rb +0 -41
  52. data/spec/models/school_admin_response_spec.rb +0 -41
  53. data/spec/models/school_admin_spec.rb +0 -95
  54. data/spec/models/school_admins_response_spec.rb +0 -41
  55. data/spec/models/school_enrollment_spec.rb +0 -53
  56. data/spec/models/school_object_spec.rb +0 -41
  57. data/spec/models/school_response_spec.rb +0 -41
  58. data/spec/models/school_spec.rb +0 -139
  59. data/spec/models/schooladmins_created_spec.rb +0 -59
  60. data/spec/models/schooladmins_deleted_spec.rb +0 -59
  61. data/spec/models/schooladmins_updated_spec.rb +0 -65
  62. data/spec/models/schools_created_spec.rb +0 -59
  63. data/spec/models/schools_deleted_spec.rb +0 -59
  64. data/spec/models/schools_response_spec.rb +0 -41
  65. data/spec/models/schools_updated_spec.rb +0 -65
  66. data/spec/models/section_object_spec.rb +0 -41
  67. data/spec/models/section_response_spec.rb +0 -41
  68. data/spec/models/section_spec.rb +0 -145
  69. data/spec/models/sections_created_spec.rb +0 -59
  70. data/spec/models/sections_deleted_spec.rb +0 -59
  71. data/spec/models/sections_response_spec.rb +0 -41
  72. data/spec/models/sections_updated_spec.rb +0 -65
  73. data/spec/models/student_object_spec.rb +0 -41
  74. data/spec/models/student_response_spec.rb +0 -41
  75. data/spec/models/student_spec.rb +0 -215
  76. data/spec/models/students_created_spec.rb +0 -59
  77. data/spec/models/students_deleted_spec.rb +0 -59
  78. data/spec/models/students_response_spec.rb +0 -41
  79. data/spec/models/students_updated_spec.rb +0 -65
  80. data/spec/models/teacher_object_spec.rb +0 -41
  81. data/spec/models/teacher_response_spec.rb +0 -41
  82. data/spec/models/teacher_spec.rb +0 -119
  83. data/spec/models/teachers_created_spec.rb +0 -59
  84. data/spec/models/teachers_deleted_spec.rb +0 -59
  85. data/spec/models/teachers_response_spec.rb +0 -41
  86. data/spec/models/teachers_updated_spec.rb +0 -65
  87. data/spec/models/term_object_spec.rb +0 -41
  88. data/spec/models/term_response_spec.rb +0 -41
  89. data/spec/models/term_spec.rb +0 -65
  90. data/spec/models/terms_created_spec.rb +0 -59
  91. data/spec/models/terms_deleted_spec.rb +0 -59
  92. data/spec/models/terms_response_spec.rb +0 -41
  93. data/spec/models/terms_updated_spec.rb +0 -65
@@ -1,41 +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
- require 'date'
16
-
17
- # Unit tests for Clever::SectionsResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'SectionsResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::SectionsResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of SectionsResponse' do
31
- it 'should create an instance of SectionsResponse' do
32
- expect(@instance).to be_instance_of(Clever::SectionsResponse)
33
- end
34
- end
35
- describe 'test attribute "data"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- end
@@ -1,65 +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
- require 'date'
16
-
17
- # Unit tests for Clever::SectionsUpdated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'SectionsUpdated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::SectionsUpdated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of SectionsUpdated' do
31
- it 'should create an instance of SectionsUpdated' do
32
- expect(@instance).to be_instance_of(Clever::SectionsUpdated)
33
- end
34
- end
35
- describe 'test attribute "created"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "id"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- describe 'test attribute "type"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
- describe 'test attribute "data"' 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
- describe 'test attribute "previous_attributes"' do
60
- it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
- end
63
- end
64
-
65
- end
@@ -1,41 +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
- require 'date'
16
-
17
- # Unit tests for Clever::StudentObject
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'StudentObject' do
21
- before do
22
- # run before each test
23
- @instance = Clever::StudentObject.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of StudentObject' do
31
- it 'should create an instance of StudentObject' do
32
- expect(@instance).to be_instance_of(Clever::StudentObject)
33
- end
34
- end
35
- describe 'test attribute "object"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- end
@@ -1,41 +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
- require 'date'
16
-
17
- # Unit tests for Clever::StudentResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'StudentResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::StudentResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of StudentResponse' do
31
- it 'should create an instance of StudentResponse' do
32
- expect(@instance).to be_instance_of(Clever::StudentResponse)
33
- end
34
- end
35
- describe 'test attribute "data"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- end
@@ -1,215 +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
- require 'date'
16
-
17
- # Unit tests for Clever::Student
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'Student' do
21
- before do
22
- # run before each test
23
- @instance = Clever::Student.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of Student' do
31
- it 'should create an instance of Student' do
32
- expect(@instance).to be_instance_of(Clever::Student)
33
- end
34
- end
35
- describe 'test attribute "created"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "credentials"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- describe 'test attribute "district"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
- describe 'test attribute "dob"' 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
- describe 'test attribute "ell_status"' do
60
- it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Y", "N", ""])
63
- # validator.allowable_values.each do |value|
64
- # expect { @instance.ell_status = value }.not_to raise_error
65
- # end
66
- end
67
- end
68
-
69
- describe 'test attribute "email"' do
70
- it 'should work' do
71
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
- end
73
- end
74
-
75
- describe 'test attribute "enrollments"' do
76
- it 'should work' do
77
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
- end
79
- end
80
-
81
- describe 'test attribute "ext"' do
82
- it 'should work' do
83
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
- end
85
- end
86
-
87
- describe 'test attribute "gender"' do
88
- it 'should work' do
89
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["M", "F", "X", ""])
91
- # validator.allowable_values.each do |value|
92
- # expect { @instance.gender = value }.not_to raise_error
93
- # end
94
- end
95
- end
96
-
97
- describe 'test attribute "grade"' do
98
- it 'should work' do
99
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["InfantToddler", "Preschool", "PreKindergarten", "TransitionalKindergarten", "Kindergarten", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "PostGraduate", "Ungraded", "Other", ""])
101
- # validator.allowable_values.each do |value|
102
- # expect { @instance.grade = value }.not_to raise_error
103
- # end
104
- end
105
- end
106
-
107
- describe 'test attribute "graduation_year"' do
108
- it 'should work' do
109
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
- end
111
- end
112
-
113
- describe 'test attribute "hispanic_ethnicity"' do
114
- it 'should work' do
115
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Y", "N", ""])
117
- # validator.allowable_values.each do |value|
118
- # expect { @instance.hispanic_ethnicity = value }.not_to raise_error
119
- # end
120
- end
121
- end
122
-
123
- describe 'test attribute "home_language"' do
124
- it 'should work' do
125
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
126
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["English", "Albanian", "Amharic", "Arabic", "Bengali", "Bosnian", "Burmese", "Cantonese", "Chinese", "Dutch", "Farsi", "French", "German", "Hebrew", "Hindi", "Hmong", "Ilocano", "Japanese", "Javanese", "Karen", "Khmer", "Korean", "Laotian", "Latvian", "Malay", "Mandarin", "Nepali", "Oromo", "Polish", "Portuguese", "Punjabi", "Romanian", "Russian", "Samoan", "Serbian", "Somali", "Spanish", "Swahili", "Tagalog", "Tamil", "Telugu", "Thai", "Tigrinya", "Turkish", "Ukrainian", "Urdu", "Vietnamese", ""])
127
- # validator.allowable_values.each do |value|
128
- # expect { @instance.home_language = value }.not_to raise_error
129
- # end
130
- end
131
- end
132
-
133
- describe 'test attribute "id"' do
134
- it 'should work' do
135
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
136
- end
137
- end
138
-
139
- describe 'test attribute "iep_status"' do
140
- it 'should work' do
141
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
142
- end
143
- end
144
-
145
- describe 'test attribute "last_modified"' do
146
- it 'should work' do
147
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
148
- end
149
- end
150
-
151
- describe 'test attribute "location"' 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
- describe 'test attribute "name"' do
158
- it 'should work' do
159
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
160
- end
161
- end
162
-
163
- describe 'test attribute "race"' do
164
- it 'should work' do
165
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
166
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Caucasian", "Asian", "Black or African American", "American Indian", "Hawaiian or Other Pacific Islander", "Two or More Races", "Unknown", ""])
167
- # validator.allowable_values.each do |value|
168
- # expect { @instance.race = value }.not_to raise_error
169
- # end
170
- end
171
- end
172
-
173
- describe 'test attribute "school"' 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
- describe 'test attribute "schools"' do
180
- it 'should work' do
181
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
- end
183
- end
184
-
185
- describe 'test attribute "sis_id"' do
186
- it 'should work' do
187
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
- end
189
- end
190
-
191
- describe 'test attribute "state_id"' do
192
- it 'should work' do
193
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
194
- end
195
- end
196
-
197
- describe 'test attribute "student_number"' do
198
- it 'should work' do
199
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
- end
201
- end
202
-
203
- describe 'test attribute "unweighted_gpa"' do
204
- it 'should work' do
205
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
206
- end
207
- end
208
-
209
- describe 'test attribute "weighted_gpa"' do
210
- it 'should work' do
211
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
- end
213
- end
214
-
215
- end
@@ -1,59 +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
- require 'date'
16
-
17
- # Unit tests for Clever::StudentsCreated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'StudentsCreated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::StudentsCreated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of StudentsCreated' do
31
- it 'should create an instance of StudentsCreated' do
32
- expect(@instance).to be_instance_of(Clever::StudentsCreated)
33
- end
34
- end
35
- describe 'test attribute "created"' do
36
- it 'should work' do
37
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
- end
39
- end
40
-
41
- describe 'test attribute "id"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- describe 'test attribute "type"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
- describe 'test attribute "data"' 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
- end