Class: FedexWebServices::Soap::Ship::Weight
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::Weight
- 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
-
#units ⇒ Object
Returns the value of attribute units.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(units = nil, value = nil) ⇒ Weight
constructor
A new instance of Weight.
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
#units ⇒ Object
Returns the value of attribute units.
3639 3640 3641 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3639 def units @units end |
#value ⇒ Object
Returns the value of attribute value.
3640 3641 3642 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 3640 def value @value end |