Sha256: 219d7de85ce85892b9c2e5130e6f7adc5816c02cf8c0bbe2542ee4b84bec97e5

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-2011 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.2.0 lib/whois/record/part.rb
whois-2.1.0 lib/whois/record/part.rb
whois-2.0.7 lib/whois/record/part.rb
whois-2.0.6 lib/whois/record/part.rb
whois-2.0.5 lib/whois/record/part.rb
whois-2.0.4 lib/whois/record/part.rb
whois-2.0.3 lib/whois/record/part.rb
whois-2.0.2 lib/whois/record/part.rb
whois-2.0.1 lib/whois/record/part.rb
whois-2.0.0 lib/whois/record/part.rb