Sha256: 9339e9867f19b309b678bf48e2bd428b29c5acf1dedf52c16325eaabdeac4261

Contents?: true

Size: 796 Bytes

Versions: 10

Compression:

Stored size: 796 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2011 Simone Carletti <weppos@weppos.net>
#++


require 'whois/record/super_struct'


module Whois
  class Record

    # 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.
    #
    # @attr [String] id
    # @attr [String] name
    # @attr [String] organization
    # @attr [String] url
    #
    class Registrar < SuperStruct.new(:id, :name, :organization, :url)
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
whois-2.2.0 lib/whois/record/registrar.rb
whois-2.1.0 lib/whois/record/registrar.rb
whois-2.0.7 lib/whois/record/registrar.rb
whois-2.0.6 lib/whois/record/registrar.rb
whois-2.0.5 lib/whois/record/registrar.rb
whois-2.0.4 lib/whois/record/registrar.rb
whois-2.0.3 lib/whois/record/registrar.rb
whois-2.0.2 lib/whois/record/registrar.rb
whois-2.0.1 lib/whois/record/registrar.rb
whois-2.0.0 lib/whois/record/registrar.rb