Sha256: 7b37aaf87b760ad4c82c52d563b276810a8d734bf883aec5639dc9059a3bc40c

Contents?: true

Size: 279 Bytes

Versions: 31

Compression:

Stored size: 279 Bytes

Contents

class EmailTemplatesMailer < Effective::EmailTemplatesMailer

  def welcome(user)
    @assigns = {
      'user' => {
        'first_name' => user.first_name,
        'last_name' => user.last_name,
        'email' => user.email,
      }
    }

    mail(to: user.email)
  end

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
effective_email_templates-1.0.11 config/email_templates_mailer.rb
effective_email_templates-1.0.10 config/email_templates_mailer.rb
effective_email_templates-1.0.9 config/email_templates_mailer.rb
effective_email_templates-1.0.8 config/email_templates_mailer.rb
effective_email_templates-1.0.7 config/email_templates_mailer.rb
effective_email_templates-1.0.6 config/email_templates_mailer.rb
effective_email_templates-1.0.5 config/email_templates_mailer.rb
effective_email_templates-1.0.4 config/email_templates_mailer.rb
effective_email_templates-1.0.3 config/email_templates_mailer.rb
effective_email_templates-1.0.2 config/email_templates_mailer.rb
effective_email_templates-1.0.1 config/email_templates_mailer.rb