Module: FatZebra::APIOperation::Search::ClassMethods
- Defined in:
- lib/fat_zebra/api_operation/search.rb
Instance Method Summary collapse
-
#search(params = {}, options = {}) ⇒ FatZebra::Object
Search for API Resources.
Instance Method Details
#search(params = {}, options = {}) ⇒ FatZebra::Object
Search for API Resources
26 27 28 29 30 31 |
# File 'lib/fat_zebra/api_operation/search.rb', line 26 def search(params = {}, = {}) params = DEFAULT_PARAMS.merge(params) response = request(:get, resource_path, params, ) initialize_from(response) end |