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