module MandrillClient
Public Class Methods
client()
click to toggle source
# File lib/mandrill_template/client.rb, line 9 def self.client Mandrill::API.new ENV['MANDRILL_APIKEY'] end
templates_directory()
click to toggle source
# File lib/mandrill_template/client.rb, line 5 def self.templates_directory ENV['MANDRILL_TEMPLATES_DIR'] || "templates" end