Class: Deltacloud::Runner::Network

Inherits:
Object
  • Object
show all
Defined in:
lib/deltacloud/runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ipObject

Returns the value of attribute ip.



51
52
53
# File 'lib/deltacloud/runner.rb', line 51

def ip
  @ip
end

#portObject

Returns the value of attribute port.



51
52
53
# File 'lib/deltacloud/runner.rb', line 51

def port
  @port
end