Method: ACTV::Client#articles
- Defined in:
- lib/actv/client.rb
#articles(q, params = {}) ⇒ ACTV::SearchResults
Returns articles that match a specified query.
134 135 136 137 |
# File 'lib/actv/client.rb', line 134 def articles(q, params={}) response = get("/v2/search.json", params.merge({query: q, category: 'articles'})) ACTV::ArticleSearchResults.from_response(response) end |