lib/censys/document/has_http_response.rb in censu-0.1.6 vs lib/censys/document/has_http_response.rb in censu-0.2.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'censys/http_response' module Censys class Document module HasHTTPResponse @@ -7,10 +9,10 @@ # HTTP reponse information. # # @return [HTTPResponse] # def http_response - @http_reponse ||= HTTPResponse.new(@attributes.dig("80", "http")) + @http_response ||= HTTPResponse.new(@attributes.dig("80", "http")) end end end end