lib/lambda_punch/notifier.rb in lambda_punch-1.0.2 vs lib/lambda_punch/notifier.rb in lambda_punch-1.0.3
- old
+ new
@@ -13,9 +13,13 @@
def request_id
File.read(FILE)
end
+ def tmp_file
+ FILE
+ end
+
end
def initialize
@notifier = INotify::Notifier.new
File.open(FILE, 'w') { |f| f.write('') } unless File.exist?(FILE)