Skip to content

Instantly share code, notes, and snippets.

@dannymcc
Created May 1, 2012 14:13
Show Gist options
  • Save dannymcc/2568172 to your computer and use it in GitHub Desktop.
Save dannymcc/2568172 to your computer and use it in GitHub Desktop.
class ReportMailer < ActionMailer::Base
default from: "admin@hillcrestanimalhospital.co.uk"
mail to: "danny@hillcrestanimalhospital.co.uk", subject: "Practice Finance Report"
ReportMailer.deliver_income_by_month_report(Clinical.income_by_month)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment