Class: ZUORA::Error
- Inherits:
-
Object
- Object
- ZUORA::Error
- Defined in:
- lib/zuora/ZUORA.rb
Overview
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#field ⇒ Object
Returns the value of attribute field.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code = nil, message = nil, field = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code = nil, message = nil, field = nil) ⇒ Error
Returns a new instance of Error.
1066 1067 1068 1069 1070 |
# File 'lib/zuora/ZUORA.rb', line 1066 def initialize(code = nil, = nil, field = nil) @code = code @message = @field = field end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
1062 1063 1064 |
# File 'lib/zuora/ZUORA.rb', line 1062 def code @code end |
#field ⇒ Object
Returns the value of attribute field.
1064 1065 1066 |
# File 'lib/zuora/ZUORA.rb', line 1064 def field @field end |
#message ⇒ Object
Returns the value of attribute message.
1063 1064 1065 |
# File 'lib/zuora/ZUORA.rb', line 1063 def @message end |