Module: Feedlr::Gateway::Search
- Included in:
- Client
- Defined in:
- lib/feedlr/gateway/search.rb
Overview
Search API
Instance Method Summary collapse
-
#search_feeds(query, options = {}) ⇒ Feedlr::Base
Find feeds based on title , url or #topic.
-
#search_stream(stream_id, query, options = {}) ⇒ Feedlr::Base
Search the content of a stream (Pro only).
Instance Method Details
#search_feeds(query, options = {}) ⇒ Feedlr::Base
Find feeds based on title , url or #topic
16 17 18 |
# File 'lib/feedlr/gateway/search.rb', line 16 def search_feeds(query , = {}) build_object(:get , '/search/feeds' , { q: query }.merge()) end |
#search_stream(stream_id, query, options = {}) ⇒ Feedlr::Base
Search the content of a stream (Pro only)
35 36 37 38 |
# File 'lib/feedlr/gateway/search.rb', line 35 def search_stream(stream_id , query , = {}) build_object(:get , '/search/contents', { q: query , streamId: stream_id }.merge()) end |