lib/jpc/handler.rb in jpc-1.1.0 vs lib/jpc/handler.rb in jpc-1.2.0

- old
+ new

@@ -1,8 +1,8 @@ class JPC::Handler attr_accessor :token - def initialize(ws, dispatcher) + def initialize(ws = nil, dispatcher = nil) @ws = ws @dispatcher = dispatcher end def ping(params = {})