Parent

Class/Module Index [+]

Quicksearch

Fog::Compute::Ovirt::Volume

Constants

DISK_SIZE_TO_GB

Attributes

raw[RW]

Public Instance Methods

size_gb() click to toggle source
# File lib/fog/ovirt/models/compute/volume.rb, line 21
def size_gb
  attributes[:size_gb] ||= attributes[:size].to_i / DISK_SIZE_TO_GB if attributes[:size]
end
size_gb=(s) click to toggle source
# File lib/fog/ovirt/models/compute/volume.rb, line 25
def size_gb= s
  attributes[:size] = s.to_i * DISK_SIZE_TO_GB if s
end
to_s() click to toggle source
# File lib/fog/ovirt/models/compute/volume.rb, line 29
def to_s
  id
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.