Class: VagrantPlugins::Deltacloud::Domain::Image

Inherits:
Item
  • Object
show all
Defined in:
lib/vagrant-deltacloud-provider/client/domain.rb

Instance Attribute Summary collapse

Attributes inherited from Item

#id, #name

Instance Method Summary collapse

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_diskObject

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_ramObject

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

#sizeObject

Returns the value of attribute size.



45
46
47
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 45

def size
  @size
end

#visibilityObject

Returns the value of attribute visibility.



44
45
46
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 44

def visibility
  @visibility
end