Sha256: 7ac513fec67392404dedbf83c54290dd4f3f3625577293aa1d07db540a630293

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 Bytes

Contents

require 'censys/http_response'

module Censys
  class Document
    module HasHTTPResponse
      #
      # HTTP reponse information.
      #
      # @return [HTTPResponse]
      #
      def http_response
        @http_reponse ||= HTTPResponse.new(@attributes.dig("80", "http"))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
censu-0.1.6 lib/censys/document/has_http_response.rb
censu-0.1.5 lib/censys/document/has_http_response.rb
censu-0.1.4 lib/censys/document/has_http_response.rb
censu-0.1.3 lib/censys/document/has_http_response.rb
censu-0.1.2 lib/censys/document/has_http_response.rb