Class: FedexWebServices::Soap::Rate::Measure
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::Measure
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13Measure
quantity - SOAP::SOAPDecimal
units - SOAP::SOAPString
Instance Attribute Summary collapse
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#units ⇒ Object
Returns the value of attribute units.
Instance Method Summary collapse
-
#initialize(quantity = nil, units = nil) ⇒ Measure
constructor
A new instance of Measure.
Constructor Details
#initialize(quantity = nil, units = nil) ⇒ Measure
Returns a new instance of Measure.
1647 1648 1649 1650 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1647 def initialize(quantity = nil, units = nil) @quantity = quantity @units = units end |
Instance Attribute Details
#quantity ⇒ Object
Returns the value of attribute quantity.
1644 1645 1646 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1644 def quantity @quantity end |
#units ⇒ Object
Returns the value of attribute units.
1645 1646 1647 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1645 def units @units end |