Permalink
Browse files

added ability to pass query parameters to user method

  • Loading branch information...
jnunemaker committed Apr 16, 2009
1 parent 2674e1f commit 33ae7dbd7593235efb8ea1df13638891b621244f
Showing with 6 additions and 2 deletions.
  1. +4 −0 History
  2. +2 −2 lib/twitter/base.rb
View
@@ -1,3 +1,7 @@
+0.6.6 - April 16, 2009
+* 1 minor enhancement
+ * added ability to pass query parameters to user method
+
0.6.5 - April 15, 2009
* 1 bug fix
* fixed that friend_ids and follower_ids were bombing from trying to mash them. Added :mash option to Twitter::Request so I can specifically not mash certain responses from twitter
View
@@ -48,8 +48,8 @@ def followers(query={})
perform_get('/statuses/followers.json', :query => query)
end
- def user(id)
- perform_get("/users/show/#{id}.json")
+ def user(id, :query => {})
+ perform_get("/users/show/#{id}.json", :query => query)
end
# Options: since, since_id, page

0 comments on commit 33ae7db

Please sign in to comment.