Method: Odfl#addFreight
- Defined in:
- lib/odfl.rb
#addFreight(pallet) ⇒ Object
Adds freight items to the current quote Note: Either before or during the addFreight call you must call the to_hash method on the freight object
Usage
quote = Odfl.new
quote.addFreight(pallet.to_hash)
119 120 121 |
# File 'lib/odfl.rb', line 119 def addFreight(pallet) self.freight.push(pallet) end |