Class: Fog::Vcloud::MockDataClasses::MockVirtualMachineDisk
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Vcloud::MockDataClasses::MockVirtualMachineDisk
show all
- Defined in:
- lib/fog/vcloud/mock_data_classes.rb
Instance Method Summary
collapse
Methods inherited from Base
#_parent, base_url, #base_url, base_url=, #first, #href, #initialize, #inspect, #last
Instance Method Details
#address ⇒ Object
580
581
582
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 580
def address
self[:address].to_i
end
|
#size ⇒ Object
571
572
573
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 571
def size
self[:size].to_i
end
|
#vcloud_size ⇒ Object
575
576
577
578
|
# File 'lib/fog/vcloud/mock_data_classes.rb', line 575
def vcloud_size
size * 1024
end
|