Sha256: 71e320f844e0b912437bfbfaf32e80bf5ef76fd6c203c453da9ee7f2930163d2

Contents?: true

Size: 657 Bytes

Versions: 5

Compression:

Stored size: 657 Bytes

Contents

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

        # @return [OpenActive::Enums::PropertyEnumeration,OpenActive::Models::Schema::Enumeration,OpenActive::Models::Schema::Class,URI,nil]
        define_property :superseded_by, as: "supersededBy", types: [
          "OpenActive::Enums::PropertyEnumeration",
          "OpenActive::Models::Schema::Enumeration",
          "OpenActive::Models::Schema::Class",
          "URI",
          "null",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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