-
-
Save stefanobernardi/1920719 to your computer and use it in GitHub Desktop.
Revisions
-
ilake revised this gist
Jan 27, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ #config/initializers/sorcery_async_email.rb module Sorcery module InstanceMethods def generic_send_email(method, mailer) -
ilake created this gist
Jan 27, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ module Sorcery module InstanceMethods def generic_send_email(method, mailer) config = sorcery_config config.send(mailer).delay.send(config.send(method),self) end end end end