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