Created
June 22, 2012 07:04
-
-
Save tjackiw/2970900 to your computer and use it in GitHub Desktop.
Adding SMS capabilities to your Rails Application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path = File.join(Rails.root, "config/twilio.yml") | |
TWILIO_CONFIG = YAML.load(File.read(path))[Rails.env] || {'sid' => '', 'from' => '', 'token' => ''} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment