Method: Fog::Parsers::Terremark::Shared::GetVdc#reset

Defined in:
lib/fog/terremark/parsers/shared/get_vdc.rb

#resetObject

[View source]

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/fog/terremark/parsers/shared/get_vdc.rb', line 8

def reset
  @in_storage_capacity = false
  @in_cpu = false
  @in_memory = false
  @in_instantiated_vms_quota = false
  @in_deployed_vms_quota = false
  @response = { 
    'links' => [],
    'AvailableNetworks' => [],
    'ComputeCapacity'   => {
      'Cpu' => {},
      'DeployedVmsQuota' => {},
      'InstantiatedVmsQuota' => {},
      'Memory' => {}
    },
    'StorageCapacity'  => {},
    'ResourceEntities' => []
  }
end