Method: Odfl#setCubicVolume

Defined in:
lib/odfl.rb

#setCubicVolume(totalCubicVolume, cubicUnits = "CF") ⇒ Object

Sets cubic volume for rate request

Attributes

  • totalCubicVolume - the total volume of the shipment

  • cubicUnits (optional)- the unit of measure for cubic volume defaults to CF for cubic feet

Usage

  1. Example Usage 1

quote = Odfl.new
quote.setCubicVolume(100)
  1. Example Usage 2

quote = Odfl.new
quote.setCubicVolume(100, "CF")


168
169
170
171
# File 'lib/odfl.rb', line 168

def setCubicVolume(totalCubicVolume, cubicUnits = "CF")
  @totalCubicVolume = totalCubicVolume
  @cubicUnits = cubicUnits
end