Class: VagrantPlugins::Openstack::Item

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, name) ⇒ Item

Returns a new instance of Item.



92
93
94
95
# File 'lib/vagrant-openstack-provider/openstack_client.rb', line 92

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

Instance Attribute Details

#idObject

Returns the value of attribute id.



91
92
93
# File 'lib/vagrant-openstack-provider/openstack_client.rb', line 91

def id
  @id
end

#nameObject

Returns the value of attribute name.



91
92
93
# File 'lib/vagrant-openstack-provider/openstack_client.rb', line 91

def name
  @name
end