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
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/ovirt/requests/compute/get_template.rb
fog-1.3.1 lib/fog/ovirt/requests/compute/get_template.rb
fog-1.3.0 lib/fog/ovirt/requests/compute/get_template.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/ovirt/requests/compute/get_template.rb
fog-1.2.0 lib/fog/ovirt/requests/compute/get_template.rb
ktheory-fog-1.1.2 lib/fog/ovirt/requests/compute/get_template.rb