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_network.rb
2013-06-24 17:04:55 +02:00

21 lines
No EOL
503 B
Ruby

module Fog
module Compute
class Vcloudng
class Real
require 'fog/vcloudng/parsers/compute/network'
def get_network(network_id)
request(
:expects => 200,
:headers => { 'Accept' => 'application/*+xml;version=1.5' },
:method => 'GET',
:parser => Fog::Parsers::Compute::Vcloudng::Network.new,
:path => "network/#{network_id}"
)
end
end
end
end
end