file-processing-job 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/test_client.rb +1 -1
- data/lib/fpj/client.rb +1 -1
- metadata +2 -2
data/examples/test_client.rb
CHANGED
data/lib/fpj/client.rb
CHANGED
@@ -63,7 +63,7 @@ module FileProcessingJob
|
|
63
63
|
|
64
64
|
def process_file
|
65
65
|
begin
|
66
|
-
self.class.callback.new.send(:receive_file, self.data)
|
66
|
+
self.class.callback.new.send(:receive_file, self.filename, self.data)
|
67
67
|
send_data "processed #{self.filename}"
|
68
68
|
rescue
|
69
69
|
logger.error("Error processing #{self.filename}. The file can be found on the server in the 'error' directory")
|