lib/openactive/models/schema/role.rb in openactive-0.3.0 vs lib/openactive/models/schema/role.rb in openactive-0.4.0
- old
+ new
@@ -12,27 +12,27 @@
define_property :named_position, as: "namedPosition", types: [
"string",
"URI",
]
- # @return [DateTime,Date,nil]
+ # @return [Date,DateTime,nil]
define_property :start_date, as: "startDate", types: [
- "DateTime",
"Date",
+ "DateTime",
"null",
]
+ # @return [String,URI]
+ define_property :role_name, as: "roleName", types: [
+ "string",
+ "URI",
+ ]
+
# @return [Date,DateTime,nil]
define_property :end_date, as: "endDate", types: [
"Date",
"DateTime",
"null",
- ]
-
- # @return [URI,String]
- define_property :role_name, as: "roleName", types: [
- "URI",
- "string",
]
end
end
end
end