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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/tracking/destinations/base.rb')
-rw-r--r--lib/gitlab/tracking/destinations/base.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/gitlab/tracking/destinations/base.rb b/lib/gitlab/tracking/destinations/base.rb
new file mode 100644
index 00000000000..00e92e0bd57
--- /dev/null
+++ b/lib/gitlab/tracking/destinations/base.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module Gitlab
+ module Tracking
+ module Destinations
+ class Base
+ def event(category, action, label: nil, property: nil, value: nil, context: nil)
+ raise NotImplementedError, "#{self} does not implement #{__method__}"
+ end
+ end
+ end
+ end
+end