mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
4 lines
188 B
Ruby
4 lines
188 B
Ruby
json.(webhook, :id, :url, :http_method, :is_active)
|
|
json.type webhook.type
|
|
json.last_status webhook.last_status
|
|
json.create_time Time.at(webhook.created_unix).strftime("%Y-%m-%d %H:%M:%S") |