Sha256: e4831ae2024f1271c9dadf0fb838c7c067ea7a9a9352f3f339690cd14c6061de
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
module OpenActive module Models module Schema class MenuItem < ::OpenActive::Models::Schema::Intangible # @!attribute type # @return [String] def type "schema:MenuItem" end # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI] define_property :offers, as: "offers", types: [ "OpenActive::Models::Schema::Offer", "OpenActive::Models::Schema::Demand", "URI", ] # @return [OpenActive::Enums::Schema::RestrictedDiet,nil] define_property :suitable_for_diet, as: "suitableForDiet", types: [ "OpenActive::Enums::Schema::RestrictedDiet", "null", ] # @return [OpenActive::Models::Schema::MenuItem,OpenActive::Models::Schema::MenuSection,URI] define_property :menu_add_on, as: "menuAddOn", types: [ "OpenActive::Models::Schema::MenuItem", "OpenActive::Models::Schema::MenuSection", "URI", ] # @return [OpenActive::Models::Schema::NutritionInformation,URI] define_property :nutrition, as: "nutrition", types: [ "OpenActive::Models::Schema::NutritionInformation", "URI", ] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.2.2 | lib/openactive/models/schema/menu_item.rb |
openactive-0.2.1 | lib/openactive/models/schema/menu_item.rb |
openactive-0.2.0 | lib/openactive/models/schema/menu_item.rb |