Class: ErrorResponse
- Inherits:
-
Object
- Object
- ErrorResponse
- Defined in:
- lib/default.rb
Overview
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#requestId ⇒ Object
Returns the value of attribute requestId.
Instance Method Summary collapse
-
#initialize(error = [], requestId = nil) ⇒ ErrorResponse
constructor
A new instance of ErrorResponse.
Constructor Details
#initialize(error = [], requestId = nil) ⇒ ErrorResponse
Returns a new instance of ErrorResponse.
1447 1448 1449 1450 |
# File 'lib/default.rb', line 1447 def initialize(error = [], requestId = nil) @error = error @requestId = requestId end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
1444 1445 1446 |
# File 'lib/default.rb', line 1444 def error @error end |
#requestId ⇒ Object
Returns the value of attribute requestId.
1445 1446 1447 |
# File 'lib/default.rb', line 1445 def requestId @requestId end |