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_metadata.rb
2013-09-16 18:13:09 +01:00

20 lines
428 B
Ruby

module Fog
module Compute
class VcloudDirector
class Real
def get_metadata(vm_id)
require 'fog/vcloud_director/parsers/compute/metadata'
request(
:expects => 200,
:method => 'GET',
:parser => Fog::Parsers::Compute::VcloudDirector::Metadata.new,
:path => "vApp/#{vm_id}/metadata/"
)
end
end
end
end
end