Class: FedexWebServices::Soap::Rate::Weight
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::Weight
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13Weight
units - FedexWebServices::Soap::Rate::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.
3073 3074 3075 3076 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 3073 def initialize(units = nil, value = nil) @units = units @value = value end |
Instance Attribute Details
#units ⇒ Object
Returns the value of attribute units.
3070 3071 3072 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 3070 def units @units end |
#value ⇒ Object
Returns the value of attribute value.
3071 3072 3073 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 3071 def value @value end |