Sha256: ef25b946a207b190dcb9648f5b3b07c00411a40bb481b1e5c4b5328736fb3a32

Contents?: true

Size: 633 Bytes

Versions: 4

Compression:

Stored size: 633 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]
        define_property :has_menu_section, as: "hasMenuSection", types: [
          "OpenActive::Models::Schema::MenuSection",
        ]

        # @return [OpenActive::Models::Schema::MenuItem]
        define_property :has_menu_item, as: "hasMenuItem", types: [
          "OpenActive::Models::Schema::MenuItem",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/menu.rb
openactive-0.1.1 lib/openactive/models/schema/menu.rb
openactive-0.1.0 lib/openactive/models/schema/menu.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/menu.rb