Sha256: 977f594bb7e68fada41c80181a740e336fba1cc88e126df480050007328b75d3

Contents?: true

Size: 490 Bytes

Versions: 6

Compression:

Stored size: 490 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,URI]
        define_property :inventory_level, as: "inventoryLevel", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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