Class: AdCenterWrapper::Date
- Inherits:
-
Object
- Object
- AdCenterWrapper::Date
- Defined in:
- lib/adcenter_wrapper_entities.rb,
lib/adcenter_wrapper_entities.rb
Overview
https://adcenter.microsoft.com/v7Date
day - SOAP::SOAPInt
month - SOAP::SOAPInt
year - SOAP::SOAPInt
Instance Attribute Summary collapse
-
#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(day = nil, month = nil, year = nil) ⇒ Date
constructor
A new instance of Date.
Constructor Details
#initialize(day = nil, month = nil, year = nil) ⇒ Date
Returns a new instance of Date.
932 933 934 935 936 |
# File 'lib/adcenter_wrapper_entities.rb', line 932 def initialize(day = nil, month = nil, year = nil) @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
Returns the value of attribute day.
928 929 930 |
# File 'lib/adcenter_wrapper_entities.rb', line 928 def day @day end |
#month ⇒ Object
Returns the value of attribute month.
929 930 931 |
# File 'lib/adcenter_wrapper_entities.rb', line 929 def month @month end |
#year ⇒ Object
Returns the value of attribute year.
930 931 932 |
# File 'lib/adcenter_wrapper_entities.rb', line 930 def year @year end |