Sha256: 584df56a030ca695ed70f027ec51eabbaa70f5eba3a9d9b6da32cecc18e5ca17

Contents?: true

Size: 633 Bytes

Versions: 8

Compression:

Stored size: 633 Bytes

Contents

module TwitterFriendly
  module REST
    module Tweets

      MAX_IDS_PER_REQUEST = 100

      # @return [Hash]
      #
      # @overload retweeters_ids(tweet, options = {})
      #
      # @param user [Integer, String] A Twitter user ID or screen name.
      #
      # @option options [Integer] :count The number of tweets to return per page, up to a maximum of 5000.
      def retweeters_ids(*args)
        # このメソッドではページングができない
        options = {count: MAX_IDS_PER_REQUEST}.merge(args.extract_options!)
        args << options
        @twitter.retweeters_ids(*args)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
twitter_friendly-2.0.1.pre.alpha lib/twitter_friendly/rest/tweets.rb
twitter_friendly-2.0.0.pre.alpha lib/twitter_friendly/rest/tweets.rb
twitter_friendly-1.2.3 lib/twitter_friendly/rest/tweets.rb
twitter_friendly-1.2.2 lib/twitter_friendly/rest/tweets.rb
twitter_friendly-1.2.1 lib/twitter_friendly/rest/tweets.rb
twitter_friendly-1.2.0 lib/twitter_friendly/rest/tweets.rb
twitter_friendly-1.1.0 lib/twitter_friendly/rest/tweets.rb
twitter_friendly-1.0.0 lib/twitter_friendly/rest/tweets.rb