Class: TwitterType::TwitterClient
- Inherits:
-
Object
- Object
- TwitterType::TwitterClient
- Defined in:
- lib/twitterclient.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#gather_recent_tweets_for(screen_name) ⇒ Object
7 8 9 10 11 |
# File 'lib/twitterclient.rb', line 7 def gather_recent_tweets_for (screen_name) raise ArgumentError if screen_name.nil? or screen_name.strip.size == 0 Twitter::Client.new.timeline_for(:user, :id => screen_name) end |