Class: Deltacloud::Runner::Network
- Inherits:
-
Object
- Object
- Deltacloud::Runner::Network
- Defined in:
- lib/deltacloud/runner.rb
Instance Attribute Summary collapse
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize(ip, port) ⇒ Network
constructor
A new instance of Network.
Constructor Details
#initialize(ip, port) ⇒ Network
Returns a new instance of Network.
53 54 55 |
# File 'lib/deltacloud/runner.rb', line 53 def initialize(ip, port) @ip, @port = ip, port end |
Instance Attribute Details
#ip ⇒ Object
Returns the value of attribute ip.
51 52 53 |
# File 'lib/deltacloud/runner.rb', line 51 def ip @ip end |
#port ⇒ Object
Returns the value of attribute port.
51 52 53 |
# File 'lib/deltacloud/runner.rb', line 51 def port @port end |