incluindo require da lib no README
This commit is contained in:
parent
bd97616ca6
commit
64babc45fc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue