Class: AdCenterWrapper::Ad

Inherits:
Object
  • Object
show all
Defined in:
lib/adcenter_wrapper_entities.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.



95
96
97
98
99
100
# File 'lib/adcenter_wrapper_entities.rb', line 95

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.



90
91
92
# File 'lib/adcenter_wrapper_entities.rb', line 90

def editorialStatus
  @editorialStatus
end

#idObject

Returns the value of attribute id.



91
92
93
# File 'lib/adcenter_wrapper_entities.rb', line 91

def id
  @id
end

#statusObject

Returns the value of attribute status.



92
93
94
# File 'lib/adcenter_wrapper_entities.rb', line 92

def status
  @status
end

#typeObject

Returns the value of attribute type.



93
94
95
# File 'lib/adcenter_wrapper_entities.rb', line 93

def type
  @type
end