Class: VagrantPlugins::Deltacloud::Domain::Image
- Defined in:
- lib/vagrant-deltacloud-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.
49 50 51 52 53 54 55 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 49 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.
47 48 49 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 47 def min_disk @min_disk end |
#min_ram ⇒ Object
Returns the value of attribute min_ram.
46 47 48 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 46 def min_ram @min_ram end |
#size ⇒ Object
Returns the value of attribute size.
45 46 47 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 45 def size @size end |
#visibility ⇒ Object
Returns the value of attribute visibility.
44 45 46 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 44 def visibility @visibility end |