Sha256: 2d6e60897429d2fce2d35468c9ed69b1ad0a4aee12af81e63ebe8d0c264fd6c4

Contents?: true

Size: 675 Bytes

Versions: 5

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/menu.rb
openactive-0.4.0 lib/openactive/models/schema/menu.rb
openactive-0.2.2 lib/openactive/models/schema/menu.rb
openactive-0.2.1 lib/openactive/models/schema/menu.rb
openactive-0.2.0 lib/openactive/models/schema/menu.rb