Class: EBay::AttributeType
- Inherits:
-
Object
- Object
- EBay::AttributeType
- Defined in:
- lib/eBay.rb
Overview
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.
20823 20824 20825 20826 20827 |
# File 'lib/eBay.rb', line 20823 def initialize(value = []) @value = value @__xmlele_any = nil @__xmlattr = {} end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
20797 20798 20799 |
# File 'lib/eBay.rb', line 20797 def __xmlele_any @__xmlele_any end |
#value ⇒ Object
Returns the value of attribute value.
20796 20797 20798 |
# File 'lib/eBay.rb', line 20796 def value @value end |
Instance Method Details
#__xmlattr ⇒ Object
20803 20804 20805 |
# File 'lib/eBay.rb', line 20803 def __xmlattr @__xmlattr ||= {} end |
#set_any(elements) ⇒ Object
20799 20800 20801 |
# File 'lib/eBay.rb', line 20799 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_attributeID ⇒ Object
20807 20808 20809 |
# File 'lib/eBay.rb', line 20807 def xmlattr_attributeID __xmlattr[AttrAttributeID] end |
#xmlattr_attributeID=(value) ⇒ Object
20811 20812 20813 |
# File 'lib/eBay.rb', line 20811 def xmlattr_attributeID=(value) __xmlattr[AttrAttributeID] = value end |
#xmlattr_attributeLabel ⇒ Object
20815 20816 20817 |
# File 'lib/eBay.rb', line 20815 def xmlattr_attributeLabel __xmlattr[AttrAttributeLabel] end |
#xmlattr_attributeLabel=(value) ⇒ Object
20819 20820 20821 |
# File 'lib/eBay.rb', line 20819 def xmlattr_attributeLabel=(value) __xmlattr[AttrAttributeLabel] = value end |