Class: AdCenterWrapper::AdApiError

Inherits:
Object
  • Object
show all
Defined in:
lib/OptimizerService.rb,
lib/ReportingService.rb,
lib/NotificationService.rb,
lib/AdIntelligenceService.rb,
lib/AdministrationService.rb,
lib/CustomerBillingService.rb,
lib/CampaignManagementService.rb,
lib/CustomerManagementService.rb
more...

Overview

https://adapi.microsoft.comAdApiError

code - SOAP::SOAPInt
detail - SOAP::SOAPString
errorCode - SOAP::SOAPString
message - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, detail = nil, errorCode = nil, message = nil) ⇒ AdApiError

Returns a new instance of AdApiError.

[View source]

166
167
168
169
170
171
# File 'lib/OptimizerService.rb', line 166

def initialize(code = nil, detail = nil, errorCode = nil, message = nil)
  @code = code
  @detail = detail
  @errorCode = errorCode
  @message = message
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.


161
162
163
# File 'lib/OptimizerService.rb', line 161

def code
  @code
end

#detailObject

Returns the value of attribute detail.


162
163
164
# File 'lib/OptimizerService.rb', line 162

def detail
  @detail
end

#errorCodeObject

Returns the value of attribute errorCode.


163
164
165
# File 'lib/OptimizerService.rb', line 163

def errorCode
  @errorCode
end

#messageObject

Returns the value of attribute message.


164
165
166
# File 'lib/OptimizerService.rb', line 164

def message
  @message
end