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

- old
+ new

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