Mercurial > rsstweet
changeset 23:b82d86b74636
Update variable names.
author | edogawaconan <me@myconan.net> |
---|---|
date | Fri, 05 Sep 2014 23:26:34 +0900 |
parents | eb07f7dc25eb |
children | c1783bab9035 |
files | README.md app/models/tweet.rb |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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