Class: FedexWebServices::Soap::Ship::Weight

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

Overview

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Weight.



3642
3643
3644
3645
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3642

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

Instance Attribute Details

#unitsObject

Returns the value of attribute units.



3639
3640
3641
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3639

def units
  @units
end

#valueObject

Returns the value of attribute value.



3640
3641
3642
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3640

def value
  @value
end