diff options
Diffstat (limited to 'app/experiments/members/invite_email_experiment.rb')
-rw-r--r-- | app/experiments/members/invite_email_experiment.rb | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/app/experiments/members/invite_email_experiment.rb b/app/experiments/members/invite_email_experiment.rb index 58703fd505d..4a03ebb7726 100644 --- a/app/experiments/members/invite_email_experiment.rb +++ b/app/experiments/members/invite_email_experiment.rb @@ -7,16 +7,12 @@ module Members INVITE_TYPE = 'initial_email' - private + def rollout_strategy + :round_robin + end - def resolve_variant_name - # we are overriding here so that when we add another experiment - # we can merely add that variant and check of feature flag here - if Feature.enabled?(feature_flag_name, self, type: :experiment, default_enabled: :yaml) - :avatar - else - nil # :control - end + def variants + %i[avatar permission_info control] end end end |