Sha256: 764d48bcc0037f46516610d3b31ed8498b973b3222d9d851a1fa8a0fe70d7af5
Contents?: true
Size: 418 Bytes
Versions: 16
Compression:
Stored size: 418 Bytes
Contents
class Dorsale::BillingMachine::InvoiceMailer < ::Dorsale::ApplicationMailer def send_invoice_to_customer(invoice, subject, body, sender = nil) attachments["#{invoice.t}_#{invoice.tracking_id}.pdf"] = invoice.pdf_file.read mail( :to => invoice.customer.email, :cc => sender.email, :reply_to => sender.email, :subject => subject, :body => body, ) end end
Version data entries
16 entries across 16 versions & 1 rubygems