lib/access/info.rb in access-2.0.25 vs lib/access/info.rb in access-2.0.26
- old
+ new
@@ -4,9 +4,10 @@
def initialize(values)
self.class.class_eval {attr_reader *values.keys }
values.each do |attribute_name, attribute_value|
self.instance_variable_set("@#{attribute_name}", attribute_value)
end
+ @geolocation = Access::Geolocation.new(@geolocation) if @geolocation
end
end
end