Create a gist now

Instantly share code, notes, and snippets.

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