Sha256: 960d5dc97ea9490a9e9bef25bb81ed69d6f1c67ca1a9dbffe901755dd74c8f84
Contents?: true
Size: 458 Bytes
Versions: 23
Compression:
Stored size: 458 Bytes
Contents
module GoogleApps module Atom class Message def initialize @document = Atom::XML::Document.new end def from(filename) message = File.read(filename) @document.root = Atom::XML::Node.new('apps:rfc822Msg', message) Atom::XML::Namespace.new(@document.root, 'apps', 'http://schemas.google.com/apps/2006') @document end def to_s @document.to_s end end end end
Version data entries
23 entries across 23 versions & 1 rubygems