Skip to content

Commit

Permalink
dont serialize useless values
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed May 13, 2011
1 parent e101ea5 commit 0d70e54
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gmail/fetch_data.rb
Expand Up @@ -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,
Expand Down

0 comments on commit 0d70e54

Please sign in to comment.