Class: FedexWebServices::Soap::Rate::Distance

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#unitsObject

Returns the value of attribute units.



900
901
902
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 900

def units
  @units
end

#valueObject

Returns the value of attribute value.



899
900
901
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 899

def value
  @value
end