diaspora/app/models/jobs/mail_started_sharing.rb
2011-07-02 12:05:26 -07:00

14 lines
360 B
Ruby

# Copyright (c) 2010, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
module Job
class MailStartedSharing < Base
@queue = :mail
def self.perform(recipient_id, sender_id, target_id)
Notifier.started_sharing(recipient_id, sender_id).deliver
end
end
end