Update qbo.rb

This commit is contained in:
2016-08-01 16:39:58 -04:00
committed by GitHub
parent 443d6fc47c
commit 3e85216e66

View File

@@ -51,4 +51,8 @@ class Qbo < ActiveRecord::Base
qbo.last_sync = DateTime.now
qbo.save
end
def self.last_sync
format_time(Qbo.first.last_sync)
end
end