Class: Workers::Mail::InviteEmail

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

Instance Method Summary collapse

Instance Method Details

#perform(emails, inviter_id, options = {}) ⇒ Object


12
13
14
# File 'app/workers/mail/invite_email.rb', line 12

def perform(emails, inviter_id, options={})
  EmailInviter.new(emails, User.find(inviter_id), options).send!
end