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:
authorValery Sizov <valery@gitlab.com>2017-03-01 11:25:35 +0300
committerValery Sizov <valery@gitlab.com>2017-04-11 19:27:15 +0300
commit3bc114a7c173ecf03fe5348bbf12e270dfe94a2b (patch)
treecbba979b50c942885bbf18410a662c27720b6bca /lib/bitbucket
parent3082a1195cc0939e0aa0b48a9f59dd84152ebdad (diff)
[BB Importer] Save the error trace and the whole raw document
Diffstat (limited to 'lib/bitbucket')
-rw-r--r--lib/bitbucket/representation/base.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/bitbucket/representation/base.rb b/lib/bitbucket/representation/base.rb
index 94adaacc9b5..800d5a075c6 100644
--- a/lib/bitbucket/representation/base.rb
+++ b/lib/bitbucket/representation/base.rb
@@ -1,6 +1,8 @@
module Bitbucket
module Representation
class Base
+ attr_reader :raw
+
def initialize(raw)
@raw = raw
end
@@ -8,10 +10,6 @@ module Bitbucket
def self.decorate(entries)
entries.map { |entry| new(entry)}
end
-
- private
-
- attr_reader :raw
end
end
end