Mercurial > rsstweet
comparison config/config_init.rb @ 76:0c023d35cd80
Allows usage of multiple twitter keys
Working around api rate limit
author | nanaya <me@myconan.net> |
---|---|
date | Sun, 26 Jun 2016 16:46:02 +0900 |
parents | e9a6019a34ea |
children | f76d44baa3dc |
comparison
equal
deleted
inserted
replaced
75:585952f98978 | 76:0c023d35cd80 |
---|---|
1 $cfg = { | 1 $cfg = { |
2 :twitter => { | 2 :twitter0 => { |
3 :consumer_key => ENV["RT_CONSUMER_KEY"], | 3 :consumer_key => ENV["RT_CONSUMER_KEY"], |
4 :consumer_secret => ENV["RT_CONSUMER_SECRET"], | 4 :consumer_secret => ENV["RT_CONSUMER_SECRET"], |
5 :access_token => ENV["RT_ACCESS_TOKEN"], | 5 :access_token => ENV["RT_ACCESS_TOKEN"], |
6 :access_token_secret => ENV["RT_ACCESS_TOKEN_SECRET"] | 6 :access_token_secret => ENV["RT_ACCESS_TOKEN_SECRET"] |
7 }, | 7 }, |