Sha256: 51688fccbed2d416ea45d227efad0aae4008fc701d96a55e9f78fe4865f838f1
Contents?: true
Size: 320 Bytes
Versions: 4
Compression:
Stored size: 320 Bytes
Contents
module Shoppe module Errors class NotEnoughStock < Error def initialize(options) @options = options end def available_stock @options[:ordered_item].stock end def requested_stock @options[:requested_stock] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems