Class: UrlScan::Commands::Pro

Inherits:
Base
  • Object
show all
Defined in:
lib/urlscan/commands/pro.rb

Instance Method Summary collapse

Instance Method Details

#searchObject



10
11
12
13
14
15
# File 'lib/urlscan/commands/pro.rb', line 10

def search
  with_error_handling do
    res = api.pro.search(query: options["query"], filter: options["filter"], size: options["size"])
    puts JSON.pretty_generate(res)
  end
end