Sha256: ab7252ab1a779fb9085927fda67182ca7a5e062d2225e329a5577a1524eb929d

Contents?: true

Size: 473 Bytes

Versions: 13

Compression:

Stored size: 473 Bytes

Contents

module Fog
  module Compute
    class Ovirt
      class V4
        class Real
          def get_instance_type(id)
            ovirt_attrs client.system_service.instance_types_service.instance_type_service(id).get
          end
        end
        class Mock
          def get_instance_type(_id)
            xml = read_xml "instance_type.xml"
            ovirt_attrs OvirtSDK4::Reader.read(Nokogiri::XML(xml).root.to_s)
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 11 versions & 2 rubygems

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