Sha256: 94288bf9b7e4d2480ae16e4b62c514a0a4028beacc5272004f7bf0c62b27d7ed

Contents?: true

Size: 573 Bytes

Versions: 6

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

module ForemanWebhooks
  module Types
    class Webhook < ::Types::BaseObject
      model_class ::Webhook

      description 'A Webhook'

      global_id_field :id
      timestamps
      field :name, String
      field :events, [String]
      field :target_url, String
      field :http_method, String
      field :http_content_type, String
      field :enabled, Boolean
      field :verify_ssl, Boolean
      field :ssl_ca_certs, String
      field :user, String

      belongs_to :webhook_template, Types::WebhookTemplate
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_webhooks-4.0.1 app/graphql/foreman_webhooks/types/webhook.rb
foreman_webhooks-4.0.0 app/graphql/foreman_webhooks/types/webhook.rb
foreman_webhooks-3.2.3 app/graphql/foreman_webhooks/types/webhook.rb
foreman_webhooks-3.2.2 app/graphql/foreman_webhooks/types/webhook.rb
foreman_webhooks-3.2.1 app/graphql/foreman_webhooks/types/webhook.rb
foreman_webhooks-3.2.0 app/graphql/foreman_webhooks/types/webhook.rb