Class: Crtsh::API

Inherits:
Object
  • Object
show all
Defined in:
lib/crtsh/api.rb

Constant Summary collapse

HOST =
"crt.sh"
BASE_URL =
"https://#{HOST}"

Instance Method Summary collapse

Instance Method Details

#search(query) ⇒ Object



12
13
14
# File 'lib/crtsh/api.rb', line 12

def search(query)
  get("/", q: query, output: "json") { |json| json }
end