Class: AdCenterWrapper::Ad

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

Overview

Direct Known Subclasses

MobileAd, TextAd

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(editorialStatus = nil, id = nil, status = nil, type = nil) ⇒ Ad

Returns a new instance of Ad.



17
18
19
20
21
22
# File 'lib/CampaignManagementService.rb', line 17

def initialize(editorialStatus = nil, id = nil, status = nil, type = nil)
  @editorialStatus = editorialStatus
  @id = id
  @status = status
  @type = type
end

Instance Attribute Details

#editorialStatusObject

Returns the value of attribute editorialStatus.



12
13
14
# File 'lib/CampaignManagementService.rb', line 12

def editorialStatus
  @editorialStatus
end

#idObject

Returns the value of attribute id.



13
14
15
# File 'lib/CampaignManagementService.rb', line 13

def id
  @id
end

#statusObject

Returns the value of attribute status.



14
15
16
# File 'lib/CampaignManagementService.rb', line 14

def status
  @status
end

#typeObject

Returns the value of attribute type.



15
16
17
# File 'lib/CampaignManagementService.rb', line 15

def type
  @type
end