2018-12-13 13:39:08 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
module Bitbucket
|
|
|
|
module Representation
|
|
|
|
class Base
|
|
|
|
attr_reader :raw
|
|
|
|
|
|
|
|
def initialize(raw)
|
|
|
|
@raw = raw
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.decorate(entries)
|
2022-08-27 11:52:29 +05:30
|
|
|
entries.map { |entry| new(entry) }
|
2017-08-17 22:00:37 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|