Browse files

dont serialize useless values

  • Loading branch information...
1 parent e101ea5 commit 0d70e54bc79bfbac75159be7044ba9341908695b @maxogden committed May 13, 2011
Showing with 0 additions and 3 deletions.
  1. +0 −3 gmail/fetch_data.rb
View
3 gmail/fetch_data.rb
@@ -20,14 +20,11 @@ def initialize(x)
def attributes
{
- :seq => @seq,
- :uid => @uid,
:date => Time.parse(@envelope.date).utc.iso8601,
:subject => format_subject(@envelope.subject),
:from => format_recipients(@envelope.from),
:to => format_recipients(@envelope.to),
:body => message,
- :size => @size,
:flags => @flags,
"_id" => gmail_plus_label,
:raw_mail => @mail.to_s,

0 comments on commit 0d70e54

Please sign in to comment.