lib/openactive/models/schema/role.rb in openactive-0.1.2 vs lib/openactive/models/schema/role.rb in openactive-0.2.0
- old
+ new
@@ -6,22 +6,10 @@
# @return [String]
def type
"schema:Role"
end
- # @return [URI,String]
- define_property :role_name, as: "roleName", types: [
- "URI",
- "string",
- ]
-
- # @return [String,URI]
- define_property :named_position, as: "namedPosition", types: [
- "string",
- "URI",
- ]
-
# @return [DateTime,Date,nil]
define_property :start_date, as: "startDate", types: [
"DateTime",
"Date",
"null",
@@ -30,9 +18,21 @@
# @return [Date,DateTime,nil]
define_property :end_date, as: "endDate", types: [
"Date",
"DateTime",
"null",
+ ]
+
+ # @return [URI,String]
+ define_property :named_position, as: "namedPosition", types: [
+ "URI",
+ "string",
+ ]
+
+ # @return [URI,String]
+ define_property :role_name, as: "roleName", types: [
+ "URI",
+ "string",
]
end
end
end
end