Skip to content

Commit

Permalink
Use #access_token= because of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuwatch committed Dec 5, 2016
1 parent fe5670c commit c3dcf05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ BASIC_USERNAME=''
BASIC_PASSWORD=''
TWITTER_CONSUMER_KEY=''
TWITTER_CONSUMER_SECRET=''
TWITTER_OAUTH_TOKEN=''
TWITTER_OAUTH_TOKEN_SECRET=''
TWITTER_ACCESS_TOKEN=''
TWITTER_ACCESS_TOKEN_SECRET=''
NICONICO_EMAIL=''
NICONICO_PASSWORD=''
4 changes: 2 additions & 2 deletions lib/ayaneru.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def self.twitter
@twitter ||= Twitter::REST::Client.new do |config|
config.consumer_key = ENV['TWITTER_CONSUMER_KEY']
config.consumer_secret = ENV['TWITTER_CONSUMER_SECRET']
config.oauth_token = ENV['TWITTER_OAUTH_TOKEN']
config.oauth_token_secret = ENV['TWITTER_OAUTH_TOKEN_SECRET']
config.access_token = ENV['TWITTER_ACCESS_TOKEN']
config.access_token_secret = ENV['TWITTER_ACCESS_TOKEN_SECRET']
end
end
end

0 comments on commit c3dcf05

Please sign in to comment.