Permalink
Browse files

Allow URIs everywhere

  • Loading branch information...
sferik committed Jul 20, 2013
1 parent 721de1e commit c207567e674f108e4074e12c9e7343fb74e8a97c
@@ -129,7 +129,7 @@ def direct_message_destroy(*args)
# @authentication Requires user context
# @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
# @return [Twitter::DirectMessage] The sent message.
- # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, or object.
+ # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
# @param text [String] The text of your direct message, up to 140 characters.
# @param options [Hash] A customizable set of options.
# @example Send a direct message to @sferik from the authenticating user
@@ -26,7 +26,7 @@ module Favorites
# @overload favorites(user, options={})
# Returns the 20 most recent favorite Tweets for the specified user
#
- # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, or object.
+ # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
# @param options [Hash] A customizable set of options.
# @option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 100.
# @option options [Integer] :since_id Returns results with an ID greater than (that is, more recent than) the specified ID.
@@ -25,7 +25,7 @@ module FriendsAndFollowers
# @overload friend_ids(user, options={})
# Returns an array of numeric IDs for every user the specified user is following
#
- # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, or object.
+ # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
# @param options [Hash] A customizable set of options.
# @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
# @example Return @sferik's friends' IDs
@@ -50,7 +50,7 @@ def friend_ids(*args)
# @overload follower_ids(user, options={})
# Returns an array of numeric IDs for every user following the specified user
#
- # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, or object.
+ # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
# @param options [Hash] A customizable set of options.
# @option options [Integer] :cursor (-1) Breaks the results into pages. This is recommended for users who are following many users. Provide a value of -1 to begin paging. Provide values as returned in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.
# @example Return @sferik's followers' IDs
@@ -199,7 +199,7 @@ def unfollow(*args)
# @authentication Requires user context
# @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
# @return [Twitter::Relationship]
- # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, or object.
+ # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
# @param options [Hash] A customizable set of options.
# @option options [Boolean] :device Enable/disable device notifications from the target user.
# @option options [Boolean] :retweets Enable/disable retweets from the target user.
@@ -271,7 +271,7 @@ def friendship?(source, target, options={})
# @overload followers(user, options={})
# Returns a cursored collection of user objects for users following the specified user.
#
- # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, or object.
+ # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
# @param options [Hash] A customizable set of options.
# @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
# @option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
@@ -302,7 +302,7 @@ def followers(*args)
# @overload friends(user, options={})
# Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").
#
- # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, or object.
+ # @param user [Integer, String, Twitter::User] A Twitter user ID, screen name, URI, or object.
# @param options [Hash] A customizable set of options.
# @option options [Integer] :cursor (-1) Breaks the results into pages. Provide values as returned in the response objects's next_cursor and previous_cursor attributes to page back and forth in the list.
# @option options [Boolean, String, Integer] :skip_status Do not include contributee's Tweets when set to true, 't' or 1.
Oops, something went wrong.

0 comments on commit c207567

Please sign in to comment.