Sha256: e879a3d5a6e1ce8bb87008992682583cbf7ec5f01487944daf13db524a76fdd3

Contents?: true

Size: 796 Bytes

Versions: 3

Compression:

Stored size: 796 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2015 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

3 entries across 3 versions & 1 rubygems

Version Path
whois-3.6.5 lib/whois/record/registrar.rb
whois-3.6.4 lib/whois/record/registrar.rb
whois-3.6.3 lib/whois/record/registrar.rb