Sha256: 93bdd7e12e75055fbecbb3817c1fd44faad7e7c6f88b33c7ac11fcad67b4b4f1

Contents?: true

Size: 465 Bytes

Versions: 9

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true

object @webhook

extends 'api/v2/webhooks/main'

attributes :target_url,
           :event,
           :http_method,
           :http_content_type,
           :enabled,
           :verify_ssl,
           :proxy_authorization,
           :http_headers,
           :ssl_ca_certs,
           :user

node :password_set do |webhook|
  webhook.password.present?
end

child :webhook_template do
  extends 'api/v2/webhook_templates/base'
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_webhooks-4.0.0 app/views/api/v2/webhooks/show.json.rabl
foreman_webhooks-3.2.3 app/views/api/v2/webhooks/show.json.rabl
foreman_webhooks-3.2.2 app/views/api/v2/webhooks/show.json.rabl
foreman_webhooks-3.1.1 app/views/api/v2/webhooks/show.json.rabl
foreman_webhooks-3.2.1 app/views/api/v2/webhooks/show.json.rabl
foreman_webhooks-3.2.0 app/views/api/v2/webhooks/show.json.rabl
foreman_webhooks-3.1.0 app/views/api/v2/webhooks/show.json.rabl
foreman_webhooks-3.0.5 app/views/api/v2/webhooks/show.json.rabl
foreman_webhooks-2.0.3 app/views/api/v2/webhooks/show.json.rabl