Module: RedboothRuby::ClientOperations::Search
- Included in:
- RedboothRuby::Client
- Defined in:
- lib/redbooth-ruby/client_operations/search.rb
Instance Method Summary collapse
-
#search(attributes = {}) ⇒ Array
Retrieves all available objects from the Redbooth API by searching for the given parameters and query.
Instance Method Details
#search(attributes = {}) ⇒ Array
Retrieves all available objects from the Redbooth API by searching for the given parameters and query
10 11 12 13 |
# File 'lib/redbooth-ruby/client_operations/search.rb', line 10 def search(attributes = {}) response = RedboothRuby.request(:get, nil, 'search' , attributes, { session: session }) collection_from attributes, response, session end |