Sha256: 62bde170ff2433f15fc2acb31ef54b5f712a859c189fd0a6bcc6473824192ffa

Contents?: true

Size: 421 Bytes

Versions: 15

Compression:

Stored size: 421 Bytes

Contents

require "fog/core/collection"
require "fog/ovirt/models/compute/affinity_group"

module Fog
  module Compute
    class Ovirt
      class AffinityGroups < Fog::Collection
        model Fog::Compute::Ovirt::AffinityGroup

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

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

Version data entries

15 entries across 13 versions & 2 rubygems

Version Path
fog-ovirt-1.1.6 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.1.5 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.1.4 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.1.3 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.1.2 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.1.1 lib/fog/ovirt/models/compute/affinity_groups.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-ovirt-1.1.0/lib/fog/ovirt/models/compute/affinity_groups.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-ovirt-1.1.0/lib/fog/ovirt/models/compute/affinity_groups.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-ovirt-1.1.0/lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.1.0 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.0.4 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.0.3 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.0.2 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.0.1 lib/fog/ovirt/models/compute/affinity_groups.rb
fog-ovirt-1.0.0 lib/fog/ovirt/models/compute/affinity_groups.rb