Sha256: 79b60453b5c604c8cc5990e9276e8c957cc6a04abf88cd12a9ddc4b04f534af0

Contents?: true

Size: 767 Bytes

Versions: 1

Compression:

Stored size: 767 Bytes

Contents

#
# = Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
#
# 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-1.2.2 lib/whois/answer/registrar.rb