lib/shodan/clients/exploits.rb in shodanx-0.2.0 vs lib/shodan/clients/exploits.rb in shodanx-0.2.1

- old
+ new

@@ -19,20 +19,20 @@ def search(query = "", facets: {}, page: 1, **params) params[:query] = query params = turn_into_query(params) facets = turn_into_facets(facets) params[:page] = page - get("/search", params.merge(facets)) + get("/search", **params.merge(facets)) end # This method behaves identical to the "/search" method with # the difference that it doesn't return any results. def count(query = "", facets: {}, page: 1, **params) params[:query] = query params = turn_into_query(params) facets = turn_into_facets(facets) params[:page] = page - get("/count", params.merge(facets)) + get("/count", **params.merge(facets)) end end end end