Class: FedexWebServices::Soap::Ship::Volume

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/ShipServiceDefinitions.rb

Overview

http://fedex.com/ws/ship/v12Volume

units - FedexWebServices::Soap::Ship::VolumeUnits
value - SOAP::SOAPDecimal

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(units = nil, value = nil) ⇒ Volume

Returns a new instance of Volume.



3629
3630
3631
3632
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3629

def initialize(units = nil, value = nil)
  @units = units
  @value = value
end

Instance Attribute Details

#unitsObject

Returns the value of attribute units.



3626
3627
3628
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3626

def units
  @units
end

#valueObject

Returns the value of attribute value.



3627
3628
3629
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3627

def value
  @value
end