Class: Fog::Generators::Compute::VcloudDirector::MetadataV15

Inherits:
MetadataBase
  • Object
show all
Defined in:
lib/fog/vcloud_director/generators/compute/metadata.rb

Instance Attribute Summary

Attributes inherited from MetadataBase

#attrs

Instance Method Summary collapse

Methods inherited from MetadataBase

#add_item, #generate_xml, #header, #initialize, #tail

Constructor Details

This class inherits a constructor from Fog::Generators::Compute::VcloudDirector::MetadataBase

Instance Method Details

#metadata_entry(key, value) ⇒ Object



92
93
94
95
96
97
98
99
# File 'lib/fog/vcloud_director/generators/compute/metadata.rb', line 92

def (key, value)
  <<-END
  <MetadataEntry>
    <Key>#{key}</Key>
    <Value>#{value}</Value>
  </MetadataEntry>
  END
end