lib/openactive/models/schema/nutrition_information.rb in openactive-0.1.2 vs lib/openactive/models/schema/nutrition_information.rb in openactive-0.2.0
- old
+ new
@@ -6,67 +6,78 @@
# @return [String]
def type
"schema:NutritionInformation"
end
- # @return [OpenActive::Models::Schema::Mass]
+ # @return [OpenActive::Models::Schema::Mass,URI]
define_property :protein_content, as: "proteinContent", types: [
"OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [String]
- define_property :serving_size, as: "servingSize", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Mass,URI]
+ define_property :fat_content, as: "fatContent", types: [
+ "OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Mass]
- define_property :saturated_fat_content, as: "saturatedFatContent", types: [
+ # @return [OpenActive::Models::Schema::Mass,URI]
+ define_property :cholesterol_content, as: "cholesterolContent", types: [
"OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Energy]
- define_property :calories, as: "calories", types: [
- "OpenActive::Models::Schema::Energy",
+ # @return [OpenActive::Models::Schema::Mass,URI]
+ define_property :unsaturated_fat_content, as: "unsaturatedFatContent", types: [
+ "OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Mass]
+ # @return [OpenActive::Models::Schema::Mass,URI]
define_property :fiber_content, as: "fiberContent", types: [
"OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Mass]
- define_property :trans_fat_content, as: "transFatContent", types: [
+ # @return [OpenActive::Models::Schema::Mass,URI]
+ define_property :saturated_fat_content, as: "saturatedFatContent", types: [
"OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Mass]
- define_property :sodium_content, as: "sodiumContent", types: [
- "OpenActive::Models::Schema::Mass",
+ # @return [OpenActive::Models::Schema::Energy,URI]
+ define_property :calories, as: "calories", types: [
+ "OpenActive::Models::Schema::Energy",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Mass]
- define_property :fat_content, as: "fatContent", types: [
+ # @return [OpenActive::Models::Schema::Mass,URI]
+ define_property :sugar_content, as: "sugarContent", types: [
"OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Mass]
- define_property :carbohydrate_content, as: "carbohydrateContent", types: [
+ # @return [OpenActive::Models::Schema::Mass,URI]
+ define_property :trans_fat_content, as: "transFatContent", types: [
"OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Mass]
- define_property :cholesterol_content, as: "cholesterolContent", types: [
- "OpenActive::Models::Schema::Mass",
+ # @return [String]
+ define_property :serving_size, as: "servingSize", types: [
+ "string",
]
- # @return [OpenActive::Models::Schema::Mass]
- define_property :sugar_content, as: "sugarContent", types: [
+ # @return [OpenActive::Models::Schema::Mass,URI]
+ define_property :sodium_content, as: "sodiumContent", types: [
"OpenActive::Models::Schema::Mass",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Mass]
- define_property :unsaturated_fat_content, as: "unsaturatedFatContent", types: [
+ # @return [OpenActive::Models::Schema::Mass,URI]
+ define_property :carbohydrate_content, as: "carbohydrateContent", types: [
"OpenActive::Models::Schema::Mass",
+ "URI",
]
end
end
end
end