Class: FedexWebServices::Soap::Rate::Weight

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

Instance Method Summary collapse

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

#unitsObject

Returns the value of attribute units.



3070
3071
3072
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 3070

def units
  @units
end

#valueObject

Returns the value of attribute value.



3071
3072
3073
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 3071

def value
  @value
end