Class: Fog::Generators::Compute::VcloudDirector::InstantiateVappTemplateParams

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ComposeCommon

#initialize

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options



9
10
11
# File 'lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb', line 9

def options
  @options
end

Instance Method Details

#generate_xmlObject



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb', line 13

def generate_xml
  Nokogiri::XML::Builder.new do |xml|

    
    xml.InstantiateVAppTemplateParams((vapp_attrs)) {
      build_vapp_instantiation_params(xml)
      build_source_template(xml)
      build_source_items(xml)
    }
  end.to_xml

end