commonlit-clever-ruby 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,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::CoursesCreated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'CoursesCreated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::CoursesCreated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CoursesCreated' do
31
- it 'should create an instance of CoursesCreated' do
32
- expect(@instance).to be_instance_of(Clever::CoursesCreated)
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
@@ -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::CoursesDeleted
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'CoursesDeleted' do
21
- before do
22
- # run before each test
23
- @instance = Clever::CoursesDeleted.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CoursesDeleted' do
31
- it 'should create an instance of CoursesDeleted' do
32
- expect(@instance).to be_instance_of(Clever::CoursesDeleted)
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
@@ -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::CoursesResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'CoursesResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::CoursesResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CoursesResponse' do
31
- it 'should create an instance of CoursesResponse' do
32
- expect(@instance).to be_instance_of(Clever::CoursesResponse)
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::CoursesUpdated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'CoursesUpdated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::CoursesUpdated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CoursesUpdated' do
31
- it 'should create an instance of CoursesUpdated' do
32
- expect(@instance).to be_instance_of(Clever::CoursesUpdated)
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::Credentials
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'Credentials' do
21
- before do
22
- # run before each test
23
- @instance = Clever::Credentials.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of Credentials' do
31
- it 'should create an instance of Credentials' do
32
- expect(@instance).to be_instance_of(Clever::Credentials)
33
- end
34
- end
35
- describe 'test attribute "district_username"' 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::DistrictAdminObject
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'DistrictAdminObject' do
21
- before do
22
- # run before each test
23
- @instance = Clever::DistrictAdminObject.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of DistrictAdminObject' do
31
- it 'should create an instance of DistrictAdminObject' do
32
- expect(@instance).to be_instance_of(Clever::DistrictAdminObject)
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::DistrictAdminResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'DistrictAdminResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::DistrictAdminResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of DistrictAdminResponse' do
31
- it 'should create an instance of DistrictAdminResponse' do
32
- expect(@instance).to be_instance_of(Clever::DistrictAdminResponse)
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::DistrictAdmin
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'DistrictAdmin' do
21
- before do
22
- # run before each test
23
- @instance = Clever::DistrictAdmin.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of DistrictAdmin' do
31
- it 'should create an instance of DistrictAdmin' do
32
- expect(@instance).to be_instance_of(Clever::DistrictAdmin)
33
- end
34
- end
35
- describe 'test attribute "district"' 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 "email"' 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 "id"' 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 "name"' 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 "title"' 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::DistrictAdminsResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'DistrictAdminsResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::DistrictAdminsResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of DistrictAdminsResponse' do
31
- it 'should create an instance of DistrictAdminsResponse' do
32
- expect(@instance).to be_instance_of(Clever::DistrictAdminsResponse)
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