Last active
August 29, 2015 14:02
-
-
Save MaxPleaner/0c41673359d57811358b to your computer and use it in GitHub Desktop.
dotenv syntax
This file contains hidden or 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
require 'dotenv' | |
Dotenv.load | |
# Get these from https://apps.twitter.com/ in your applications API Keys tab. | |
API_KEY=ENV['API_KEY'] | |
API_SECRET=ENV['API_SECRET'] | |
ACCESS_TOKEN=ENV['ACCESS_TOKEN'] | |
ACCESS_TOKEN_SECRET=ENV['ACCESS_TOKEN_SECRET'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment