Class: AdCenterWrapper::Date

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#dayObject

Returns the value of attribute day.



928
929
930
# File 'lib/adcenter_wrapper_entities.rb', line 928

def day
  @day
end

#monthObject

Returns the value of attribute month.



929
930
931
# File 'lib/adcenter_wrapper_entities.rb', line 929

def month
  @month
end

#yearObject

Returns the value of attribute year.



930
931
932
# File 'lib/adcenter_wrapper_entities.rb', line 930

def year
  @year
end