Class: VagrantPlugins::Openstack::Item

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-openstack-provider/client/nova.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject

Returns the value of attribute id.



159
160
161
# File 'lib/vagrant-openstack-provider/client/nova.rb', line 159

def id
  @id
end

#nameObject

Returns the value of attribute name.



159
160
161
# File 'lib/vagrant-openstack-provider/client/nova.rb', line 159

def name
  @name
end