Sha256: 7143977bad35a18ba9fcf06c7450e3c9aae45a617da7f5b33b3ee8aec2b55e04

Contents?: true

Size: 354 Bytes

Versions: 86

Compression:

Stored size: 354 Bytes

Contents

module Fog
  module Compute
    class Ovirt
      class Real
        def get_template(id)
          ovirt_attrs client.template(id)
        end

      end
      class Mock
        def get_template(id)
          xml = read_xml 'template.xml'
          ovirt_attrs OVIRT::Template::new(self, Nokogiri::XML(xml).root)
        end
      end
    end
  end
end

Version data entries

86 entries across 86 versions & 16 rubygems

Version Path
fog-1.15.0 lib/fog/ovirt/requests/compute/get_template.rb
gapinc-fog-1.14.0 lib/fog/ovirt/requests/compute/get_template.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/ovirt/requests/compute/get_template.rb
fog-1.14.0 lib/fog/ovirt/requests/compute/get_template.rb
fog-1.13.0 lib/fog/ovirt/requests/compute/get_template.rb
gapinc-fog-1.12.1.2 lib/fog/ovirt/requests/compute/get_template.rb
gapinc-fog-1.12.1.1 lib/fog/ovirt/requests/compute/get_template.rb
gapinc-fog-1.12.1a lib/fog/ovirt/requests/compute/get_template.rb
gapinc-fog-1.12.1 lib/fog/ovirt/requests/compute/get_template.rb
fog-1.12.1 lib/fog/ovirt/requests/compute/get_template.rb
fog-1.12.0 lib/fog/ovirt/requests/compute/get_template.rb
hpfog-0.0.20 lib/fog/ovirt/requests/compute/get_template.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/ovirt/requests/compute/get_template.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/ovirt/requests/compute/get_template.rb
fog-nirvanix-1.8.2 lib/fog/ovirt/requests/compute/get_template.rb
fog-1.11.1 lib/fog/ovirt/requests/compute/get_template.rb
fog-1.11.0 lib/fog/ovirt/requests/compute/get_template.rb
fog-nirvanix-1.8.1 lib/fog/ovirt/requests/compute/get_template.rb
fog-1.10.1 lib/fog/ovirt/requests/compute/get_template.rb
fog-parser-fix-1.6.1 lib/fog/ovirt/requests/compute/get_template.rb