Class: AdCenterWrapper::BatchError

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

Overview

https://adcenter.microsoft.com/v8BatchError

code - SOAP::SOAPInt
details - SOAP::SOAPString
errorCode - SOAP::SOAPString
index - SOAP::SOAPInt
message - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, details = nil, errorCode = nil, index = nil, message = nil) ⇒ BatchError

Returns a new instance of BatchError.

[View source]

23
24
25
26
27
28
29
# File 'lib/OptimizerService.rb', line 23

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

Instance Attribute Details

#codeObject

Returns the value of attribute code.


17
18
19
# File 'lib/OptimizerService.rb', line 17

def code
  @code
end

#detailsObject

Returns the value of attribute details.


18
19
20
# File 'lib/OptimizerService.rb', line 18

def details
  @details
end

#errorCodeObject

Returns the value of attribute errorCode.


19
20
21
# File 'lib/OptimizerService.rb', line 19

def errorCode
  @errorCode
end

#indexObject

Returns the value of attribute index.


20
21
22
# File 'lib/OptimizerService.rb', line 20

def index
  @index
end

#messageObject

Returns the value of attribute message.


21
22
23
# File 'lib/OptimizerService.rb', line 21

def message
  @message
end