mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
16 lines
369 B
Ruby
16 lines
369 B
Ruby
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
|