FEATURE: Webhooks.

This commit is contained in:
Erick Guan
2016-06-15 19:49:57 +02:00
committed by Guo Xiang Tan
parent 1f70fc9e11
commit 9ce61b4586
58 changed files with 1582 additions and 38 deletions

View File

@ -0,0 +1,17 @@
class AdminWebHookEventSerializer < ApplicationSerializer
attributes :id,
:web_hook_id,
:request_url,
:headers,
:payload,
:status,
:response_headers,
:response_body,
:duration,
:created_at
def request_url
object.web_hook.payload_url
end
end