Class: Fog::Ecloud::MockDataClasses::MockVirtualMachineDisk
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Ecloud::MockDataClasses::MockVirtualMachineDisk
show all
- Defined in:
- lib/fog/compute/ecloud.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
612
613
614
|
# File 'lib/fog/compute/ecloud.rb', line 612
def address
self[:address].to_i
end
|
#size ⇒ Object
603
604
605
|
# File 'lib/fog/compute/ecloud.rb', line 603
def size
self[:size].to_i
end
|
#vcloud_size ⇒ Object
607
608
609
610
|
# File 'lib/fog/compute/ecloud.rb', line 607
def vcloud_size
size * 1024
end
|