lib/pigato/client.rb in pigato-0.1.9 vs lib/pigato/client.rb in pigato-0.2.0

- old
+ new

@@ -11,10 +11,10 @@ @timeout = 2500 start end - def send service, request, timeout = @timeout + def request service, request, timeout = @timeout request = [Oj.dump(request)] rid = SecureRandom.uuid request = [Pigato::C_CLIENT, Pigato::W_REQUEST, service, rid].concat(request) @socket.send_strings request