Fixed client variable.

This commit is contained in:
Martin Edenhofer 2013-11-19 10:27:44 +01:00
parent 5bc1fc9080
commit 4a27df45d1

View file

@ -22,7 +22,7 @@ class Channel::Twitter2
channel[:options][:search].each { |search|
puts " - searching for #{search[:item]}"
tweets = []
client.search( search[:item], :count => 50, :result_type => "recent" ).collect do |tweet|
@client.search( search[:item], :count => 50, :result_type => "recent" ).collect do |tweet|
tweets.push tweet
end
@article_type = 'twitter status'