Class: Payola::SendMail
- Inherits:
-
Object
- Object
- Payola::SendMail
- Defined in:
- app/services/payola/send_mail.rb
Class Method Summary collapse
Class Method Details
.call(mailer, method, *args) ⇒ Object
3 4 5 |
# File 'app/services/payola/send_mail.rb', line 3 def self.call(mailer, method, *args) mailer.safe_constantize.send(method, *args).deliver end |