summaryrefslogtreecommitdiff
path: root/app/models/concerns/feature_gate.rb
blob: bb095f113e22a5f691bae320e9014f175da3ecc8 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module FeatureGate
  def flipper_id
    return if new_record?

    "#{self.class.name}:#{id}"
  end
end