Module: AngellistApi::Client::Search
- Included in:
- AngellistApi::Client
- Defined in:
- lib/angellist_api/client/search.rb
Overview
Defines methods related to URLs
Instance Method Summary collapse
-
#search(query, options = {}) ⇒ Object
Search for Startups, Users, MarketTags and LocationTags, optionally narrowing the results by type.
Instance Method Details
#search(query, options = {}) ⇒ Object
Search for Startups, Users, MarketTags and LocationTags, optionally narrowing the results by type. Results are sorted by a mix of match and popularity.
24 25 26 27 |
# File 'lib/angellist_api/client/search.rb', line 24 def search(query, ={}) .merge!(:query => CGI.escape(query)) get("1/search", ) end |