Class: OpenShip::Shipment::CartonDispenser

Inherits:
Object
  • Object
show all
Defined in:
lib/open-ship/sortr.rb

Instance Method Summary collapse

Instance Method Details

#get_cartonObject



144
145
146
147
148
149
150
# File 'lib/open-ship/sortr.rb', line 144

def get_carton
  cart = OpenShip::Carton.new
  cart.width = 20
  cart.height = 20
  cart.length = 10
  cart
end