mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
21 lines
438 B
Ruby
21 lines
438 B
Ruby
|
module Fog
|
||
|
module Compute
|
||
|
class Vcloudng
|
||
|
class Real
|
||
|
|
||
|
def get_href(href)
|
||
|
request(
|
||
|
:expects => 200,
|
||
|
:headers => { 'Accept' => 'application/*+xml;version=1.5' },
|
||
|
:method => 'GET',
|
||
|
:parser => Fog::ToHashDocument.new,
|
||
|
:override_path => true,
|
||
|
:path => URI.parse(href).path
|
||
|
)
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|