Class: AdCenterWrapper::MonthAndYear

Inherits:
Object
  • Object
show all
Defined in:
lib/AdIntelligenceService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(month = nil, year = nil) ⇒ MonthAndYear

Returns a new instance of MonthAndYear.


270
271
272
273
# File 'lib/AdIntelligenceService.rb', line 270

def initialize(month = nil, year = nil)
  @month = month
  @year = year
end

Instance Attribute Details

#monthObject

Returns the value of attribute month.


267
268
269
# File 'lib/AdIntelligenceService.rb', line 267

def month
  @month
end

#yearObject

Returns the value of attribute year.


268
269
270
# File 'lib/AdIntelligenceService.rb', line 268

def year
  @year
end