Class: ZoomEye::Clients::Web
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#search(query, page: nil, facets: nil) ⇒ Hash
Search the Web technologies.
Methods inherited from Base
Constructor Details
This class inherits a constructor from ZoomEye::Clients::Base
Instance Method Details
#search(query, page: nil, facets: nil) ⇒ Hash
Search the Web technologies
15 16 17 18 19 20 21 22 23 |
# File 'lib/zoomeye/clients/web.rb', line 15 def search(query, page: nil, facets: nil) params = { query: query, page: page, facets: facets }.compact _get("/web/search", params) { |json| json } end |