System Hooks: CRUD has done
This commit is contained in:
parent
65dc68b35c
commit
c38578428b
9 changed files with 141 additions and 77 deletions
|
@ -12,8 +12,6 @@ class WebHook < ActiveRecord::Base
|
|||
|
||||
def execute(data)
|
||||
WebHook.post(url, body: data.to_json, headers: { "Content-Type" => "application/json" })
|
||||
rescue
|
||||
# There was a problem calling this web hook, let's forget about it.
|
||||
end
|
||||
end
|
||||
# == Schema Information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue