14 lines
337 B
Ruby
14 lines
337 B
Ruby
# 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
|