Sha256: 7b4ac6f5db969436af88532c6189d7ba063bdb8d5a452cb9253ed3059f22be10

Contents?: true

Size: 647 Bytes

Versions: 4

Compression:

Stored size: 647 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class MenuSection < ::OpenActive::Models::Schema::CreativeWork
        # @!attribute type
        # @return [String]
        def type
          "schema:MenuSection"
        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_section.rb
openactive-0.1.1 lib/openactive/models/schema/menu_section.rb
openactive-0.1.0 lib/openactive/models/schema/menu_section.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/menu_section.rb