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 shipmentcubicUnits(optional)- the unit of measure for cubic volume defaults to CF for cubic feet
Usage
- Example Usage 1 quote = Odfl.new quote.setCubicVolume(100)
- 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 |