Class: Net::WSError
- Inherits:
-
ProtocolError
- Object
- ProtocolError
- Net::WSError
- Defined in:
- lib/ws.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg, res = nil) ⇒ WSError
constructor
:nodoc:.
Constructor Details
#initialize(msg, res = nil) ⇒ WSError
:nodoc:
21 22 23 24 |
# File 'lib/ws.rb', line 21 def initialize(msg, res=nil) #:nodoc: super msg @response = res end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
26 27 28 |
# File 'lib/ws.rb', line 26 def response @response end |