lib/shodan/clients/exploits.rb
# This method behaves identical to the "/search" method with
# the difference that it doesn't return any results.
This method behaves identical to the "/search" method with
the difference that it doesn't return any results.
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))
      end
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 ) ) end
This method behaves identical to the "/search" method with
the difference that it doesn't return any results.
This method behaves identical to the " / search " method with the difference that it doesn ' t return any results .
query
facets
page
params