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.9.0 config/email_templates_mailer.rb
effective_email_templates-1.8.0 config/email_templates_mailer.rb
effective_email_templates-1.7.0 config/email_templates_mailer.rb
effective_email_templates-1.6.0 config/email_templates_mailer.rb
effective_email_templates-1.5.1 config/email_templates_mailer.rb
effective_email_templates-1.5.0 config/email_templates_mailer.rb
effective_email_templates-1.4.1 config/email_templates_mailer.rb
effective_email_templates-1.4.0 config/email_templates_mailer.rb
effective_email_templates-1.3.0 config/email_templates_mailer.rb
effective_email_templates-1.2.3 config/email_templates_mailer.rb
effective_email_templates-1.2.2 config/email_templates_mailer.rb
effective_email_templates-1.2.1 config/email_templates_mailer.rb
effective_email_templates-1.2.0 config/email_templates_mailer.rb
effective_email_templates-1.1.4 config/email_templates_mailer.rb
effective_email_templates-1.1.3 config/email_templates_mailer.rb
effective_email_templates-1.1.2 config/email_templates_mailer.rb
effective_email_templates-1.1.1 config/email_templates_mailer.rb
effective_email_templates-1.1.0 config/email_templates_mailer.rb
effective_email_templates-1.0.13 config/email_templates_mailer.rb
effective_email_templates-1.0.12 config/email_templates_mailer.rb