Skip to content

Commit

Permalink
Change CourseEvent name and note type to MLString.
Browse files Browse the repository at this point in the history
  • Loading branch information
tszolar committed Feb 27, 2015
1 parent 56b8736 commit cd8817e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/kosapi_client/entity/course_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ class CourseEvent < BaseEntity
map_data :course, Link
map_data :creator, Link
map_data :end_date, Time
map_data :name
map_data :note
map_data :name, MLString
map_data :note, MLString
map_data :occupied, Integer
map_data :room, Link
map_data :semester, Link
Expand All @@ -17,4 +17,4 @@ class CourseEvent < BaseEntity

end
end
end
end
2 changes: 1 addition & 1 deletion lib/kosapi_client/entity/exam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ class Exam < BaseEntity

end
end
end
end
2 changes: 1 addition & 1 deletion lib/kosapi_client/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module KOSapiClient
VERSION = '0.0.1'
VERSION = '0.3.0'
end
2 changes: 1 addition & 1 deletion spec/kosapi_client/entity/course_event_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
course: {__content__: 'Computer Structure and Architecture',
xlink_href: 'courses/BI-SAP/'},
end_date: '2010-05-18T14:01:00',
name: {__content__: 'test1 oprava', lang: 'cs'},
name: {__content__: 'test1 oprava', xml_lang: 'cs'},
occupied: '50',
room: {__content__: 'TK:PU1', xlink_href: 'rooms/TK:PU1/'},
semester: {__content__: 'Summer 2009/2010', xlink_href: 'semesters/B092/'},
Expand Down

0 comments on commit cd8817e

Please sign in to comment.