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.
1080 1081 1082 1083 1084 |
# File 'lib/zuora/ZUORA.rb', line 1080 def initialize(code = nil, = nil, field = nil) @code = code @message = @field = field end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
1076 1077 1078 |
# File 'lib/zuora/ZUORA.rb', line 1076 def code @code end |
#field ⇒ Object
Returns the value of attribute field.
1078 1079 1080 |
# File 'lib/zuora/ZUORA.rb', line 1078 def field @field end |
#message ⇒ Object
Returns the value of attribute message.
1077 1078 1079 |
# File 'lib/zuora/ZUORA.rb', line 1077 def @message end |