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/github_import/representation/diff_note.rb')
-rw-r--r--lib/gitlab/github_import/representation/diff_note.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/github_import/representation/diff_note.rb b/lib/gitlab/github_import/representation/diff_note.rb
index e8e515d1f87..f678fe38688 100644
--- a/lib/gitlab/github_import/representation/diff_note.rb
+++ b/lib/gitlab/github_import/representation/diff_note.rb
@@ -4,8 +4,7 @@ module Gitlab
module GithubImport
module Representation
class DiffNote
- include ToHash
- include ExposeAttribute
+ include Representable
NOTEABLE_ID_REGEX = %r{/pull/(?<iid>\d+)}i
@@ -134,9 +133,6 @@ module Gitlab
private
- # Required by ExposeAttribute
- attr_reader :attributes
-
def diff_line_params
if addition?
{ new_line: end_line, old_line: nil }