Class: AdwordsApi::V13::AccountService::ApiError

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

Overview

ApiError

  • code - SOAP::SOAPInt

  • detail - SOAP::SOAPString

  • field - SOAP::SOAPString

  • index - SOAP::SOAPInt

  • isExemptable - SOAP::SOAPBoolean

  • textIndex - SOAP::SOAPInt

  • textLength - SOAP::SOAPInt

  • trigger - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil) ⇒ ApiError

Returns a new instance of ApiError.



105
106
107
108
109
110
111
112
113
114
# File 'lib/adwords_api/v13/AccountService.rb', line 105

def initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil)
  @code = code
  @detail = detail
  @field = field
  @index = index
  @isExemptable = isExemptable
  @textIndex = textIndex
  @textLength = textLength
  @trigger = trigger
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



96
97
98
# File 'lib/adwords_api/v13/AccountService.rb', line 96

def code
  @code
end

#detailObject

Returns the value of attribute detail.



97
98
99
# File 'lib/adwords_api/v13/AccountService.rb', line 97

def detail
  @detail
end

#fieldObject

Returns the value of attribute field.



98
99
100
# File 'lib/adwords_api/v13/AccountService.rb', line 98

def field
  @field
end

#indexObject

Returns the value of attribute index.



99
100
101
# File 'lib/adwords_api/v13/AccountService.rb', line 99

def index
  @index
end

#isExemptableObject

Returns the value of attribute isExemptable.



100
101
102
# File 'lib/adwords_api/v13/AccountService.rb', line 100

def isExemptable
  @isExemptable
end

#textIndexObject

Returns the value of attribute textIndex.



101
102
103
# File 'lib/adwords_api/v13/AccountService.rb', line 101

def textIndex
  @textIndex
end

#textLengthObject

Returns the value of attribute textLength.



102
103
104
# File 'lib/adwords_api/v13/AccountService.rb', line 102

def textLength
  @textLength
end

#triggerObject

Returns the value of attribute trigger.



103
104
105
# File 'lib/adwords_api/v13/AccountService.rb', line 103

def trigger
  @trigger
end