Files

Class/Module Index [+]

Quicksearch

Whois::Record::Parser::WhoisDenicDe

Parser for the whois.denic.de server.

@author Simone Carletti <weppos@weppos.net> @author Aaron Mueller <mail@aaron-mueller.de>

Public Instance Methods

invalid?() click to toggle source

NEWPROPERTY

# File lib/whois/record/parser/whois.denic.de.rb, line 145
def invalid?
  cached_properties_fetch :invalid? do
    node("Status") == "invalid" ||
    response_error?
  end
end
response_error?() click to toggle source
# File lib/whois/record/parser/whois.denic.de.rb, line 130
def response_error?
  !!node("response:error")
end
response_throttled?() click to toggle source

Checks whether the response has been throttled.

@return [Boolean]

@example

% Error: 55000000002 Connection refused; access control limit reached.
# File lib/whois/record/parser/whois.denic.de.rb, line 126
def response_throttled?
  !!node("response:throttled")
end
version() click to toggle source

NEWPROPERTY

# File lib/whois/record/parser/whois.denic.de.rb, line 136
def version
  cached_properties_fetch :version do
    if content_for_scanner =~ /^% Version: (.+)$/
      $1
    end
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.