Sha256: a53cf1628b63671dc773cbaada1a2f2c702fbc9d4d4d39fe065921ea9ec8c25e

Contents?: true

Size: 631 Bytes

Versions: 4

Compression:

Stored size: 631 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from [CourseInstance](https://schema.org/CourseInstance), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
    class CourseInstance < ::OpenActive::Models::Event
      # @!attribute type
      # @return [String]
      def type
        "CourseInstance"
      end

      # @return [OpenActive::Models::Course]
      define_property :course, as: "beta:course", types: [
        "OpenActive::Models::Course",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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