From 56045ae80dbc0a4db6590b02e5865a2ad384dd2e Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Fri, 3 Jul 2015 15:45:45 +0200 Subject: [PATCH] usage --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 7a96325..e82d254 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,16 @@ First it was planed to provide a client-API, but now there is also a full server Tested against nsca-2.7, -2.9. +Usage +===== + +Simple sending + +```ruby +NSCA.destinations << NSCA::Client.new('localhost') +NSCA.send 'serverA', 'serviceA', 1, 'Ok' +``` + TO DO AND DONE ==============