Sha256: 188280f3ef6a4b7dce2a649111a841e4b6125c6ba83c0871685a2277da1336a9

Contents?: true

Size: 675 Bytes

Versions: 1

Compression:

Stored size: 675 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class Menu < ::OpenActive::Models::Schema::CreativeWork
        # @!attribute type
        # @return [String]
        def type
          "schema:Menu"
        end

        # @return [OpenActive::Models::Schema::MenuSection,URI]
        define_property :has_menu_section, as: "hasMenuSection", types: [
          "OpenActive::Models::Schema::MenuSection",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MenuItem,URI]
        define_property :has_menu_item, as: "hasMenuItem", types: [
          "OpenActive::Models::Schema::MenuItem",
          "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.rb