Permalink
Browse files

Add missing Twitter::Base#mentions method with fixture and test.

  • Loading branch information...
1 parent 1735b84 commit dc9a31b67a55f76611fdbcdfa9aa9866c4d82104 @tobie committed Jul 6, 2009
Showing with 15 additions and 0 deletions.
  1. +5 −0 lib/twitter/base.rb
  2. +1 −0 test/fixtures/mentions.json
  3. +9 −0 test/twitter/base_test.rb
View
@@ -20,6 +20,11 @@ def user_timeline(query={})
perform_get('/statuses/user_timeline.json', :query => query)
end
+ # Options: since_id, max_id, count, page
+ def mentions(query={})
+ perform_get('/statuses/mentions.json', :query => query)
+ end
+
def status(id)
perform_get("/statuses/show/#{id}.json")
end
Oops, something went wrong.

0 comments on commit dc9a31b

Please sign in to comment.