Welcome to mirror list, hosted at ThFree Co, Russian Federation.

resend_invitation.rb « job « models « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3f8670caa0b9bc1a16a6d3c6203ac3bfb99ad5aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#   Copyright (c) 2010-2011, Diaspora Inc.  This file is
#   licensed under the Affero General Public License version 3 or later.  See
#   the COPYRIGHT file.


module Job
  class ResendInvitation < Base
    @queue = :mail
    def self.perform(invitation_id)
      inv = Invitation.find(invitation_id)
      inv.resend
    end
  end
end