<%= @webhook.name %>
-<%= @webhook.name %>
+ <%= @webhook.url %> +Secret
+<%= @webhook.signing_secret %>
+
+ We'll send a X-Webhook-Signature header with each request.
+ You can generate a HMAC using SHA256 of the request body with this secret
+ to verify that the request came from us.
+
Secret
-- <%= @webhook.signing_secret %> -
-- We'll sent a `X-Webhook-Signature` header with each request. - You can generate a HMAC using SHA256 of the request body with this secret - to verify that the request came from us. -
-Subscribed to
+Subscribed to
<% if @webhook.subscribed_actions.empty? %> -This Webhook doesn't subscribe to any actions. It will never trigger.
+This Webhook isn't subscribed to any events. It will never trigger.
<% else %> --
+
- <%= action.humanize %> <% end %> @@ -57,15 +53,14 @@ <% end %>
-
<% @webhook.subscribed_actions.each do |action| %>
Deliveries
+Deliveries
<% if @webhook.deliveries.empty? %> -This Webhook hasn't been triggered yet
+This Webhook hasn't been triggered yet
<% else %> --
+
-
<%= render partial: "webhooks/delivery", collection: @webhook.deliveries.ordered.limit(20), as: :delivery %>