Skip to content

Commit

Permalink
added ability to pass query parameters to user method
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Apr 16, 2009
1 parent 2674e1f commit 33ae7db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions History
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/twitter/base.rb
Expand Up @@ -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
Expand Down

0 comments on commit 33ae7db

Please sign in to comment.