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

19 lines
384 B
Ruby

module Fog
module Compute
class VcloudDirector
class Real
def get_href(href)
request(
:expects => 200,
:method => 'GET',
:parser => Fog::ToHashDocument.new,
:override_path => true,
:path => URI.parse(href).path
)
end
end
end
end
end