Twitter::Client#user_timeline no method error
Closed this issue · 1 comments
wismer commented
I'm not sure if this is a bug or I'm configuring it wrong, but Statement::Tweets#timeline
calls Twitter::Client#user_timeline
. Should it be responding to the twitter REST client instead? I've never used the streaming API before so maybe it's related to that but I am unsure.
t = Statement::Tweets.new
t.timeline("Robert_Aderholt")
# => NoMethodError: undefined method `user_timeline' for #<Twitter::Client:0x007fe6340f13e8>
# in Twitter::Client
a.client.user_timeline
# => NoMethodError: undefined method `user_timeline' for #<Twitter::Client:0x007fe6340f13e8>
dwillis commented
You are correct: It should be calling rest_client
instead.