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/models/compute/vm_networks.rb
2013-07-04 13:24:25 +02:00

21 lines
No EOL
394 B
Ruby

require 'fog/core/collection'
require 'fog/vcloudng/models/compute/vm_network'
module Fog
module Compute
class Vcloudng
class VmNetworks < Fog::Collection
model Fog::Compute::Vcloudng::VmNetwork
attribute :vm
def get(id)
data = service.get_vm_network(id).body
new(data)
end
end
end
end
end