Module: MuckGroups::Mailers::GroupMailer

Extended by:
ActiveSupport::Concern
Defined in:
lib/muck-groups/mailers/groups_mailer.rb

Instance Method Summary collapse

Instance Method Details

#invite(inviter, group, email, name, subject, message) ⇒ Object



7
8
9
10
11
12
13
14
15
16
# File 'lib/muck-groups/mailers/groups_mailer.rb', line 7

def invite(inviter, group, email, name, subject, message)
  @name = name
  @message = message
  @inviter = inviter
  @group = group
  mail(:to => email, :subject => subject) do |format|
    format.html
    format.text
  end
end