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
# How to set up your local development machine to use the Apigee Heroku or Facebook add-on | |
if ENV['APIGEE_TWITTER_API_ENDPOINT'] | |
@@twitter_api = ENV['APIGEE_TWITTER_API_ENDPOINT'] | |
else | |
# Get this value from Heroku. | |
# Once you have enabled the addon, boot up the 'heroku console' and run the following: | |
# puts ENV['APIGEE_TWITTER_API_ENDPOINT'] | |
# (or replace with the configvar of your Apigee endpoint according to the relevant add-on, see their docs) | |
# this will spit out your correct api endpoint |