gitlab-org--gitlab-foss/app/models/concerns/feature_gate.rb
2018-08-07 00:37:36 -07:00

9 lines
139 B
Ruby

# frozen_string_literal: true
module FeatureGate
def flipper_id
return nil if new_record?
"#{self.class.name}:#{id}"
end
end