Exception: Shoppe::Errors::InsufficientStockToFulfil

Inherits:
Shoppe::Error
  • Object
show all
Defined in:
lib/shoppe/errors/insufficient_stock_to_fulfil.rb

Instance Method Summary collapse

Methods inherited from Shoppe::Error

#initialize, #message, #options

Constructor Details

This class inherits a constructor from Shoppe::Error

Instance Method Details

#orderObject


5
6
7
# File 'lib/shoppe/errors/insufficient_stock_to_fulfil.rb', line 5

def order
  @options[:order]
end

#out_of_stock_itemsObject


9
10
11
# File 'lib/shoppe/errors/insufficient_stock_to_fulfil.rb', line 9

def out_of_stock_items
  @options[:out_of_stock_items]
end