Class: FedexWebServices::Soap::Rate::Distance
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Rate::Distance
- Defined in:
- lib/fedex_web_services/soap/RateServiceDefinitions.rb
Overview
http://fedex.com/ws/rate/v13Distance
value - SOAP::SOAPDecimal
units - FedexWebServices::Soap::Rate::DistanceUnits
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(value = nil, units = nil) ⇒ Distance
constructor
A new instance of Distance.
Constructor Details
#initialize(value = nil, units = nil) ⇒ Distance
Returns a new instance of Distance.
902 903 904 905 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 902 def initialize(value = nil, units = nil) @value = value @units = units end |
Instance Attribute Details
#units ⇒ Object
Returns the value of attribute units.
900 901 902 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 900 def units @units end |
#value ⇒ Object
Returns the value of attribute value.
899 900 901 |
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 899 def value @value end |