Class: ZoomEye::Clients::Host
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#search(query, page: nil, facets: nil) ⇒ Hash
Search the Host devices.
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 Host devices
15 16 17 18 19 20 21 22 23 |
# File 'lib/zoomeye/clients/host.rb', line 15 def search(query, page: nil, facets: nil) params = { query: query, page: page, facets: facets }.compact _get("/host/search", params) { |json| json } end |