Class: Fog::Compute::VcloudDirector::VmNetworks

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/vcloud_director/models/compute/vm_networks.rb

Instance Method Summary collapse

Methods inherited from Collection

#all, #get_by_name, #get_everyone, #index

Instance Method Details

#get(id) ⇒ Object



12
13
14
15
# File 'lib/fog/vcloud_director/models/compute/vm_networks.rb', line 12

def get(id)
  data = service.get_vm_network(id).body
  new(data)
end