lib/nexpose/tag.rb
# XML representation of the tag summary as required by Site and AssetGroup
#
# @return [ELEMENT] XML element
XML representation of the tag summary as required by Site and AssetGroup
XML representation of the tag summary as required by Site and AssetGroup
def as_xml
      xml = REXML::Element.new('Tag')
      xml.add_attribute('id', @id)
      xml.add_attribute('name', @name)
      xml.add_attribute('type', @type)
      xml
    end
def as_xml xml = REXML :: Element . new ( 'Tag' ) xml . add_attribute ( 'id' , @id ) xml . add_attribute ( 'name' , @name ) xml . add_attribute ( 'type' , @type ) xml end
XML representation of the tag summary as required by Site and AssetGroup
XML representation of the tag summary as required by Site and AssetGroup
None
ELEMENT