Sha256: 16d288e4ae11beca592307f7bfe0aa090bdb189173bef3b014d69cd309e30fe4

Contents?: true

Size: 726 Bytes

Versions: 4

Compression:

Stored size: 726 Bytes

Contents

require 'typesafe_enum'

module OpenActive
  module Enums
    module Schema
      # A list of possible product availability options.
      class ItemAvailability < TypesafeEnum::Base
        new :SoldOut, "https://schema.org/SoldOut"
        new :PreOrder, "https://schema.org/PreOrder"
        new :OutOfStock, "https://schema.org/OutOfStock"
        new :PreSale, "https://schema.org/PreSale"
        new :InStock, "https://schema.org/InStock"
        new :LimitedAvailability, "https://schema.org/LimitedAvailability"
        new :Discontinued, "https://schema.org/Discontinued"
        new :OnlineOnly, "https://schema.org/OnlineOnly"
        new :InStoreOnly, "https://schema.org/InStoreOnly"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/enums/schema/item_availability.rb
openactive-0.1.1 lib/openactive/enums/schema/item_availability.rb
openactive-0.1.0 lib/openactive/enums/schema/item_availability.rb
openactive-0.1.0.rc1 lib/openactive/enums/schema/item_availability.rb