Method: Twitter::REST::Users#users
- Defined in:
- lib/twitter/rest/users.rb
#users(*users) ⇒ Array<Twitter::User> #users(*users, options) ⇒ Array<Twitter::User>
Returns extended information for up to 100 users
208 209 210 211 212 213 |
# File 'lib/twitter/rest/users.rb', line 208 def users(*args) arguments = Twitter::Arguments.new(args) flat_pmap(arguments.each_slice(MAX_USERS_PER_REQUEST)) do |users| perform_get_with_objects("/1.1/users/lookup.json", merge_users(arguments., users), Twitter::User) end end |