Sha256: 58face13040f2ad76271c8a2dff6afabf648acacb68d9cd8fdfe7c214b7a6fd9

Contents?: true

Size: 268 Bytes

Versions: 25

Compression:

Stored size: 268 Bytes

Contents

class UserMailer < ActionMailer::Base
  default_url_options[:host] = ''

  def signup(email, name)
    @recipients  = email
    @from        = "admin@example.com"
    @subject     = "Account confirmation"
    @sent_on     = Time.now
    @body[:name] = name
  end

end

Version data entries

25 entries across 25 versions & 9 rubygems

Version Path
basiszwo-email_spec-0.1.3 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.0.10 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.0.5 spec/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.0.6 spec/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.0.7 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.0.9 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.1.0 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.1.1 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.1.2 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.1.3 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.1.4 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.2.0 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.2.1 examples/rails_root/app/models/user_mailer.rb
bmabey-email_spec-0.3.0 examples/rails_root/app/models/user_mailer.rb
craigw-email_spec-0.1.4 examples/rails_root/app/models/user_mailer.rb
hectoregm-email_spec-0.1.2 examples/rails_root/app/models/user_mailer.rb
hectoregm-email_spec-0.1.3 examples/rails_root/app/models/user_mailer.rb
leondu-email_spec-0.1.4 examples/rails_root/app/models/user_mailer.rb
mischa-email_spec-0.0.4 spec/rails_root/app/models/user_mailer.rb
rainchen-email_spec-0.1.4 examples/rails_root/app/models/user_mailer.rb