Class: Fog::VcloudDirector::Compute::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

#_item_list, #all, #get_by_name, #get_everyone, #index, #with_item_list

Instance Method Details

#get(id) ⇒ Object



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

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