Update init.rb

This commit is contained in:
2017-01-29 19:16:05 -05:00
committed by GitHub
parent 644899c0b5
commit b022d17fc0

View File

@@ -37,6 +37,10 @@ Redmine::Plugin.register :redmine_qbo do
author_url 'http://rickbarrette.org'
settings :default => {'empty' => true}, :partial => 'qbo/settings'
every :sunday do # Many shortcuts available: :hour, :day, :month, :year, :reboot
runner "EmailWorker.perform_async"
end
# Add safe attributes
Issue.safe_attributes 'customer_id'
Issue.safe_attributes 'qbo_item_id'