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/vcloudng/requests/compute/get_vapp.rb

20 lines
394 B
Ruby
Raw Normal View History

module Fog
2013-06-18 16:57:32 +02:00
module Compute
class Vcloudng
class Real
def get_vapp(vapp_id)
request(
:expects => 200,
:headers => { 'Accept' => 'application/*+xml;version=1.5' },
:method => 'GET',
2013-06-19 17:08:20 +02:00
:parser => Fog::ToHashDocument.new,
:path => "vApp/#{vapp_id}"
)
end
end
end
end
end