Class: NSCA::Client::Service
- Inherits:
-
Object
- Object
- NSCA::Client::Service
- Defined in:
- lib/nsca/client/service.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(options) ⇒ Service
constructor
A new instance of Service.
Constructor Details
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
4 5 6 |
# File 'lib/nsca/client/service.rb', line 4 def host @host end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/nsca/client/service.rb', line 4 def name @name end |