Class: NewRelic::Control::Server
- Defined in:
- lib/new_relic/control.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
46 47 48 |
# File 'lib/new_relic/control.rb', line 46 def ip @ip end |
#name ⇒ Object
Returns the value of attribute name
46 47 48 |
# File 'lib/new_relic/control.rb', line 46 def name @name end |
#port ⇒ Object
Returns the value of attribute port
46 47 48 |
# File 'lib/new_relic/control.rb', line 46 def port @port end |
Instance Method Details
#to_s ⇒ Object
47 |
# File 'lib/new_relic/control.rb', line 47 def to_s; "#{name}:#{port}"; end |