Class: AttributeType
- Inherits:
-
Object
- Object
- AttributeType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsAttributeType
value - ValType
xmlattr_attributeID - SOAP::SOAPInt
xmlattr_attributeLabel - SOAP::SOAPString
Constant Summary collapse
- AttrAttributeID =
XSD::QName.new(nil, "attributeID")
- AttrAttributeLabel =
XSD::QName.new(nil, "attributeLabel")
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(value = []) ⇒ AttributeType
constructor
A new instance of AttributeType.
- #set_any(elements) ⇒ Object
- #xmlattr_attributeID ⇒ Object
- #xmlattr_attributeID=(value) ⇒ Object
- #xmlattr_attributeLabel ⇒ Object
- #xmlattr_attributeLabel=(value) ⇒ Object
Constructor Details
#initialize(value = []) ⇒ AttributeType
Returns a new instance of AttributeType.
16742 16743 16744 16745 16746 |
# File 'lib/eBay.rb', line 16742 def initialize(value = []) @value = value @__xmlele_any = nil @__xmlattr = {} end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
16716 16717 16718 |
# File 'lib/eBay.rb', line 16716 def __xmlele_any @__xmlele_any end |
#value ⇒ Object
Returns the value of attribute value.
16715 16716 16717 |
# File 'lib/eBay.rb', line 16715 def value @value end |
Instance Method Details
#__xmlattr ⇒ Object
16722 16723 16724 |
# File 'lib/eBay.rb', line 16722 def __xmlattr @__xmlattr ||= {} end |
#set_any(elements) ⇒ Object
16718 16719 16720 |
# File 'lib/eBay.rb', line 16718 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_attributeID ⇒ Object
16726 16727 16728 |
# File 'lib/eBay.rb', line 16726 def xmlattr_attributeID __xmlattr[AttrAttributeID] end |
#xmlattr_attributeID=(value) ⇒ Object
16730 16731 16732 |
# File 'lib/eBay.rb', line 16730 def xmlattr_attributeID=(value) __xmlattr[AttrAttributeID] = value end |
#xmlattr_attributeLabel ⇒ Object
16734 16735 16736 |
# File 'lib/eBay.rb', line 16734 def xmlattr_attributeLabel __xmlattr[AttrAttributeLabel] end |
#xmlattr_attributeLabel=(value) ⇒ Object
16738 16739 16740 |
# File 'lib/eBay.rb', line 16738 def xmlattr_attributeLabel=(value) __xmlattr[AttrAttributeLabel] = value end |