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

- old
+ new

@@ -8,11 +8,11 @@ module Trends include Twitter::REST::Utils # Returns the top 10 trending topics for a specific WOEID # - # @see https://dev.twitter.com/docs/api/1.1/get/trends/place + # @see https://dev.twitter.com/rest/reference/get/trends/place # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @param id [Integer] The {https://developer.yahoo.com/geo/geoplanet Yahoo! Where On Earth ID} of the location to return trending information for. WOEIDs can be retrieved by calling {Twitter::REST::Trends#trends_available}. Global information is available by using 1 as the WOEID. # @param options [Hash] A customizable set of options. @@ -26,11 +26,11 @@ alias_method :local_trends, :trends alias_method :trends_place, :trends # Returns the locations that Twitter has trending topic information for # - # @see https://dev.twitter.com/docs/api/1.1/get/trends/available + # @see https://dev.twitter.com/rest/reference/get/trends/available # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @param options [Hash] A customizable set of options. # @return [Array<Twitter::Place>] @@ -39,10 +39,10 @@ end alias_method :trend_locations, :trends_available # Returns the locations that Twitter has trending topic information for, closest to a specified location. # - # @see https://dev.twitter.com/docs/api/1.1/get/trends/closest + # @see https://dev.twitter.com/rest/reference/get/trends/closest # @rate_limited Yes # @authentication Requires user context # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @param options [Hash] A customizable set of options. # @option options [Float] :lat If provided with a :long option the available trend locations will be sorted by distance, nearest to furthest, to the co-ordinate pair. The valid ranges for latitude are -90.0 to +90.0 (North is positive) inclusive.