Class: DateType
- Inherits:
-
Object
- Object
- DateType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsDateType
year - SOAP::SOAPInt
month - SOAP::SOAPInt
day - SOAP::SOAPInt
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#day ⇒ Object
Returns the value of attribute day.
-
#month ⇒ Object
Returns the value of attribute month.
-
#year ⇒ Object
Returns the value of attribute year.
Instance Method Summary collapse
-
#initialize(year = nil, month = nil, day = nil) ⇒ DateType
constructor
A new instance of DateType.
- #set_any(elements) ⇒ Object
Constructor Details
#initialize(year = nil, month = nil, day = nil) ⇒ DateType
Returns a new instance of DateType.
18628 18629 18630 18631 18632 18633 |
# File 'lib/eBay.rb', line 18628 def initialize(year = nil, month = nil, day = nil) @year = year @month = month @day = day @__xmlele_any = nil end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
18622 18623 18624 |
# File 'lib/eBay.rb', line 18622 def __xmlele_any @__xmlele_any end |
#day ⇒ Object
Returns the value of attribute day.
18621 18622 18623 |
# File 'lib/eBay.rb', line 18621 def day @day end |
#month ⇒ Object
Returns the value of attribute month.
18620 18621 18622 |
# File 'lib/eBay.rb', line 18620 def month @month end |
#year ⇒ Object
Returns the value of attribute year.
18619 18620 18621 |
# File 'lib/eBay.rb', line 18619 def year @year end |
Instance Method Details
#set_any(elements) ⇒ Object
18624 18625 18626 |
# File 'lib/eBay.rb', line 18624 def set_any(elements) @__xmlele_any = elements end |