Class: YSM::AdService::UpdateForAd

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/AdService.rb,
lib/ysm4r/v2/AdService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iD = nil, accountID = nil, createTimestamp = nil, description = nil, displayUrl = nil, editorialStatus = nil, lastUpdateTimestamp = nil, shortDescription = nil, title = nil, url = nil) ⇒ UpdateForAd

Returns a new instance of UpdateForAd.



153
154
155
156
157
158
159
160
161
162
163
164
# File 'lib/ysm4r/v1/AdService.rb', line 153

def initialize(iD = nil, accountID = nil, createTimestamp = nil, description = nil, displayUrl = nil, editorialStatus = nil, lastUpdateTimestamp = nil, shortDescription = nil, title = nil, url = nil)
  @iD = iD
  @accountID = accountID
  @createTimestamp = createTimestamp
  @description = description
  @displayUrl = displayUrl
  @editorialStatus = editorialStatus
  @lastUpdateTimestamp = lastUpdateTimestamp
  @shortDescription = shortDescription
  @title = title
  @url = url
end

Instance Attribute Details

#accountIDObject

Returns the value of attribute accountID.



143
144
145
# File 'lib/ysm4r/v1/AdService.rb', line 143

def accountID
  @accountID
end

#createTimestampObject

Returns the value of attribute createTimestamp.



144
145
146
# File 'lib/ysm4r/v1/AdService.rb', line 144

def createTimestamp
  @createTimestamp
end

#descriptionObject

Returns the value of attribute description.



145
146
147
# File 'lib/ysm4r/v1/AdService.rb', line 145

def description
  @description
end

#displayUrlObject

Returns the value of attribute displayUrl.



146
147
148
# File 'lib/ysm4r/v1/AdService.rb', line 146

def displayUrl
  @displayUrl
end

#editorialStatusObject

Returns the value of attribute editorialStatus.



147
148
149
# File 'lib/ysm4r/v1/AdService.rb', line 147

def editorialStatus
  @editorialStatus
end

#iDObject

Returns the value of attribute iD.



142
143
144
# File 'lib/ysm4r/v1/AdService.rb', line 142

def iD
  @iD
end

#lastUpdateTimestampObject

Returns the value of attribute lastUpdateTimestamp.



148
149
150
# File 'lib/ysm4r/v1/AdService.rb', line 148

def lastUpdateTimestamp
  @lastUpdateTimestamp
end

#shortDescriptionObject

Returns the value of attribute shortDescription.



149
150
151
# File 'lib/ysm4r/v1/AdService.rb', line 149

def shortDescription
  @shortDescription
end

#titleObject

Returns the value of attribute title.



150
151
152
# File 'lib/ysm4r/v1/AdService.rb', line 150

def title
  @title
end

#urlObject

Returns the value of attribute url.



151
152
153
# File 'lib/ysm4r/v1/AdService.rb', line 151

def url
  @url
end