README.md in whois-4.0.4 vs README.md in whois-4.0.5
- old
+ new
@@ -150,11 +150,11 @@
# => true
parser.created_on
# => Fri Dec 10 00:00:00 +0100 1999
-tech = parser.technical_contact
+tech = parser.technical_contacts.first
# => #<Whois::Record::Contact>
tech.id
# => "TS7016-ITNIC"
tech.name
# => "Technical Services"
@@ -168,12 +168,12 @@
If you create a new parser, please consider releasing it to the public so that it can be included in a next version.
### Timeout
-By default, each query run though the client has a timeout value of 5 seconds. If the execution exceeds timeout limit, the client raises a `Timeout::Error` exception.
+By default, each query run though the client has a timeout value of 5 seconds. If the execution exceeds the timeout limit, the client raises a `Timeout::Error` exception.
-Of course, you can customize the timeout value setting a different value. If timeout is `nil`, the client will until the response is sent back from the server or the process is killed. Don't disable the timeout unless you really know you are doing!
+Of course, you can customize the timeout value setting a different value. If timeout is `nil`, the client will wait until the response is sent back from the server or the process is killed. Don't disable the timeout unless you really know what you are doing!
```ruby
whois = Whois::Client.new(:timeout => 10)
whois.timeout # => 10
whois.timeout = 5