Remote server class that represents NSCA Host.
This commit is contained in:
parent
260e47dc36
commit
6c7814d754
2 changed files with 24 additions and 0 deletions
12
lib/nsca/client/remote_server.rb
Normal file
12
lib/nsca/client/remote_server.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
module NSCA
|
||||
module Client
|
||||
class RemoteServer
|
||||
attr_reader :host, :port
|
||||
|
||||
def initialize(options)
|
||||
@host = options[:host]
|
||||
@port = options[:port] || 5667
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue