Class: Net::WSError

Inherits:
ProtocolError
  • Object
show all
Defined in:
lib/ws.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response.



26
27
28
# File 'lib/ws.rb', line 26

def response
  @response
end