Class: NewRelic::Control::Server
- Inherits:
-
Struct
- Object
- Struct
- NewRelic::Control::Server
- Defined in:
- lib/new_relic/control/server_methods.rb
Overview
Structs holding info for the remote server and proxy server
Instance Attribute Summary collapse
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#name ⇒ Object
Returns the value of attribute name.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
Instance Attribute Details
#ip ⇒ Object
Returns the value of attribute ip
9 10 11 |
# File 'lib/new_relic/control/server_methods.rb', line 9 def ip @ip end |
#name ⇒ Object
Returns the value of attribute name
9 10 11 |
# File 'lib/new_relic/control/server_methods.rb', line 9 def name @name end |
#port ⇒ Object
Returns the value of attribute port
9 10 11 |
# File 'lib/new_relic/control/server_methods.rb', line 9 def port @port end |
Instance Method Details
#to_s ⇒ Object
10 |
# File 'lib/new_relic/control/server_methods.rb', line 10 def to_s; "#{name}:#{port}"; end |