README.markdown in riemann-client-0.2.1 vs README.markdown in riemann-client-0.2.2
- old
+ new
@@ -7,11 +7,11 @@
===
``` ruby
require 'riemann/client'
-# Create a client. Host and port are optional.
-c = Riemann::Client.new host: 'localhost', port: 5555
+# Create a client. Host, port and timeout are optional.
+c = Riemann::Client.new host: 'localhost', port: 5555, timeout: 5
# Send a simple event
c << {service: 'testing', metric: 2.5}
# Or a more complex one