Module: OneTrustHelper

Defined in:
app/helpers/one_trust_helper.rb

Instance Method Summary collapse

Instance Method Details

#one_trust_enabled?Boolean

Returns:

  • (Boolean)


4
5
6
7
8
# File 'app/helpers/one_trust_helper.rb', line 4

def one_trust_enabled?
  Feature.enabled?(:ecomm_instrumentation, type: :ops) &&
    Gitlab.config.extra.has_key?('one_trust_id') &&
    Gitlab.config.extra.one_trust_id.present?
end