Class: ZUORA::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/zuora/ZUORA.rb

Overview

/Error

code - ZUORA::ErrorCode
message - SOAP::SOAPString
field - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, message = nil, field = nil) ⇒ Error

Returns a new instance of Error.



1106
1107
1108
1109
1110
# File 'lib/zuora/ZUORA.rb', line 1106

def initialize(code = nil, message = nil, field = nil)
  @code = code
  @message = message
  @field = field
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



1102
1103
1104
# File 'lib/zuora/ZUORA.rb', line 1102

def code
  @code
end

#fieldObject

Returns the value of attribute field.



1104
1105
1106
# File 'lib/zuora/ZUORA.rb', line 1104

def field
  @field
end

#messageObject

Returns the value of attribute message.



1103
1104
1105
# File 'lib/zuora/ZUORA.rb', line 1103

def message
  @message
end