Sha256: 93b0071faaa4d0f7bccfe14842332a5be69201f04c2d18950e9c3e1b54014eb6
Contents?: true
Size: 725 Bytes
Versions: 4
Compression:
Stored size: 725 Bytes
Contents
module Ixtlan class Mailer < ActionMailer::Base require 'pathname' path = Pathname(__FILE__).parent.dirname.to_s p path view_paths << path unless view_paths.member? path def password(email_to, email_from, password) @subject = '' @body = {:password => password} @recipients = email_to @from = email_from @sent_on = Time.now @headers = {} end def error_notification(email_from, email_to, exception, error_file) @subject = exception.to_s @body = {:text => "#{error_file}"} @recipients = email_to @from = email_from @sent_on = Time.now @headers = {} end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ixtlan-0.4.0.pre3 | lib/ixtlan/mailer.rb |
ixtlan-0.4.0.pre2 | lib/ixtlan/mailer.rb |
ixtlan-0.4.0.pre | lib/ixtlan/mailer.rb |
ixtlan-0.3.0 | lib/ixtlan/mailer.rb |