lib/hushed/message.rb in hushed-0.0.3 vs lib/hushed/message.rb in hushed-0.0.4

- old
+ new

@@ -5,9 +5,10 @@ class MissingDocumentError < StandardError; end class MissingClientError < StandardError; end attr_reader :client, :document, :xml + attr_accessor :message_object def initialize(options = {}) @xml = Nokogiri::XML::Document.parse(options[:xml]) if options[:xml] @client = options[:client] @document = options[:document] \ No newline at end of file