diff options
Diffstat (limited to 'lib/gitlab/audit/null_target.rb')
-rw-r--r-- | lib/gitlab/audit/null_target.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/gitlab/audit/null_target.rb b/lib/gitlab/audit/null_target.rb new file mode 100644 index 00000000000..ed3a50e9067 --- /dev/null +++ b/lib/gitlab/audit/null_target.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Gitlab + module Audit + class NullTarget + def id + nil + end + + def type + nil + end + + def details + nil + end + end + end +end |