Class: VagrantPlugins::Openstack::Item

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-openstack/openstack_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, name) ⇒ Item

Returns a new instance of Item.



85
86
87
88
# File 'lib/vagrant-openstack/openstack_client.rb', line 85

def initialize(id, name)
  @id = id
  @name = name
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



84
85
86
# File 'lib/vagrant-openstack/openstack_client.rb', line 84

def id
  @id
end

#nameObject

Returns the value of attribute name.



84
85
86
# File 'lib/vagrant-openstack/openstack_client.rb', line 84

def name
  @name
end