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.
1244 1245 1246 1247 1248 |
# File 'lib/zuora/ZUORA.rb', line 1244 def initialize(code = nil, = nil, field = nil) @code = code @message = @field = field end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
1240 1241 1242 |
# File 'lib/zuora/ZUORA.rb', line 1240 def code @code end |
#field ⇒ Object
Returns the value of attribute field.
1242 1243 1244 |
# File 'lib/zuora/ZUORA.rb', line 1242 def field @field end |
#message ⇒ Object
Returns the value of attribute message.
1241 1242 1243 |
# File 'lib/zuora/ZUORA.rb', line 1241 def @message end |