public
Description: a ruby on rails plugin to create and display a social feed
Homepage: http://upstream-berlin.com/blog/open-source/#social_feed
Clone URL: git://github.com/langalex/social_feed.git
Search Repo:
Alexander Lang (author)
Fri Apr 25 08:59:06 -0700 2008
commit  42613fb213fe912bbc1733d4b616fa9e2a0db8b9
tree    8e21f7eb843cd7e4ab76c5a6b008f8b9dc651732
parent  0ab7bbdf237aa0f8ee57bca78749eb36720b4a06
social_feed / lib / social_feed / feed_event_mailer_extension.rb
100644 14 lines (12 sloc) 0.318 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module SocialFeed
  module FeedEventMailerExtension
    
    private
    def create_event_message(subject, event)
      @subject = subject
      @body = {:event => event}
      @recipients = event.user.email
      @from = SocialFeed::Conf.sender_email
      @sent_on = Time.now
    end
  
  end
end