Class: VagrantPlugins::Openstack::Domain::Image
- Defined in:
- lib/vagrant-openstack-provider/client/domain.rb
Instance Attribute Summary collapse
-
#min_disk ⇒ Object
Returns the value of attribute min_disk.
-
#min_ram ⇒ Object
Returns the value of attribute min_ram.
-
#size ⇒ Object
Returns the value of attribute size.
-
#visibility ⇒ Object
Returns the value of attribute visibility.
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(id, name, visibility = nil, size = nil, min_ram = nil, min_disk = nil) ⇒ Image
constructor
A new instance of Image.
Methods inherited from Item
Constructor Details
#initialize(id, name, visibility = nil, size = nil, min_ram = nil, min_disk = nil) ⇒ Image
Returns a new instance of Image.
29 30 31 32 33 34 35 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 29 def initialize(id, name, visibility = nil, size = nil, min_ram = nil, min_disk = nil) @visibility = visibility @size = size @min_ram = min_ram @min_disk = min_disk super(id, name) end |
Instance Attribute Details
#min_disk ⇒ Object
Returns the value of attribute min_disk.
27 28 29 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 27 def min_disk @min_disk end |
#min_ram ⇒ Object
Returns the value of attribute min_ram.
26 27 28 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 26 def min_ram @min_ram end |
#size ⇒ Object
Returns the value of attribute size.
25 26 27 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 25 def size @size end |
#visibility ⇒ Object
Returns the value of attribute visibility.
24 25 26 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 24 def visibility @visibility end |