Class: AdWords::V13::AccountService::ApiException

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v13/AccountService.rb

Overview

ApiException

  • code - SOAP::SOAPInt

  • errors - AdWords::V13::AccountService::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.



130
131
132
133
134
135
136
# File 'lib/adwords4r/v13/AccountService.rb', line 130

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.



124
125
126
# File 'lib/adwords4r/v13/AccountService.rb', line 124

def code
  @code
end

#errorsObject

Returns the value of attribute errors.



125
126
127
# File 'lib/adwords4r/v13/AccountService.rb', line 125

def errors
  @errors
end

#internalObject

Returns the value of attribute internal.



126
127
128
# File 'lib/adwords4r/v13/AccountService.rb', line 126

def internal
  @internal
end

#messageObject

Returns the value of attribute message.



127
128
129
# File 'lib/adwords4r/v13/AccountService.rb', line 127

def message
  @message
end

#triggerObject

Returns the value of attribute trigger.



128
129
130
# File 'lib/adwords4r/v13/AccountService.rb', line 128

def trigger
  @trigger
end