Sha256: ccdc8d9e4963af014902b6516c64387a7eeb74e79eb674e4aa3d731b52d61c97

Contents?: true

Size: 429 Bytes

Versions: 6

Compression:

Stored size: 429 Bytes

Contents

module Fog
  module Ovirt
    class Compute
      class V3
        class Real
          def create_affinity_group(attrs)
            client.create_affinity_group(attrs)
          end
        end

        class Mock
          def create_affinity_group(_attrs)
            xml = read_xml("affinitygroup.xml")
            OVIRT::AffinityGroup.new(self, Nokogiri::XML(xml).root)
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fog-ovirt-1.2.5 lib/fog/ovirt/requests/compute/v3/create_affinity_group.rb
fog-ovirt-1.2.4 lib/fog/ovirt/requests/compute/v3/create_affinity_group.rb
fog-ovirt-1.2.3 lib/fog/ovirt/requests/compute/v3/create_affinity_group.rb
fog-ovirt-1.2.2 lib/fog/ovirt/requests/compute/v3/create_affinity_group.rb
fog-ovirt-1.2.1 lib/fog/ovirt/requests/compute/v3/create_affinity_group.rb
fog-ovirt-1.2.0 lib/fog/ovirt/requests/compute/v3/create_affinity_group.rb