Module: Evrythng::Client::Search
- Included in:
- Evrythng::Client
- Defined in:
- lib/evrythng/client/search.rb
Overview
Defines methods related to Search
Instance Method Summary collapse
-
#search(q, options = {}) ⇒ Array
Returns thngs that match a specified query.
Instance Method Details
#search(q, options = {}) ⇒ Array
Returns thngs that match a specified query.
17 18 19 |
# File 'lib/evrythng/client/search.rb', line 17 def search(q, ={}) get('search', .merge(:q => q)) end |