Method: LabClient::Projects#search_within
- Defined in:
- lib/labclient/projects/search.rb
#search_within(project_id, scope, search_string = '') ⇒ Object
Search All Projects
52 53 54 55 56 57 58 59 60 61 |
# File 'lib/labclient/projects/search.rb', line 52 def search_within(project_id, scope, search_string = '') project_id = format_id(project_id) scope = scope.to_sym # Case Simplicity query = { scope: scope, search: search_string } klass = klass_type(scope) client.request(:get, "projects/#{project_id}/search", klass, query) end |