2021-03-11 19:13:27 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Members
|
|
|
|
class InviteEmailExperiment < ApplicationExperiment
|
|
|
|
exclude { context.actor.created_by.blank? }
|
|
|
|
exclude { context.actor.created_by.avatar_url.nil? }
|
|
|
|
|
|
|
|
INVITE_TYPE = 'initial_email'
|
|
|
|
|
2021-04-17 20:07:23 +05:30
|
|
|
def resolve_variant_name
|
|
|
|
Strategy::RoundRobin.new(feature_flag_name, %i[avatar permission_info control]).execute
|
2021-03-11 19:13:27 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|