Class: VagrantPlugins::Deltacloud::Domain::Instance
- Defined in:
- lib/vagrant-deltacloud-provider/client/domain.rb
Instance Attribute Summary collapse
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(id, name, status = nil, key_name = nil, ip_address = nil) ⇒ Instance
constructor
A new instance of Instance.
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_address ⇒ Object
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_name ⇒ Object
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 |
#status ⇒ Object
Returns the value of attribute status.
25 26 27 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 25 def status @status end |