stephenb/sendgrid — pull request #9 by gaizka (2012-12-19 10:59:55+00:00)
Title: Adds support for setting default "sendgrid_disable" options at mailer level, not just emails

Then you can have:

class AdminMailer < ActionMailer::Base
include SendGrid
sendgrid_disable :subscriptiontrack

def this_has_subscriptiontrack_disabled ; end
def this_has_subscriptiontrack_disabled_too ; end

def this_has_subscriptiontrack_enabled
sendgrid_enable :subscriptiontrack
end
end