Class: IFD_Email
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- IFD_Email
- Defined in:
- lib/Ifd_Automation/methods/IFD_email_methods.rb
Overview
include EmailSpec::Matcher
Class Method Summary collapse
Class Method Details
.send_email(to_address, subject, body_email) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/Ifd_Automation/methods/IFD_email_methods.rb', line 6 def self.send_email(to_address, subject, body_email) include Mail::Matchers # Mail::TestMailer.deliveries.clear Mail.deliver do from $SEND_EMAIL_USERNAME to to_address subject subject body body_email end end |