lib/openactive/models/schema/cook_action.rb in openactive-0.3.0 vs lib/openactive/models/schema/cook_action.rb in openactive-0.4.0
- old
+ new
@@ -6,25 +6,25 @@
# @return [String]
def type
"schema:CookAction"
end
- # @return [OpenActive::Models::Schema::Recipe,URI]
- define_property :recipe, as: "recipe", types: [
- "OpenActive::Models::Schema::Recipe",
+ # @return [OpenActive::Models::Schema::FoodEvent,URI]
+ define_property :food_event, as: "foodEvent", types: [
+ "OpenActive::Models::Schema::FoodEvent",
"URI",
]
- # @return [OpenActive::Models::Schema::Place,OpenActive::Models::Schema::FoodEstablishment,URI]
+ # @return [OpenActive::Models::Schema::FoodEstablishment,OpenActive::Models::Schema::Place,URI]
define_property :food_establishment, as: "foodEstablishment", types: [
- "OpenActive::Models::Schema::Place",
"OpenActive::Models::Schema::FoodEstablishment",
+ "OpenActive::Models::Schema::Place",
"URI",
]
- # @return [OpenActive::Models::Schema::FoodEvent,URI]
- define_property :food_event, as: "foodEvent", types: [
- "OpenActive::Models::Schema::FoodEvent",
+ # @return [OpenActive::Models::Schema::Recipe,URI]
+ define_property :recipe, as: "recipe", types: [
+ "OpenActive::Models::Schema::Recipe",
"URI",
]
end
end
end