lib/censys/document/has_location.rb in censu-0.1.4 vs lib/censys/document/has_location.rb in censu-0.1.5

- old
+ new

@@ -7,10 +7,10 @@ # Location information. # # @return [Location] # def location - @location ||= Location.new(@attributes['location']) + @location ||= Location.new(@attributes['location'] || @attributes) end end end end