Sha256: 8b7f516a808dde8c453fae162d2627a7b2fb459a7b0640e12c9dca34145c2d55
Contents?: true
Size: 364 Bytes
Versions: 11
Compression:
Stored size: 364 Bytes
Contents
class PassMailer < ActionMailer::Base layout "mail" def pass_info_for(person, from, passes) @person = person @pass_summary = PassSummary.new(person.organization, passes) options = Hash.new.tap do |o| o[:to] = person.email o[:from] = from o[:subject] = "Your Passes" o[:reply_to] = from end mail(options) end end
Version data entries
11 entries across 11 versions & 1 rubygems