Sha256: 8fe8c78e9ccc68b5e1b0fe3a005acc5e4db9d3a8ccfb7053290cfb50099af70d

Contents?: true

Size: 715 Bytes

Versions: 4

Compression:

Stored size: 715 Bytes

Contents

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

        # @return [String]
        define_property :course_workload, as: "courseWorkload", types: [
          "string",
        ]

        # @return [URI,String]
        define_property :course_mode, as: "courseMode", types: [
          "URI",
          "string",
        ]

        # @return [OpenActive::Models::Schema::Person]
        define_property :instructor, as: "instructor", types: [
          "OpenActive::Models::Schema::Person",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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