gitlab-org--gitlab-foss/lib/gitlab/usage_data_counters/snippet_counter.rb
Mark Chao 4a6f959ab8 Record usage on snippet usage
Generalize wiki page counter for other page types to extend to.
2019-08-08 13:18:57 +00:00

8 lines
178 B
Ruby

# frozen_string_literal: true
module Gitlab::UsageDataCounters
class SnippetCounter < BaseCounter
KNOWN_EVENTS = %w[create update].freeze
PREFIX = 'snippet'
end
end