lib/shodan/clients/base.rb
def delete(path, **params)
        params[:key] = key

        uri = URI("#{base_url}#{path}")
        uri.query = URI.encode_www_form(params)
        req = Net::HTTP::Delete.new(uri)
        request req
      end
# Perform a direct DELETE HTTP request to the REST API.
Perform a direct DELETE HTTP request to the REST API.
Perform a direct DELETE HTTP request to the REST API .
def delete(path, **params)
        params[:key] = key
        uri = URI("#{base_url}#{path}")
        uri.query = URI.encode_www_form(params)
        req = Net::HTTP::Delete.new(uri)
        request req
      end
def delete ( path , ** params ) params [ :key ] = key uri = URI ( "#{base_url}#{path}" ) uri . query = URI . encode_www_form ( params ) req = Net :: HTTP :: Delete . new ( uri ) request req end
Perform a direct DELETE HTTP request to the REST API.
Perform a direct DELETE HTTP request to the REST API .
path
params