2022-04-04 11:22:00 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module BizibleHelper
|
2023-04-23 21:23:45 +05:30
|
|
|
def bizible_enabled?(invite_email = nil)
|
|
|
|
invite_email.blank? &&
|
|
|
|
Feature.enabled?(:ecomm_instrumentation, type: :ops) &&
|
2022-04-04 11:22:00 +05:30
|
|
|
Gitlab.config.extra.has_key?('bizible') &&
|
|
|
|
Gitlab.config.extra.bizible.present? &&
|
|
|
|
Gitlab.config.extra.bizible == true
|
|
|
|
end
|
|
|
|
end
|