mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
21 lines
No EOL
394 B
Ruby
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 |