lib/loqate/mappers/error_mapper.rb in loqate-0.10.2 vs lib/loqate/mappers/error_mapper.rb in loqate-0.10.3

- old
+ new

@@ -23,10 +23,10 @@ # def map_one(item) attributes = item.transform_keys { |attribute| Util.underscore(attribute) } attributes[:id] = attributes.delete(:error).to_i - Loqate::Error.new(attributes) + Loqate::Error.new(**attributes) end end end end