incluindo require da lib no README

This commit is contained in:
Alexander Borges 2013-01-28 20:10:45 -02:00
parent bd97616ca6
commit 64babc45fc

View file

@ -11,6 +11,7 @@ Usage:
------ ------
```ruby ```ruby
require "nsca/client"
NSCA::Client.servers << NSCA::Client::RemoteServer.new(:host => '172.0.0.1') NSCA::Client.servers << NSCA::Client::RemoteServer.new(:host => '172.0.0.1')
service = NSCA::Client::Service.new(:name => 'TestMessage') service = NSCA::Client::Service.new(:name => 'TestMessage')
NSCA::Client.critical service NSCA::Client.critical service