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

resend_invitation.rb « workers « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b2a0cc00e3b5c694c7c782f390a86de6fd076351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#   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 Workers
  class ResendInvitation < Base
    sidekiq_options queue: :mail
    
    def perform(invitation_id)
      inv = Invitation.find(invitation_id)
      inv.resend
    end
  end
end