Class: Workers::ResendInvitation

Inherits:
Base
  • Object
show all
Defined in:
app/workers/resend_invitation.rb

Instance Method Summary collapse

Methods inherited from Base

#suppress_annoying_errors

Instance Method Details

#perform(invitation_id) ⇒ Object


10
11
12
13
# File 'app/workers/resend_invitation.rb', line 10

def perform(invitation_id)
  inv = Invitation.find(invitation_id)
  inv.resend
end