lib/fluent/plugin/out_twitter.rb in fluent-plugin-twitter-0.3.1 vs lib/fluent/plugin/out_twitter.rb in fluent-plugin-twitter-0.3.2

- old
+ new

@@ -20,10 +20,10 @@ @access_token_secret = @access_token_secret || @oauth_token_secret if !@consumer_key or !@consumer_secret or !@access_token or !@access_token_secret raise Fluent::ConfigError, "missing values in consumer_key or consumer_secret or oauth_token or oauth_token_secret" end - @twitter = Twitter::Client.new( + @twitter = Twitter::REST::Client.new( :consumer_key => @consumer_key, :consumer_secret => @consumer_secret, :access_token => @access_token, :access_token_secret => @access_token_secret )