mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-23 22:01:09 -05:00
Use new twitter gem style in archiver
This commit is contained in:
@@ -31,14 +31,12 @@ module Ebooks
|
||||
end
|
||||
end
|
||||
|
||||
Twitter.configure do |config|
|
||||
Twitter::REST::Client.new do |config|
|
||||
config.consumer_key = @config[:consumer_key]
|
||||
config.consumer_secret = @config[:consumer_secret]
|
||||
config.oauth_token = @config[:oauth_token]
|
||||
config.oauth_token_secret = @config[:oauth_token_secret]
|
||||
config.access_token = @config[:oauth_token]
|
||||
config.access_token_secret = @config[:oauth_token_secret]
|
||||
end
|
||||
|
||||
Twitter::Client.new
|
||||
end
|
||||
|
||||
def initialize(username, path, client=nil)
|
||||
|
||||
Reference in New Issue
Block a user