Skip to content

Commit

Permalink
Add examples for users/lookup options hash
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasklemm committed Nov 29, 2012
1 parent 7798ad0 commit 23d9b51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/twitter/api/users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ def unblock(*args)
# @overload users(*users, options)
# @param users [Array<Integer, String, Twitter::User>, Set<Integer, String, Twitter::User>] An array of Twitter user IDs, screen names, or objects.
# @param options [Hash] A customizable set of options.
# @option options [Symbol, String] :method Requests users via a GET request instead of the standard POST request if set to ':get'.
# @option options [Boolean] :include_entities The tweet entities node will be disincluded when set to false.
# @example Return extended information for @sferik and @pengwynn
# Twitter.users('sferik', 'pengwynn', :method => :get) # Retrieve users with a GET request
# Twitter.users(7505382, 14100886, {:method => :get}) # Same as above
Expand Down

0 comments on commit 23d9b51

Please sign in to comment.