Exception: KktShoppe::Errors::InsufficientStockToFulfil

Inherits:
KktShoppe::Error
  • Object
show all
Defined in:
lib/kkt_shoppe/errors/insufficient_stock_to_fulfil.rb

Instance Method Summary collapse

Methods inherited from KktShoppe::Error

#initialize, #message, #options

Constructor Details

This class inherits a constructor from KktShoppe::Error

Instance Method Details

#orderObject



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

def order
  @options[:order]
end

#out_of_stock_itemsObject



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

def out_of_stock_items
  @options[:out_of_stock_items]
end