lib/twitter/rest/timelines.rb in twitter-5.14.0 vs lib/twitter/rest/timelines.rb in twitter-5.15.0

- old
+ new

@@ -9,11 +9,11 @@ DEFAULT_TWEETS_PER_REQUEST = 20 MAX_TWEETS_PER_REQUEST = 200 # Returns the 20 most recent mentions (statuses containing @username) for the authenticating user # - # @see https://dev.twitter.com/docs/api/1.1/get/statuses/mentions_timeline + # @see https://dev.twitter.com/rest/reference/get/statuses/mentions_timeline # @note This method can only return up to 800 Tweets. # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Array<Twitter::Tweet>] @@ -27,11 +27,11 @@ end alias_method :mentions, :mentions_timeline # Returns the 20 most recent Tweets posted by the specified user # - # @see https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline + # @see https://dev.twitter.com/rest/reference/get/statuses/user_timeline # @note This method can only return up to 3,200 Tweets. # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Array<Twitter::Tweet>] @@ -49,11 +49,11 @@ objects_from_response_with_user(Twitter::Tweet, :get, '/1.1/statuses/user_timeline.json', args) end # Returns the 20 most recent retweets posted by the specified user # - # @see https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline + # @see https://dev.twitter.com/rest/reference/get/statuses/user_timeline # @note This method can only return up to 3,200 Tweets. # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Array<Twitter::Tweet>] @@ -72,11 +72,11 @@ end alias_method :retweeted_by, :retweeted_by_user # Returns the 20 most recent retweets posted by the authenticating user # - # @see https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline + # @see https://dev.twitter.com/rest/reference/get/statuses/user_timeline # @note This method can only return up to 3,200 Tweets. # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Array<Twitter::Tweet>] @@ -93,11 +93,11 @@ end end # Returns the 20 most recent Tweets, including retweets if they exist, posted by the authenticating user and the users they follow # - # @see https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline + # @see https://dev.twitter.com/rest/reference/get/statuses/home_timeline # @note This method can only return up to 800 Tweets, including retweets. # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Array<Twitter::Tweet>] @@ -113,11 +113,11 @@ perform_get_with_objects('/1.1/statuses/home_timeline.json', options, Twitter::Tweet) end # Returns the 20 most recent retweets posted by users the authenticating user follow. # - # @see https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline + # @see https://dev.twitter.com/rest/reference/get/statuses/home_timeline # @note This method can only return up to 800 Tweets, including retweets. # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Array<Twitter::Tweet>] @@ -134,10 +134,10 @@ end end # Returns the 20 most recent tweets of the authenticated user that have been retweeted by others # - # @see https://dev.twitter.com/docs/api/1.1/get/statuses/retweets_of_me + # @see https://dev.twitter.com/rest/reference/get/statuses/retweets_of_me # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Array<Twitter::Tweet>] # @param options [Hash] A customizable set of options.