Sha256: 00af0923125ca1fc21f1434b6141f68ffa1efc8c5718b7d2f705536c1ba9971c
Contents?: true
Size: 1.24 KB
Versions: 1
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::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::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::NutritionInformation,URI] define_property :nutrition, as: "nutrition", types: [ "OpenActive::Models::Schema::NutritionInformation", "URI", ] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.3.0 | lib/openactive/models/schema/menu_item.rb |