Class: AdwordsApi::V13::ReportService::ApiException

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords_api/v13/ReportService.rb

Overview

ApiException

  • code - SOAP::SOAPInt

  • errors - AdwordsApi::V13::ReportService::ApiError

  • internal - SOAP::SOAPBoolean

  • message - SOAP::SOAPString

  • trigger - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, errors = [], internal = nil, message = nil, trigger = nil) ⇒ ApiException

Returns a new instance of ApiException.



50
51
52
53
54
55
56
# File 'lib/adwords_api/v13/ReportService.rb', line 50

def initialize(code = nil, errors = [], internal = nil, message = nil, trigger = nil)
  @code = code
  @errors = errors
  @internal = internal
  @message = message
  @trigger = trigger
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



44
45
46
# File 'lib/adwords_api/v13/ReportService.rb', line 44

def code
  @code
end

#errorsObject

Returns the value of attribute errors.



45
46
47
# File 'lib/adwords_api/v13/ReportService.rb', line 45

def errors
  @errors
end

#internalObject

Returns the value of attribute internal.



46
47
48
# File 'lib/adwords_api/v13/ReportService.rb', line 46

def internal
  @internal
end

#messageObject

Returns the value of attribute message.



47
48
49
# File 'lib/adwords_api/v13/ReportService.rb', line 47

def message
  @message
end

#triggerObject

Returns the value of attribute trigger.



48
49
50
# File 'lib/adwords_api/v13/ReportService.rb', line 48

def trigger
  @trigger
end