Skip to content

Instantly share code, notes, and snippets.

@cktricky
Created October 3, 2014 19:41
Show Gist options
  • Save cktricky/58317ca575c0c751b34c to your computer and use it in GitHub Desktop.
Save cktricky/58317ca575c0c751b34c to your computer and use it in GitHub Desktop.
Mandrill Configuration File
# THIS FILE IS FOUND WITHIN config/initializers/mandrill.rb
require 'mandrill'
# Use an environment variable instead of placing the key in source code
MANDRILL = Mandrill::API.new ENV['MANDRILL_API_KEY']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment