Class: FedexWebServices::Soap::Rate::Dimensions

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/RateServiceDefinitions.rb

Overview

http://fedex.com/ws/rate/v13Dimensions length - SOAP::SOAPNonNegativeInteger width - SOAP::SOAPNonNegativeInteger height - SOAP::SOAPNonNegativeInteger units - FedexWebServices::Soap::Rate::LinearUnits

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(length = nil, width = nil, height = nil, units = nil) ⇒ Dimensions

Returns a new instance of Dimensions.



887
888
889
890
891
892
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 887

def initialize(length = nil, width = nil, height = nil, units = nil)
  @length = length
  @width = width
  @height = height
  @units = units
end

Instance Attribute Details

#height ⇒ Object

Returns the value of attribute height.



884
885
886
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 884

def height
  @height
end

#length ⇒ Object

Returns the value of attribute length.



882
883
884
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 882

def length
  @length
end

#units ⇒ Object

Returns the value of attribute units.



885
886
887
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 885

def units
  @units
end

#width ⇒ Object

Returns the value of attribute width.



883
884
885
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 883

def width
  @width
end