Class: Fog::Generators::Compute::VcloudDirector::RecomposeVapp
- Inherits:
-
Object
- Object
- Fog::Generators::Compute::VcloudDirector::RecomposeVapp
- Includes:
- ComposeCommon
- Defined in:
- lib/fog/vcloud_director/generators/compute/recompose_vapp.rb
Overview
Instance Method Summary collapse
Methods included from ComposeCommon
Instance Method Details
#generate_xml ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/fog/vcloud_director/generators/compute/recompose_vapp.rb', line 12 def generate_xml Nokogiri::XML::Builder.new do |xml| xml.RecomposeVAppParams(vapp_attrs) { if has_source_items? build_vapp_instantiation_params(xml) build_source_items(xml) end build_delete_items(xml) } end.to_xml end |