Class: AdCenterWrapper::OperationError

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

Overview

https://adcenter.microsoft.com/api/customermanagement/ExceptionOperationError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, details = nil, message = nil) ⇒ OperationError

Returns a new instance of OperationError.

[View source]

47
48
49
50
51
52
# File 'lib/OptimizerService.rb', line 47

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

Instance Attribute Details

#codeObject

Returns the value of attribute code.


42
43
44
# File 'lib/OptimizerService.rb', line 42

def code
  @code
end

#detailsObject

Returns the value of attribute details.


43
44
45
# File 'lib/OptimizerService.rb', line 43

def details
  @details
end

#errorCodeObject

Returns the value of attribute errorCode.


44
45
46
# File 'lib/OptimizerService.rb', line 44

def errorCode
  @errorCode
end

#messageObject

Returns the value of attribute message.


45
46
47
# File 'lib/OptimizerService.rb', line 45

def message
  @message
end