mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Webhooks
This commit is contained in:
@@ -61,6 +61,20 @@ class QboController < ApplicationController
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Quickbooks Webhook Callback
|
||||||
|
def qbo_webhook
|
||||||
|
|
||||||
|
# If the body contains the event notifications parameter...
|
||||||
|
if params[:eventNotifications].present?
|
||||||
|
# Process the entities
|
||||||
|
#TODO stuff
|
||||||
|
end
|
||||||
|
|
||||||
|
# The webhook doesn't require a response but let's make sure
|
||||||
|
# we don't send anything
|
||||||
|
render :nothing => true
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
# Synchronizes the QboCustomer table with QBO
|
# Synchronizes the QboCustomer table with QBO
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user