Class: AdCenterWrapper::Date

Inherits:
Object
  • Object
show all
Defined in:
lib/ReportingService.rb,
lib/CampaignManagementService.rb
more...

Overview

https://adcenter.microsoft.com/v8Date

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.

[View source]

859
860
861
862
863
# File 'lib/ReportingService.rb', line 859

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.


855
856
857
# File 'lib/ReportingService.rb', line 855

def day
  @day
end

#monthObject

Returns the value of attribute month.


856
857
858
# File 'lib/ReportingService.rb', line 856

def month
  @month
end

#yearObject

Returns the value of attribute year.


857
858
859
# File 'lib/ReportingService.rb', line 857

def year
  @year
end