Class: Octo::EmailSender
- Inherits:
-
Object
- Object
- Octo::EmailSender
- Defined in:
- lib/octocore-mongo/email.rb
Overview
Class to perform Resque operations for sending email
Class Method Summary collapse
-
.perform(message) ⇒ Object
Resque Perform method.
Class Method Details
.perform(message) ⇒ Object
Resque Perform method
55 56 57 58 59 |
# File 'lib/octocore-mongo/email.rb', line 55 def self.perform() _mandrill_config = ENV['MANDRILL_API_KEY'] || Octo.get_config(:mandrill_api_key) m = Mandrill::API.new _mandrill_config m..send end |