Skip to content

Commit

Permalink
Fix typos in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed May 29, 2013
1 parent a318869 commit ec22170
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/twitter/api/friends_and_followers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -315,16 +315,14 @@ def friends(*args)
end
alias following friends

# Returns a collection of user_ids that the currently authenticated user does not want to receive retweets from.
# =>
# Returns a collection of user IDs that the currently authenticated user does not want to receive retweets from.
# @see https://dev.twitter.com/docs/api/1.1/get/friendships/no_retweets/ids
# @rate_limited Yes
# @authentication Requires user context
# @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
# @return [Array<Integer>]
# @param options [Hash] A customizable set of options.
# @option options [Boolean] :stringify_ids Many programming environments will not consume our ids due to their size. Provide this option to have ids returned as strings instead. Read more about Twitter IDs, JSON and Snowflake.
# @example Enable rewteets and devise notifications for @sferik
# @example Return a collection of user IDs that the currently authenticated user does not want to receive retweets from
# Twitter.no_retweet_ids
def no_retweet_ids(options={})
get("/1.1/friendships/no_retweets/ids.json", options)[:body].map(&:to_i)
Expand Down

0 comments on commit ec22170

Please sign in to comment.