Sha256: 49edaf733852cb8c7be84ddec3b366cac3907f33a95803a800830481498e7583

Contents?: true

Size: 844 Bytes

Versions: 4

Compression:

Stored size: 844 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::ProductModel]
        define_property :is_variant_of, as: "isVariantOf", types: [
          "OpenActive::Models::Schema::ProductModel",
        ]

        # @return [OpenActive::Models::Schema::ProductModel]
        define_property :successor_of, as: "successorOf", types: [
          "OpenActive::Models::Schema::ProductModel",
        ]

        # @return [OpenActive::Models::Schema::ProductModel]
        define_property :predecessor_of, as: "predecessorOf", types: [
          "OpenActive::Models::Schema::ProductModel",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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