Class: VagrantPlugins::Openstack::Item
- Inherits:
-
Object
- Object
- VagrantPlugins::Openstack::Item
- Defined in:
- lib/vagrant-openstack-provider/client/nova.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id, name) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(id, name) ⇒ Item
Returns a new instance of Item.
160 161 162 163 |
# File 'lib/vagrant-openstack-provider/client/nova.rb', line 160 def initialize(id, name) @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
159 160 161 |
# File 'lib/vagrant-openstack-provider/client/nova.rb', line 159 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
159 160 161 |
# File 'lib/vagrant-openstack-provider/client/nova.rb', line 159 def name @name end |