Class: EBay::DistanceType
- Inherits:
-
Object
- Object
- EBay::DistanceType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsDistanceType
distanceMeasurement - SOAP::SOAPInt
distanceUnit - SOAP::SOAPString
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#distanceMeasurement ⇒ Object
Returns the value of attribute distanceMeasurement.
-
#distanceUnit ⇒ Object
Returns the value of attribute distanceUnit.
Instance Method Summary collapse
-
#initialize(distanceMeasurement = nil, distanceUnit = nil) ⇒ DistanceType
constructor
A new instance of DistanceType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(distanceMeasurement = nil, distanceUnit = nil) ⇒ DistanceType
Returns a new instance of DistanceType.
23645 23646 23647 23648 23649 |
# File 'lib/eBay.rb', line 23645 def initialize(distanceMeasurement = nil, distanceUnit = nil) @distanceMeasurement = distanceMeasurement @distanceUnit = distanceUnit @__xmlele_any = nil end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
23639 23640 23641 |
# File 'lib/eBay.rb', line 23639 def __xmlele_any @__xmlele_any end |
#distanceMeasurement ⇒ Object
Returns the value of attribute distanceMeasurement.
23637 23638 23639 |
# File 'lib/eBay.rb', line 23637 def distanceMeasurement @distanceMeasurement end |
#distanceUnit ⇒ Object
Returns the value of attribute distanceUnit.
23638 23639 23640 |
# File 'lib/eBay.rb', line 23638 def distanceUnit @distanceUnit end |
Instance Method Details
#set_any(elements) ⇒ Object
23641 23642 23643 |
# File 'lib/eBay.rb', line 23641 def set_any(elements) @__xmlele_any = elements end |