Skip to content

Commit

Permalink
verify_credentials now returns a Twitter::User.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Feb 21, 2009
1 parent f2260a9 commit 6a8efc4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 46 deletions.
2 changes: 1 addition & 1 deletion lib/twitter/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def post(status, options={})
# Verifies the credentials for the auth user.
# raises Twitter::CantConnect on failure.
def verify_credentials
request('account/verify_credentials.xml', :auth => true)
users(request('account/verify_credentials.xml', :auth => true)).first
end

private
Expand Down
45 changes: 0 additions & 45 deletions twitter.gemspec

This file was deleted.

0 comments on commit 6a8efc4

Please sign in to comment.