Method: Fog::Vcloud::Compute::Vdcs#get

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

#get(uri) ⇒ Object



19
20
21
22
23
24
25
# File 'lib/fog/vcloud/models/compute/vdcs.rb', line 19

def get(uri)
  if data = connection.get_vdc(uri)
    new(data.body)
  end
rescue Fog::Errors::NotFound
  nil
end