Exception: Tienda::Errors::InsufficientStockToFulfil

Inherits:
Tienda::Error
  • Object
show all
Defined in:
lib/tienda/errors/insufficient_stock_to_fulfil.rb

Instance Method Summary collapse

Methods inherited from Tienda::Error

#initialize, #message, #options

Constructor Details

This class inherits a constructor from Tienda::Error

Instance Method Details

#orderObject



4
5
6
# File 'lib/tienda/errors/insufficient_stock_to_fulfil.rb', line 4

def order
  @options[:order]
end

#out_of_stock_itemsObject



8
9
10
# File 'lib/tienda/errors/insufficient_stock_to_fulfil.rb', line 8

def out_of_stock_items
  @options[:out_of_stock_items]
end