Class: VagrantPlugins::Deltacloud::Domain::Instance

Inherits:
Item
  • Object
show all
Defined in:
lib/vagrant-deltacloud-provider/client/domain.rb

Instance Attribute Summary collapse

Attributes inherited from Item

#id, #name

Instance Method Summary collapse

Methods inherited from Item

#==

Constructor Details

#initialize(id, name, status = nil, key_name = nil, ip_address = nil) ⇒ Instance

Returns a new instance of Instance.



29
30
31
32
33
34
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 29

def initialize(id, name, status = nil, key_name = nil, ip_address = nil)
  @status = status
  @key_name = key_name
  @ip_address = ip_address
  super(id, name)
end

Instance Attribute Details

#ip_addressObject

Returns the value of attribute ip_address.



27
28
29
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 27

def ip_address
  @ip_address
end

#key_nameObject

Returns the value of attribute key_name.



26
27
28
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 26

def key_name
  @key_name
end

#statusObject

Returns the value of attribute status.



25
26
27
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 25

def status
  @status
end