Class: FedexWebServices::Soap::Ship::Dimensions
- Inherits:
-
Object
- Object
- FedexWebServices::Soap::Ship::Dimensions
- Defined in:
- lib/fedex_web_services/soap/ShipServiceDefinitions.rb
Overview
http://fedex.com/ws/ship/v12Dimensions
length - SOAP::SOAPNonNegativeInteger
width - SOAP::SOAPNonNegativeInteger
height - SOAP::SOAPNonNegativeInteger
units - FedexWebServices::Soap::Ship::LinearUnits
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#length ⇒ Object
Returns the value of attribute length.
-
#units ⇒ Object
Returns the value of attribute units.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(length = nil, width = nil, height = nil, units = nil) ⇒ Dimensions
constructor
A new instance of Dimensions.
Constructor Details
#initialize(length = nil, width = nil, height = nil, units = nil) ⇒ Dimensions
Returns a new instance of Dimensions.
1240 1241 1242 1243 1244 1245 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1240 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.
1237 1238 1239 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1237 def height @height end |
#length ⇒ Object
Returns the value of attribute length.
1235 1236 1237 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1235 def length @length end |
#units ⇒ Object
Returns the value of attribute units.
1238 1239 1240 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1238 def units @units end |
#width ⇒ Object
Returns the value of attribute width.
1236 1237 1238 |
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 1236 def width @width end |