File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class ApiClient
10
10
resource :course_events
11
11
resource :divisions
12
12
resource :parallels
13
+ resource :parameters
13
14
resource :exams
14
15
resource :semesters
15
16
resource :teachers
Original file line number Diff line number Diff line change 14
14
require 'kosapi_client/entity/teacher_timetable_slot'
15
15
require 'kosapi_client/entity/timetable_slot'
16
16
require 'kosapi_client/entity/parallel'
17
+ require 'kosapi_client/entity/parameter'
17
18
require 'kosapi_client/entity/base_person'
18
19
require 'kosapi_client/entity/person'
19
20
require 'kosapi_client/entity/teacher'
Original file line number Diff line number Diff line change
1
+ module KOSapiClient
2
+ module Entity
3
+ class Parameter < BaseEntity
4
+
5
+ map_data :description , String
6
+ map_data :key , String
7
+ map_data :value , String
8
+ end
9
+
10
+ # XSI type of the Parameter entity is actually KoSetting (wtf?), thus we
11
+ # must define this alias so ResponseConverter can find the entity class.
12
+ KoSetting = Parameter
13
+ end
14
+ end
You can’t perform that action at this time.
0 commit comments