Method: Fog::Vsphere::Compute::Volume#size_gb
- Defined in:
- lib/fog/vsphere/models/compute/volume.rb
#size_gb ⇒ Object
26 27 28 |
# File 'lib/fog/vsphere/models/compute/volume.rb', line 26 def size_gb attributes[:size_gb] ||= attributes[:size].to_i / DISK_SIZE_TO_GB if attributes[:size] end |