Class: Whois::Parser::Registrar

Inherits:
Object
  • Object
show all
Defined in:
lib/whois/parser/registrar.rb

Overview

Holds the details of the Registrar extracted from the WHOIS response.

A registrar is composed by the several attributes, accessible through corresponding getter / setter methods.

Please note that a response is not required to provide all the attributes. When an attribute is not available, the corresponding value is set to nil.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

Returns the current value of id.

Returns:

  • (String)

    the current value of id



21
22
23
# File 'lib/whois/parser/registrar.rb', line 21

def id
  @id
end

#nameString

Returns the current value of name.

Returns:

  • (String)

    the current value of name



21
22
23
# File 'lib/whois/parser/registrar.rb', line 21

def name
  @name
end

#organizationString

Returns the current value of organization.

Returns:

  • (String)

    the current value of organization



21
22
23
# File 'lib/whois/parser/registrar.rb', line 21

def organization
  @organization
end

#urlString

Returns the current value of url.

Returns:

  • (String)

    the current value of url



21
22
23
# File 'lib/whois/parser/registrar.rb', line 21

def url
  @url
end