Sha256: f8550f3079c695a65c2e2f2aba3e5fea059ca8c164e46fdd168884002455dbc5

Contents?: true

Size: 683 Bytes

Versions: 13

Compression:

Stored size: 683 Bytes

Contents

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

13 entries across 13 versions & 1 rubygems

Version Path
whois-3.4.3 lib/whois/record/part.rb
whois-3.4.2 lib/whois/record/part.rb
whois-3.4.1 lib/whois/record/part.rb
whois-3.4.0 lib/whois/record/part.rb
whois-3.3.1 lib/whois/record/part.rb
whois-3.3.0 lib/whois/record/part.rb
whois-3.2.1 lib/whois/record/part.rb
whois-3.2.0 lib/whois/record/part.rb
whois-3.1.3 lib/whois/record/part.rb
whois-3.1.2 lib/whois/record/part.rb
whois-3.1.1 lib/whois/record/part.rb
whois-3.1.0 lib/whois/record/part.rb
whois-3.0.0 lib/whois/record/part.rb