summaryrefslogtreecommitdiff
path: root/lib/api/entities/hook.rb
blob: d176e76b321cd1987216ab4563f9650f6ecd3eda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module API
  module Entities
    class Hook < Grape::Entity
      expose :id, :url, :created_at, :push_events, :tag_push_events, :merge_requests_events, :repository_update_events
      expose :enable_ssl_verification

      expose :alert_status
      expose :disabled_until
    end
  end
end