Sha256: 9f62a8a7a59527b0482364354d30dbc2e5c4e673473ca25d5bc666df7273aaff

Contents?: true

Size: 748 Bytes

Versions: 1

Compression:

Stored size: 748 Bytes

Contents

#
# = Ruby Whois
#
# An intelligent pure Ruby WHOIS client.
#
#
# Category::    Net
# Package::     Whois
# Author::      Simone Carletti <weppos@weppos.net>
# License::     MIT License
#
#--
#
#++


require 'whois/answer/super_struct'


module Whois
  class Answer

    #
    # = Registrar
    #
    # Holds the details of the Registrar extracted from the WHOIS answer.
    #
    # A Registrar is composed by the following attributes:
    #
    # <tt>:id</tt>::
    # <tt>:name</tt>::
    # <tt>:organization</tt>::
    # <tt>:url</tt>::
    #
    # Be aware that every WHOIS server can return a different number of details
    # or no details at all.
    #
    class Registrar < SuperStruct.new(:id, :name, :organization, :url)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
whois-0.8.0 lib/whois/answer/registrar.rb