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

- old
+ new

@@ -6,65 +6,65 @@ # @return [String] def type "schema:Recipe" end - # @return [String,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::ItemList,URI] + # @return [String,OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::CreativeWork,URI] define_property :recipe_instructions, as: "recipeInstructions", types: [ "string", - "OpenActive::Models::Schema::CreativeWork", "OpenActive::Models::Schema::ItemList", + "OpenActive::Models::Schema::CreativeWork", "URI", ] # @return [String] - define_property :ingredients, as: "ingredients", types: [ + define_property :recipe_category, as: "recipeCategory", types: [ "string", ] - # @return [String] - define_property :recipe_cuisine, as: "recipeCuisine", types: [ - "string", + # @return [OpenActive::Models::Schema::NutritionInformation,URI] + define_property :nutrition, as: "nutrition", types: [ + "OpenActive::Models::Schema::NutritionInformation", + "URI", ] # @return [OpenActive::Enums::Schema::RestrictedDiet,nil] define_property :suitable_for_diet, as: "suitableForDiet", types: [ "OpenActive::Enums::Schema::RestrictedDiet", "null", ] - # @return [OpenActive::Models::Schema::NutritionInformation,URI] - define_property :nutrition, as: "nutrition", types: [ - "OpenActive::Models::Schema::NutritionInformation", + # @return [String] + define_property :recipe_cuisine, as: "recipeCuisine", types: [ + "string", + ] + + # @return [ActiveSupport::Duration,URI,nil] + define_property :cook_time, as: "cookTime", types: [ + "DateInterval", "URI", + "null", ] - # @return [String] - define_property :cooking_method, as: "cookingMethod", types: [ + # @return [OpenActive::Models::Schema::QuantitativeValue,String,URI] + define_property :recipe_yield, as: "recipeYield", types: [ + "OpenActive::Models::Schema::QuantitativeValue", "string", + "URI", ] # @return [String] define_property :recipe_ingredient, as: "recipeIngredient", types: [ "string", ] - # @return [String,OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :recipe_yield, as: "recipeYield", types: [ + # @return [String] + define_property :cooking_method, as: "cookingMethod", types: [ "string", - "OpenActive::Models::Schema::QuantitativeValue", - "URI", ] - # @return [ActiveSupport::Duration,URI,nil] - define_property :cook_time, as: "cookTime", types: [ - "DateInterval", - "URI", - "null", - ] - # @return [String] - define_property :recipe_category, as: "recipeCategory", types: [ + define_property :ingredients, as: "ingredients", types: [ "string", ] end end end