Method: Nom::API#user_search
- Defined in:
- lib/nom-ruby/api.rb
#user_search(query, options = {}) ⇒ Object
51 52 53 54 55 56 57 58 |
# File 'lib/nom-ruby/api.rb', line 51 def user_search(query, = {}) start, limit = Nom::Util.page() Nom::API.handle.get('/users/search', { :query => query, # If the input value is of unknown origin :screen_name => [:screen_name], :email => [:email] }) end |