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.
1106 1107 1108 1109 1110 |
# File 'lib/zuora/ZUORA.rb', line 1106 def initialize(code = nil, = nil, field = nil) @code = code @message = @field = field end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
1102 1103 1104 |
# File 'lib/zuora/ZUORA.rb', line 1102 def code @code end |
#field ⇒ Object
Returns the value of attribute field.
1104 1105 1106 |
# File 'lib/zuora/ZUORA.rb', line 1104 def field @field end |
#message ⇒ Object
Returns the value of attribute message.
1103 1104 1105 |
# File 'lib/zuora/ZUORA.rb', line 1103 def @message end |