lib/graticule/geocoder/bogus.rb in graticule-1.0.0.pre2 vs lib/graticule/geocoder/bogus.rb in graticule-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
module Graticule #:nodoc:
module Geocoder #:nodoc:
# Bogus geocoder that can be used for test purposes
class Bogus
# A queue of canned responses
- class_inheritable_accessor :responses
+ class_attribute :responses
self.responses = []
# A default location to use if the responses queue is empty
class_inheritable_accessor :default