Class: RobotLab::Discovery::Result
- Inherits:
-
Data
- Object
- Data
- RobotLab::Discovery::Result
- Defined in:
- lib/robot_lab/discovery/result.rb
Instance Attribute Summary collapse
-
#capabilities ⇒ Object
readonly
Returns the value of attribute capabilities.
-
#hostname ⇒ Object
readonly
Returns the value of attribute hostname.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
Instance Method Summary collapse
Instance Attribute Details
#capabilities ⇒ Object (readonly)
Returns the value of attribute capabilities
5 6 7 |
# File 'lib/robot_lab/discovery/result.rb', line 5 def capabilities @capabilities end |
#hostname ⇒ Object (readonly)
Returns the value of attribute hostname
5 6 7 |
# File 'lib/robot_lab/discovery/result.rb', line 5 def hostname @hostname end |
#name ⇒ Object (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/robot_lab/discovery/result.rb', line 5 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path
5 6 7 |
# File 'lib/robot_lab/discovery/result.rb', line 5 def path @path end |
#port ⇒ Object (readonly)
Returns the value of attribute port
5 6 7 |
# File 'lib/robot_lab/discovery/result.rb', line 5 def port @port end |
Instance Method Details
#url ⇒ Object
6 |
# File 'lib/robot_lab/discovery/result.rb', line 6 def url = "http://#{hostname}:#{port}#{path}" |