From 95776acb5113d3a44044e74c06b1dbf9df0e1ec8 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 6 May 2017 06:03:19 +0200 Subject: minor esthetic correction --- lib/stif/codif_line_synchronization.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/stif/codif_line_synchronization.rb') diff --git a/lib/stif/codif_line_synchronization.rb b/lib/stif/codif_line_synchronization.rb index feb313f45..2bb4d8778 100644 --- a/lib/stif/codif_line_synchronization.rb +++ b/lib/stif/codif_line_synchronization.rb @@ -11,18 +11,18 @@ module Stif def processed_counts { - imported: self.imported_count, - updated: self.updated_count, - deleted: self.deleted_count + imported: imported_count, + updated: updated_count, + deleted: deleted_count } end def increment_counts prop_name, value - self.send("#{prop_name}=", self.send(prop_name) + value) + send("#{prop_name}=", self.send(prop_name) + value) end def synchronize - self.reset_counts + reset_counts start_time = Process.clock_gettime(Process::CLOCK_MONOTONIC, :second) # Fetch Codifline data client = Codifligne::API.new -- cgit v1.2.3