Exception: LabClient::Error
- Inherits:
-
StandardError
- Object
- StandardError
- LabClient::Error
- Defined in:
- lib/labclient/error.rb
Overview
Class Shim
Instance Attribute Summary collapse
-
#resp ⇒ Object
readonly
Returns the value of attribute resp.
Instance Method Summary collapse
-
#initialize(resp) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(resp) ⇒ Error
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/labclient/error.rb', line 7 def initialize(resp) super @resp = resp end |
Instance Attribute Details
#resp ⇒ Object (readonly)
Returns the value of attribute resp.
5 6 7 |
# File 'lib/labclient/error.rb', line 5 def resp @resp end |