Sha256: 6933e0ef094902690b0ee85403cdc64d79432b16ca839f18513c8d9ed4232a65

Contents?: true

Size: 683 Bytes

Versions: 10

Compression:

Stored size: 683 Bytes

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

    # A single {Whois::Record} fragment. For instance,
    # in case of *thin server*, a {Whois::Record} can be composed by
    # one or more parts corresponding to all responses
    # returned by the WHOIS servers.
    #
    # A part is composed by a +body+ and a +host+.
    #
    # @attr [String] body The body containing the WHOIS output.
    # @attr [String] host The host which returned the body.
    #
    class Part < SuperStruct.new(:body, :host)
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
whois-2.7.0 lib/whois/record/part.rb
whois-2.6.4 lib/whois/record/part.rb
whois-2.6.3 lib/whois/record/part.rb
whois-2.6.2 lib/whois/record/part.rb
whois-2.6.1 lib/whois/record/part.rb
whois-2.6.0 lib/whois/record/part.rb
whois-2.5.1 lib/whois/record/part.rb
whois-2.5.0 lib/whois/record/part.rb
whois-2.4.0 lib/whois/record/part.rb
whois-2.3.0 lib/whois/record/part.rb