diff options
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", |