Module: BinaryEdge::Client::Action::Search
- Defined in:
- lib/binaryedge/clients/actions/search.rb
Instance Method Summary collapse
-
#search(query, page: 1, only_ips: nil) ⇒ Hash
Events based on a Query.
Instance Method Details
#search(query, page: 1, only_ips: nil) ⇒ Hash
Events based on a Query.
16 17 18 19 20 21 22 23 24 |
# File 'lib/binaryedge/clients/actions/search.rb', line 16 def search(query, page: 1, only_ips: nil) params = { query: query, page: page, only_ips: only_ips }.compact _get("/#{base_path}/search", params) { |json| json } end |