Sha256: 0d2dc7f06d9b500037cb3912b0b275b3467f7ef7e30bff238ef146489bcbb5c0
Contents?: true
Size: 250 Bytes
Versions: 3
Compression:
Stored size: 250 Bytes
Contents
module KktShoppe module Errors class NotEnoughStock < Error def available_stock @options[:ordered_item].stock end def requested_stock @options[:requested_stock] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kkt_shoppe-1.1.2 | lib/kkt_shoppe/errors/not_enough_stock.rb |
kkt_shoppe-1.1.1 | lib/kkt_shoppe/errors/not_enough_stock.rb |
kkt_shoppe-1.1.0 | lib/kkt_shoppe/errors/not_enough_stock.rb |