Class: TopDMC::Client::Resources::Search
- Inherits:
-
Base
- Object
- Base
- TopDMC::Client::Resources::Search
- Defined in:
- lib/topdmc/resources/search.rb
Instance Method Summary collapse
- #find_all_by_query(query = {}) ⇒ Object
-
#initialize(client) ⇒ Search
constructor
A new instance of Search.
Constructor Details
#initialize(client) ⇒ Search
Returns a new instance of Search.
7 8 9 |
# File 'lib/topdmc/resources/search.rb', line 7 def initialize(client) super(client) end |
Instance Method Details
#find_all_by_query(query = {}) ⇒ Object
11 12 13 |
# File 'lib/topdmc/resources/search.rb', line 11 def find_all_by_query(query={}) perform_request('GET', "/v1/search", query) end |