lib/geocoder/results/base.rb in geocoder-1.1.1 vs lib/geocoder/results/base.rb in geocoder-1.1.2
- old
+ new
@@ -1,14 +1,15 @@
module Geocoder
module Result
class Base
- attr_accessor :data
+ attr_accessor :data, :cache_hit
##
# Takes a hash of result data from a parsed Google result document.
#
def initialize(data)
@data = data
+ @cache_hit = nil
end
##
# A string in the given format.
#