Class: Fog::Compute::Ovirt::AffinityGroups

Inherits:
Fog::Collection
  • Object
show all
Defined in:
lib/fog/ovirt/models/compute/affinity_groups.rb

Instance Method Summary collapse

Instance Method Details

#all(filters = {}) ⇒ Object



10
11
12
# File 'lib/fog/ovirt/models/compute/affinity_groups.rb', line 10

def all(filters = {})
  load service.list_affinity_groups(filters)
end

#get(id) ⇒ Object



14
15
16
# File 'lib/fog/ovirt/models/compute/affinity_groups.rb', line 14

def get(id)
  new service.get_affinity_group(id)
end