mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-04-02 08:21:57 -04:00
Added comment
This commit is contained in:
@@ -13,6 +13,7 @@ class Employee < ActiveRecord::Base
|
||||
has_many :users
|
||||
validates_presence_of :id, :name
|
||||
|
||||
# Sync all employees, typically triggered by a scheduled task or manual sync request
|
||||
def self.sync
|
||||
EmployeeSyncJob.perform_later(full_sync: true)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user