Class: Fog::Generators::Compute::VcloudDirector::ComposeVapp

Inherits:
Object
  • Object
show all
Includes:
ComposeCommon
Defined in:
lib/fog/vcloud_director/generators/compute/compose_vapp.rb

Overview

Instance Method Summary collapse

Methods included from ComposeCommon

#initialize

Instance Method Details

#generate_xmlObject



12
13
14
15
16
17
18
19
# File 'lib/fog/vcloud_director/generators/compute/compose_vapp.rb', line 12

def generate_xml
  Nokogiri::XML::Builder.new do |xml|
    xml.ComposeVAppParams(vapp_attrs) {
      build_vapp_instantiation_params(xml)
      build_source_items(xml)
    }
  end.to_xml
end