lib/openactive/models/schema/course_instance.rb in openactive-0.1.2 vs lib/openactive/models/schema/course_instance.rb in openactive-0.2.0
- old
+ new
@@ -6,23 +6,24 @@
# @return [String]
def type
"schema:CourseInstance"
end
- # @return [String]
- define_property :course_workload, as: "courseWorkload", types: [
+ # @return [String,URI]
+ define_property :course_mode, as: "courseMode", types: [
"string",
+ "URI",
]
- # @return [URI,String]
- define_property :course_mode, as: "courseMode", types: [
- "URI",
+ # @return [String]
+ define_property :course_workload, as: "courseWorkload", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Person]
+ # @return [OpenActive::Models::Schema::Person,URI]
define_property :instructor, as: "instructor", types: [
"OpenActive::Models::Schema::Person",
+ "URI",
]
end
end
end
end