Method: Ayadn::Endpoints#search_users

Defined in:
lib/ayadn/endpoints.rb

#search_users(words, options) ⇒ Object



179
180
181
182
183
184
# File 'lib/ayadn/endpoints.rb', line 179

def search_users words, options
  make_options_list_simple(options) do
    API.build_query({count: Settings.options.counts.search})
  end
  "#{@users_url}search?q=#{words}&access_token=#{Settings.user_token}#{@options_list}"
end