Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Load config from local file if it exists

  • Loading branch information...
commit 1b9bfe17384b995865f899d7ba1f465261b2879a 1 parent e4ebfff
James Stewart jystewart authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  send_email.rb
3  send_email.rb 100644 → 100755
View
@@ -3,6 +3,9 @@
require 'action_mailer'
require 'aws/ses'
+heroku_env = File.expand_path('config.rb', File.dirname(__FILE__))
+load(heroku_env) if File.exists?(heroku_env)
+
require_relative 'lib/analytics_interface'
require_relative 'lib/report_mailer'
Please sign in to comment.
Something went wrong with that request. Please try again.