Class: Ambling::Data::Message

Inherits:
BaseValue show all
Defined in:
lib/ambling/data.rb

Overview

Build the XML for a message slightly differently

Instance Attribute Summary

Attributes inherited from BaseValue

#attributes, #value

Instance Method Summary collapse

Methods inherited from BaseValue

#initialize, #tag_name, #to_xml

Constructor Details

This class inherits a constructor from Ambling::Data::BaseValue

Instance Method Details

#build_xml(builder) ⇒ Object



47
48
49
# File 'lib/ambling/data.rb', line 47

def build_xml(builder)
  builder.message(@attributes){|message| message.cdata! @value}
end