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,107 +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::Contact
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'Contact' do
21
- before do
22
- # run before each test
23
- @instance = Clever::Contact.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of Contact' do
31
- it 'should create an instance of Contact' do
32
- expect(@instance).to be_instance_of(Clever::Contact)
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 "phone"' 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
- describe 'test attribute "phone_type"' do
66
- it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Cell", "Home", "Work", "Other", ""])
69
- # validator.allowable_values.each do |value|
70
- # expect { @instance.phone_type = value }.not_to raise_error
71
- # end
72
- end
73
- end
74
-
75
- describe 'test attribute "relationship"' do
76
- it 'should work' do
77
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Parent", "Grandparent", "Self", "Aunt/Uncle", "Sibling", "Other", ""])
79
- # validator.allowable_values.each do |value|
80
- # expect { @instance.relationship = value }.not_to raise_error
81
- # end
82
- end
83
- end
84
-
85
- describe 'test attribute "sis_id"' do
86
- it 'should work' do
87
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
- end
89
- end
90
-
91
- describe 'test attribute "students"' do
92
- it 'should work' do
93
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
94
- end
95
- end
96
-
97
- describe 'test attribute "type"' 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', ["Parent/Guardian", "Emergency", "Primary", "Secondary", "Family", "Other", ""])
101
- # validator.allowable_values.each do |value|
102
- # expect { @instance.type = value }.not_to raise_error
103
- # end
104
- end
105
- end
106
-
107
- 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::ContactsCreated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'ContactsCreated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::ContactsCreated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of ContactsCreated' do
31
- it 'should create an instance of ContactsCreated' do
32
- expect(@instance).to be_instance_of(Clever::ContactsCreated)
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::ContactsDeleted
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'ContactsDeleted' do
21
- before do
22
- # run before each test
23
- @instance = Clever::ContactsDeleted.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of ContactsDeleted' do
31
- it 'should create an instance of ContactsDeleted' do
32
- expect(@instance).to be_instance_of(Clever::ContactsDeleted)
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::ContactsResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'ContactsResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::ContactsResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of ContactsResponse' do
31
- it 'should create an instance of ContactsResponse' do
32
- expect(@instance).to be_instance_of(Clever::ContactsResponse)
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::ContactsUpdated
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'ContactsUpdated' do
21
- before do
22
- # run before each test
23
- @instance = Clever::ContactsUpdated.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of ContactsUpdated' do
31
- it 'should create an instance of ContactsUpdated' do
32
- expect(@instance).to be_instance_of(Clever::ContactsUpdated)
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::CourseObject
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'CourseObject' do
21
- before do
22
- # run before each test
23
- @instance = Clever::CourseObject.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CourseObject' do
31
- it 'should create an instance of CourseObject' do
32
- expect(@instance).to be_instance_of(Clever::CourseObject)
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::CourseResponse
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'CourseResponse' do
21
- before do
22
- # run before each test
23
- @instance = Clever::CourseResponse.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of CourseResponse' do
31
- it 'should create an instance of CourseResponse' do
32
- expect(@instance).to be_instance_of(Clever::CourseResponse)
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,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::Course
18
- # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
- # Please update as you see appropriate
20
- describe 'Course' do
21
- before do
22
- # run before each test
23
- @instance = Clever::Course.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of Course' do
31
- it 'should create an instance of Course' do
32
- expect(@instance).to be_instance_of(Clever::Course)
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 "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 "name"' 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 "number"' 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