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::TeachersResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'TeachersResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::TeachersResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of TeachersResponse' do
31
- it 'should create an instance of TeachersResponse' do
32
- expect(@instance).to be_instance_of(Clever::TeachersResponse)
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::TeachersUpdated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'TeachersUpdated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::TeachersUpdated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of TeachersUpdated' do
31
- it 'should create an instance of TeachersUpdated' do
32
- expect(@instance).to be_instance_of(Clever::TeachersUpdated)
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::TermObject
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'TermObject' do
21
- before do
22
- # run before each test
23
- @instance = Clever::TermObject.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of TermObject' do
31
- it 'should create an instance of TermObject' do
32
- expect(@instance).to be_instance_of(Clever::TermObject)
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::TermResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'TermResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::TermResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of TermResponse' do
31
- it 'should create an instance of TermResponse' do
32
- expect(@instance).to be_instance_of(Clever::TermResponse)
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::Term
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'Term' do
21
- before do
22
- # run before each test
23
- @instance = Clever::Term.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of Term' do
31
- it 'should create an instance of Term' do
32
- expect(@instance).to be_instance_of(Clever::Term)
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 "end_date"' 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 "start_date"' 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,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::TermsCreated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'TermsCreated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::TermsCreated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of TermsCreated' do
31
- it 'should create an instance of TermsCreated' do
32
- expect(@instance).to be_instance_of(Clever::TermsCreated)
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::TermsDeleted
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'TermsDeleted' do
21
- before do
22
- # run before each test
23
- @instance = Clever::TermsDeleted.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of TermsDeleted' do
31
- it 'should create an instance of TermsDeleted' do
32
- expect(@instance).to be_instance_of(Clever::TermsDeleted)
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::TermsResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'TermsResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::TermsResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of TermsResponse' do
31
- it 'should create an instance of TermsResponse' do
32
- expect(@instance).to be_instance_of(Clever::TermsResponse)
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::TermsUpdated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'TermsUpdated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::TermsUpdated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of TermsUpdated' do
31
- it 'should create an instance of TermsUpdated' do
32
- expect(@instance).to be_instance_of(Clever::TermsUpdated)
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