lib/openactive/models/schema/menu_section.rb in openactive-0.1.2 vs lib/openactive/models/schema/menu_section.rb in openactive-0.2.0
- old
+ new
@@ -6,17 +6,19 @@
# @return [String]
def type
"schema:MenuSection"
end
- # @return [OpenActive::Models::Schema::MenuSection]
- define_property :has_menu_section, as: "hasMenuSection", types: [
- "OpenActive::Models::Schema::MenuSection",
- ]
-
- # @return [OpenActive::Models::Schema::MenuItem]
+ # @return [OpenActive::Models::Schema::MenuItem,URI]
define_property :has_menu_item, as: "hasMenuItem", types: [
"OpenActive::Models::Schema::MenuItem",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::MenuSection,URI]
+ define_property :has_menu_section, as: "hasMenuSection", types: [
+ "OpenActive::Models::Schema::MenuSection",
+ "URI",
]
end
end
end
end