summaryrefslogtreecommitdiff
path: root/app/models/user_callout_enums.rb
blob: 54b0d2ce831f80a69fa43fec2c56a23addd7a166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module UserCalloutEnums
  # Returns the `Hash` to use for the `feature_name` enum in the `UserCallout`
  # model.
  #
  # This method is separate from the `UserCallout` model so that it can be
  # extended by EE.
  def self.feature_names
    {
      gke_cluster_integration: 1,
      gcp_signup_offer: 2,
      cluster_security_warning: 3,
      suggest_popover_dismissed: 4
    }
  end
end