Sha256: 3627505f17132ca3be3d8989914b54187edc7f765948962e93ad3d8c6701a44e

Contents?: true

Size: 243 Bytes

Versions: 6

Compression:

Stored size: 243 Bytes

Contents

module KktShoppe
  module Errors
    class InsufficientStockToFulfil < Error
      
      def order
        @options[:order]
      end
      
      def out_of_stock_items
        @options[:out_of_stock_items]
      end
      
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kkt_shoppe-2.0.2 lib/kkt_shoppe/errors/insufficient_stock_to_fulfil.rb
kkt_shoppe-2.0.1 lib/kkt_shoppe/errors/insufficient_stock_to_fulfil.rb
kkt_shoppe-2.0.0 lib/kkt_shoppe/errors/insufficient_stock_to_fulfil.rb
kkt_shoppe-1.3.0 lib/kkt_shoppe/errors/insufficient_stock_to_fulfil.rb
kkt_shoppe-1.2.1 lib/kkt_shoppe/errors/insufficient_stock_to_fulfil.rb
kkt_shoppe-1.2.0 lib/kkt_shoppe/errors/insufficient_stock_to_fulfil.rb