# HG changeset patch # User edogawaconan # Date 1409927194 -32400 # Node ID b82d86b746366a974066ac1b7a45099d2b2245fa # Parent eb07f7dc25eb9292f97c3de24a9d2a090344fd8e Update variable names. diff -r eb07f7dc25eb -r b82d86b74636 README.md --- a/README.md Fri Sep 05 23:21:29 2014 +0900 +++ b/README.md Fri Sep 05 23:26:34 2014 +0900 @@ -25,8 +25,8 @@ - `RT_CONSUMER_KEY` - `RT_CONSUMER_SECRET` -- `RT_OAUTH_TOKEN` -- `RT_OAUTH_TOKEN_SECRET` +- `RT_ACCESS_TOKEN` +- `RT_ACCESS_TOKEN_SECRET` Make sure to set them before using. diff -r eb07f7dc25eb -r b82d86b74636 app/models/tweet.rb --- a/app/models/tweet.rb Fri Sep 05 23:21:29 2014 +0900 +++ b/app/models/tweet.rb Fri Sep 05 23:26:34 2014 +0900 @@ -2,8 +2,8 @@ CONFIG = { :consumer_key => ENV["RT_CONSUMER_KEY"], :consumer_secret => ENV["RT_CONSUMER_SECRET"], - :access_token => ENV["RT_OAUTH_TOKEN"], - :access_token_secret => ENV["RT_OAUTH_TOKEN_SECRET"] + :access_token => ENV["RT_ACCESS_TOKEN"], + :access_token_secret => ENV["RT_ACCESS_TOKEN_SECRET"] } def timeline