Module: Zusaar::API::Search
- Included in:
- Client
- Defined in:
- lib/zusaar/api/search.rb
Instance Method Summary collapse
Instance Method Details
#search_events(query = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/zusaar/api/search.rb', line 6 def search_events(query = {}) path = '/api/event/' body = send(:get, path, query).body SearchResults.new(body) end |
#search_users(query = {}) ⇒ Object
12 13 14 15 16 |
# File 'lib/zusaar/api/search.rb', line 12 def search_users(query = {}) path = '/api/event/user/' body = send(:get, path, query).body SearchResults.new(body) end |