Sha256: d37112111c0b6efb4fdd36dff685e8fc5845c8e16afdcf52d8ef91301237ee65

Contents?: true

Size: 221 Bytes

Versions: 9

Compression:

Stored size: 221 Bytes

Contents

module Tienda
  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

9 entries across 9 versions & 1 rubygems

Version Path
tienda-2.1.3 lib/tienda/errors/insufficient_stock_to_fulfil.rb
tienda-2.1.2 lib/tienda/errors/insufficient_stock_to_fulfil.rb
tienda-2.1.1 lib/tienda/errors/insufficient_stock_to_fulfil.rb
tienda-2.1.0 lib/tienda/errors/insufficient_stock_to_fulfil.rb
tienda-2.0.2 lib/tienda/errors/insufficient_stock_to_fulfil.rb
tienda-2.0.1 lib/tienda/errors/insufficient_stock_to_fulfil.rb
tienda-1.1.2 lib/tienda/errors/insufficient_stock_to_fulfil.rb
tienda-1.1.1 lib/tienda/errors/insufficient_stock_to_fulfil.rb
tienda-1.1.0 lib/tienda/errors/insufficient_stock_to_fulfil.rb