Skip to content

Instantly share code, notes, and snippets.

@MaxPleaner
Last active August 29, 2015 14:02
Show Gist options
  • Save MaxPleaner/0c41673359d57811358b to your computer and use it in GitHub Desktop.
Save MaxPleaner/0c41673359d57811358b to your computer and use it in GitHub Desktop.
dotenv syntax
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