Method: Fog::Vcloud::Compute::Server#memory

Defined in:
lib/fog/vcloud/models/compute/server.rb

#memoryObject



102
103
104
105
106
107
# File 'lib/fog/vcloud/models/compute/server.rb', line 102

def memory
  if memory_mess
    { :amount => memory_mess[:"rasd:VirtualQuantity"].to_i,
      :units => memory_mess[:"rasd:AllocationUnits"] }
  end
end