Welcome to mirror list, hosted at ThFree Co, Russian Federation.

static_site_editor_counter.rb « usage_data_counters « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8886a106da865ee6de641ef57cba11a1de8adfaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Gitlab
  module UsageDataCounters
    class StaticSiteEditorCounter < BaseCounter
      KNOWN_EVENTS = %w[views].freeze
      PREFIX = 'static_site_editor'

      class << self
        def increment_views_count
          count(:views)
        end
      end
    end
  end
end