Class: EBay::DateType
- Inherits:
-
Object
- Object
- EBay::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.
23367 23368 23369 23370 23371 23372 |
# File 'lib/eBay.rb', line 23367 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.
23361 23362 23363 |
# File 'lib/eBay.rb', line 23361 def __xmlele_any @__xmlele_any end |
#day ⇒ Object
Returns the value of attribute day.
23360 23361 23362 |
# File 'lib/eBay.rb', line 23360 def day @day end |
#month ⇒ Object
Returns the value of attribute month.
23359 23360 23361 |
# File 'lib/eBay.rb', line 23359 def month @month end |
#year ⇒ Object
Returns the value of attribute year.
23358 23359 23360 |
# File 'lib/eBay.rb', line 23358 def year @year end |
Instance Method Details
#set_any(elements) ⇒ Object
23363 23364 23365 |
# File 'lib/eBay.rb', line 23363 def set_any(elements) @__xmlele_any = elements end |