2013-06-11 15:06:30 +02:00
|
|
|
module Fog
|
2013-06-18 16:57:32 +02:00
|
|
|
module Compute
|
|
|
|
class Vcloudng
|
2013-06-11 15:06:30 +02:00
|
|
|
class Real
|
2013-06-18 16:57:32 +02:00
|
|
|
|
2013-06-20 19:36:34 +02:00
|
|
|
|
2013-06-11 15:06:30 +02:00
|
|
|
def get_organizations
|
|
|
|
request({
|
|
|
|
:expects => 200,
|
2013-06-11 18:13:42 +02:00
|
|
|
:headers => { 'Accept' => 'application/*+xml;version=1.5' },
|
2013-06-11 15:06:30 +02:00
|
|
|
:method => 'GET',
|
2013-06-19 17:08:20 +02:00
|
|
|
:parser => Fog::ToHashDocument.new,
|
2013-06-11 18:13:42 +02:00
|
|
|
:path => "org"
|
2013-06-11 15:06:30 +02:00
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|