Module: WhoisRb
- Defined in:
- lib/whois_rb.rb,
lib/whois_rb/http.rb,
lib/whois_rb/version.rb
Defined Under Namespace
Modules: Http
Classes: Error
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Method Summary
collapse
Class Method Details
.check(domain, timeout = 10) ⇒ Object
8
9
10
|
# File 'lib/whois_rb.rb', line 8
def check(domain, timeout=10)
WhoisRb::Http.get(domain, timeout)
end
|
.query(domain, timeout = 10) ⇒ Object
12
13
14
|
# File 'lib/whois_rb.rb', line 12
def query(domain, timeout=10)
WhoisRb::Http.get(domain, timeout, 'query')
end
|