Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 456 Bytes
unless ENV["ENV"] =~ /production/i
load 'dev_auth.rb'
end
module TwitterAuth
MyName = ENV["BOT_NAME"]
ApigeeEnpoint = ENV["APIGEE_TWITTER_API_ENDPOINT"]
def self.use_apigee?
!ApigeeEnpoint.nil?
end
AuthKeys = {
consumer_key: ENV["BOT_TWITTER_CONSUMER_KEY"],
consumer_secret: ENV["BOT_TWITTER_CONSUMER_SECRET"],
oauth_token: ENV["BOT_TWITTER_OAUTH_TOKEN"],
oauth_token_secret: ENV["BOT_TWITTER_OAUTH_TOKEN_SECRET"]
}
end
Something went wrong with that request. Please try again.