Class: WhoisXMLAPI2::Request
- Inherits:
-
Object
- Object
- WhoisXMLAPI2::Request
- Defined in:
- lib/whoisxmlapi2/request.rb
Defined Under Namespace
Classes: V1
Class Method Summary collapse
Class Method Details
.go(domain) ⇒ Object
4 5 6 7 8 |
# File 'lib/whoisxmlapi2/request.rb', line 4 def go(domain) return fixture_value if config.mock_out_for_testing JSON.parse(open(config.url + params(domain)).read) end |