diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-23 00:06:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-23 00:06:42 +0300 |
commit | d5e0416021aa6de53b89f9d415f368226d9326e5 (patch) | |
tree | 9a3e3bd6d1aac10cfde7f0079f784a489491a48b /lib | |
parent | 24fe7aa2aa199b2aace0cfec26d744f51d7e2167 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/settings.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb index c90ba0c9b5d..ffa0472bdbb 100644 --- a/lib/api/settings.rb +++ b/lib/api/settings.rb @@ -140,6 +140,10 @@ module API optional :snowplow_cookie_domain, type: String, desc: 'The Snowplow cookie domain' optional :snowplow_site_id, type: String, desc: 'The Snowplow site name / application ic' end + optional :pendo_enabled, type: Grape::API::Boolean, desc: 'Enable Pendo tracking' + given pendo_enabled: ->(val) { val } do + requires :pendo_url, type: String, desc: 'The Pendo url endpoint' + end ApplicationSetting::SUPPORTED_KEY_TYPES.each do |type| optional :"#{type}_key_restriction", |