Class: AdWords::V13::TrafficEstimatorService::ApiException

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

Overview

ApiException

  • code - SOAP::SOAPInt

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



79
80
81
82
83
84
85
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 79

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.



73
74
75
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 73

def code
  @code
end

#errorsObject

Returns the value of attribute errors.



74
75
76
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 74

def errors
  @errors
end

#internalObject

Returns the value of attribute internal.



75
76
77
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 75

def internal
  @internal
end

#messageObject

Returns the value of attribute message.



76
77
78
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 76

def message
  @message
end

#triggerObject

Returns the value of attribute trigger.



77
78
79
# File 'lib/adwords4r/v13/TrafficEstimatorService.rb', line 77

def trigger
  @trigger
end