lib/tw/client/request.rb in tw-1.0.10 vs lib/tw/client/request.rb in tw-1.0.11
- old
+ new
@@ -11,10 +11,10 @@
:rt_count => m.retweet_count)
}
end
def search(word)
- @rest_client.search(word).map{|m|
+ @rest_client.search(word).take(20).map{|m|
Tw::Tweet.new(:id => m.id,
:user => m.user.screen_name,
:text => m.text,
:time => m.created_at,
:fav_count => m.favorite_count,