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