lib/access/geolocation.rb in access-2.0.26 vs lib/access/geolocation.rb in access-2.0.27

- old
+ new

@@ -8,10 +8,10 @@ def self.find(options = {}) Access::Api.new.geolocation_find options end def self.process_batch(chunk) - chunk.map { |location| new(location) } + chunk.map { |geolocation| new(geolocation) } end def initialize(values) self.class.class_eval {attr_reader *values.keys } values.each do |attribute_name, attribute_value|