lib/openactive/models/schema/food_establishment.rb in openactive-0.3.0 vs lib/openactive/models/schema/food_establishment.rb in openactive-0.4.0

- old
+ new

@@ -6,18 +6,14 @@ # @return [String] def type "schema:FoodEstablishment" end - # @return [OpenActive::Models::Schema::Rating,URI] - define_property :star_rating, as: "starRating", types: [ - "OpenActive::Models::Schema::Rating", + # @return [URI,OpenActive::Models::Schema::Menu,String] + define_property :has_menu, as: "hasMenu", types: [ "URI", - ] - - # @return [String] - define_property :serves_cuisine, as: "servesCuisine", types: [ + "OpenActive::Models::Schema::Menu", "string", ] # @return [String,Boolean,URI,nil] define_property :accepts_reservations, as: "acceptsReservations", types: [ @@ -25,14 +21,18 @@ "bool", "URI", "null", ] - # @return [URI,String,OpenActive::Models::Schema::Menu] - define_property :has_menu, as: "hasMenu", types: [ + # @return [OpenActive::Models::Schema::Rating,URI] + define_property :star_rating, as: "starRating", types: [ + "OpenActive::Models::Schema::Rating", "URI", + ] + + # @return [String] + define_property :serves_cuisine, as: "servesCuisine", types: [ "string", - "OpenActive::Models::Schema::Menu", ] # @return [URI,OpenActive::Models::Schema::Menu,String] define_property :menu, as: "menu", types: [ "URI",