Skip to content

Instantly share code, notes, and snippets.

@tjackiw
Created June 22, 2012 07:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjackiw/2970900 to your computer and use it in GitHub Desktop.
Save tjackiw/2970900 to your computer and use it in GitHub Desktop.
Adding SMS capabilities to your Rails Application
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