mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 10:29:35 +08:00
18 lines
370 B
Ruby
18 lines
370 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
|