System Hook: implemented
This commit is contained in:
parent
c38578428b
commit
f5908cef19
9 changed files with 100 additions and 10 deletions
|
@ -13,6 +13,7 @@ class WebHook < ActiveRecord::Base
|
|||
def execute(data)
|
||||
WebHook.post(url, body: data.to_json, headers: { "Content-Type" => "application/json" })
|
||||
end
|
||||
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue