class Fog::Compute::Vsphere::Networks
Attributes
datacenter[RW]
Public Instance Methods
all(filters = {})
click to toggle source
# File lib/fog/vsphere/models/compute/networks.rb, line 10 def all(filters = {}) f = { :datacenter => datacenter }.merge(filters) load service.list_networks(f) end
get(id)
click to toggle source
# File lib/fog/vsphere/models/compute/networks.rb, line 15 def get(id) requires :datacenter new service.get_network(id, datacenter) end