Class: Invitation
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Invitation
- Defined in:
- app/models/invitation.rb
Instance Method Summary collapse
Instance Method Details
#send_invite ⇒ Object
29 30 31 32 33 34 |
# File 'app/models/invitation.rb', line 29 def send_invite emails = self.email_addresses.split(",").collect{|email| email.strip }.uniq emails.each{|email| UserNotifier.signup_invitation(email, self.user, self.).deliver } end |