Class: Fog::Compute::Libvirt::Networks
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Libvirt::Networks
- Defined in:
- lib/fog/libvirt/models/compute/networks.rb
Instance Method Summary collapse
Instance Method Details
#all(filter = {}) ⇒ Object
10 11 12 |
# File 'lib/fog/libvirt/models/compute/networks.rb', line 10 def all(filter={}) load(service.list_networks(filter)) end |
#get(uuid) ⇒ Object
14 15 16 |
# File 'lib/fog/libvirt/models/compute/networks.rb', line 14 def get(uuid) self.all(:uuid => uuid).first end |