Sha256: 57be58bf7c58924002dbeef9b0350e0a93bff0878d650589573dff91f99e6a8c

Contents?: true

Size: 279 Bytes

Versions: 11

Compression:

Stored size: 279 Bytes

Contents

module Fog
  module Libvirt
    class Compute
      class Real
        def create_domain(xml)
          client.create_domain_xml(xml)
        end
      end

      class Mock
        def create_domain(xml)
          ::Libvirt::Domain.new()
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
fog-libvirt-0.12.2 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.12.1 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.12.0 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.11.0 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.10.1 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.10.0 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-csem-0.9.0 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.9.0 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.8.0 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.7.0 lib/fog/libvirt/requests/compute/create_domain.rb
fog-libvirt-0.6.0 lib/fog/libvirt/requests/compute/create_domain.rb