Class: AdWords::V13::TrafficEstimatorService::ApiError

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v13/TrafficEstimatorService.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.



54
55
56
57
58
59
60
61
62
63
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 54

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.



45
46
47
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 45

def code
  @code
end

#detailObject

Returns the value of attribute detail.



46
47
48
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 46

def detail
  @detail
end

#fieldObject

Returns the value of attribute field.



47
48
49
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 47

def field
  @field
end

#indexObject

Returns the value of attribute index.



48
49
50
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 48

def index
  @index
end

#isExemptableObject

Returns the value of attribute isExemptable.



49
50
51
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 49

def isExemptable
  @isExemptable
end

#textIndexObject

Returns the value of attribute textIndex.



50
51
52
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 50

def textIndex
  @textIndex
end

#textLengthObject

Returns the value of attribute textLength.



51
52
53
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 51

def textLength
  @textLength
end

#triggerObject

Returns the value of attribute trigger.



52
53
54
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 52

def trigger
  @trigger
end