Sha256: 510aa9e2c522c728816965767f290ff88d940b497d26b4e2a21e431dd53152f0

Contents?: true

Size: 687 Bytes

Versions: 4

Compression:

Stored size: 687 Bytes

Contents

require "fog/core"
require "fog/xml"

module Fog
  module Compute
    autoload :Ovirt, File.expand_path("ovirt/compute", __dir__)
  end

  module Ovirt
    extend Fog::Provider

    module Errors
      class ServiceError < Fog::Errors::Error; end
      class SecurityError < ServiceError; end
      class NotFound < ServiceError; end
      class OvirtError < Fog::Errors::Error; end

      class OvirtEngineError < OvirtError
        attr_reader :orig_exception

        def initialize(exception)
          @orig_exception = exception
          super("Ovirt client returned an error: #{@orig_exception.message}")
        end
      end
    end

    service(:compute, "Compute")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-ovirt-1.1.4 lib/fog/ovirt.rb
fog-ovirt-1.1.3 lib/fog/ovirt.rb
fog-ovirt-1.1.2 lib/fog/ovirt.rb
fog-ovirt-1.1.1 lib/fog/ovirt.rb