Class: FedexWebServices::Soap::Rate::Measure

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

Instance Method Summary collapse

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

#quantityObject

Returns the value of attribute quantity.



1644
1645
1646
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1644

def quantity
  @quantity
end

#unitsObject

Returns the value of attribute units.



1645
1646
1647
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1645

def units
  @units
end