class Octo::EmailSender
Class to perform Resque operations for sending email
Public Class Methods
perform(message)
click to toggle source
Resque Perform method @param [Hash] message The details of email
# File lib/octocore-cassandra/email.rb, line 55 def self.perform(message) _mandrill_config = ENV['MANDRILL_API_KEY'] || Octo.get_config(:mandrill_api_key) m = Mandrill::API.new _mandrill_config m.messages.send message end