1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vcloud_director/requests/compute/get_vdc.rb
2013-08-27 11:19:54 +02:00

21 lines
No EOL
411 B
Ruby

module Fog
module Compute
class VcloudDirector
class Real
def get_vdc(vdc_id)
request(
:expects => 200,
:headers => { 'Accept' => 'application/*+xml;version=1.5' },
:method => 'GET',
:parser => Fog::ToHashDocument.new,
:path => "vdc/#{vdc_id}"
)
end
end
end
end
end