Class: Whois::Parser::Registrar
- Inherits:
-
Object
- Object
- Whois::Parser::Registrar
- 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
-
#id ⇒ String
The current value of id.
-
#name ⇒ String
The current value of name.
-
#organization ⇒ String
The current value of organization.
-
#url ⇒ String
The current value of url.
Instance Attribute Details
#id ⇒ String
Returns the current value of id.
21 22 23 |
# File 'lib/whois/parser/registrar.rb', line 21 def id @id end |
#name ⇒ String
Returns the current value of name.
21 22 23 |
# File 'lib/whois/parser/registrar.rb', line 21 def name @name end |
#organization ⇒ String
Returns the current value of organization.
21 22 23 |
# File 'lib/whois/parser/registrar.rb', line 21 def organization @organization end |
#url ⇒ String
Returns the current value of url.
21 22 23 |
# File 'lib/whois/parser/registrar.rb', line 21 def url @url end |