Sha256: 2ce0075d70c9c993cbdd90ee8b7c7017d5bd4d4645586ee6b1896772216d5f8f

Contents?: true

Size: 469 Bytes

Versions: 4

Compression:

Stored size: 469 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::QuantitativeValue]
        define_property :inventory_level, as: "inventoryLevel", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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