Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

correct readme typos for accessing friends and followers

  • Loading branch information...
commit 2043ab4a6b723cac2a8ed77e26a4b0e3f4f55b03 1 parent 5cb5d7d
@surfacedamage surfacedamage authored committed
Showing with 3 additions and 2 deletions.
  1. +2 −2 README.mkd
  2. +1 −0  changes.txt
View
4 README.mkd
@@ -223,10 +223,10 @@ Usage Examples
puts Twitter.home_timeline.first.text
# Who's your most popular friend?
- puts Twitter.friends.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
+ puts Twitter.friends.users.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
# Who's your most popular follower?
- puts Twitter.followers.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
+ puts Twitter.followers.users.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
# Get your rate limit status
puts Twitter.rate_limit_status.remaining_hits.to_s + " Twitter API request(s) remaining this hour"
View
1  changes.txt
@@ -0,0 +1 @@
+Typo on readme when sorting friends or followers would yield a no method error.
Please sign in to comment.
Something went wrong with that request. Please try again.