Sha256: 332be32ae1b0cf24e55d91815a9f301fb5ae5c7e3de68c24d4bf338e564bf596
Contents?: true
Size: 1.35 KB
Versions: 8
Compression:
Stored size: 1.35 KB
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net> #++ require 'whois/record/super_struct' module Whois class Record # Holds the details of a contact extracted from the WHOIS response. # # A contact 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] type # @attr [String] name # @attr [String] organization # @attr [String] address # @attr [String] city # @attr [String] zip # @attr [String] state # @attr [String] country # @attr [String] country_code # @attr [String] phone # @attr [String] fax # @attr [String] email # @attr [Time] created_on # @attr [Time] updated_on # class Contact < SuperStruct.new(:id, :type, :name, :organization, :address, :city, :zip, :state, :country, :country_code, :phone, :fax, :email, :created_on, :updated_on) TYPE_REGISTRANT = 1 TYPE_ADMIN = 2 TYPE_TECHNICAL = 3 end end end
Version data entries
8 entries across 8 versions & 1 rubygems